Releases: TinosNitso/AutoCove-Plugin
Releases · TinosNitso/AutoCove-Plugin
AutoCove v1.1.3 for Electron Cash
v1.1.3 notes:
- Bugfix for when clicking in btwn 2 lines causes the horizontalScrollBar to jump to end-of-long-line.
- Undo & Redo (with history and colors)! A "phantom" PlainTextEdit is used to track each step. EditBlocks aren't perfect yet (e.g. pressing BackSpace twice normally should be undone in 1 step, not 2).
- Improved Align # (e.g. for random text).
- Ctrl+ScrollWheel, Ctrl+S, Ctrl+±, Ctrl+Z, Ctrl+Shift+Z shortcuts enabled.
- Bugfix for Esc key killing plugin's UI.
- Daemon CLI updated to accept filename inputs (
.artifact
&.txn
). - Bugfix for text drag & drop (e.g. from hex to Script box).
- Bugfix for black context menus.
- New pReturn... covenant has 12% lower fee by shortening Preimage by 68B, & using ALTSTACK. Adding sighash
0xc3
in-Script is also more efficient (sighash should be checked). ANUM2BIN
not at line-end. - Hex-box vertically resizeable, using QSplitter. Auto-resizes.
- Full Δ List in Combo Box, to verify each Δ. (Native Introspection OpCodes unfortunately appear in previous EC versions.)
- SHA256 Checksum 00000037972912870f383e7fce12eb6b4d29e68515bed81f7a7138b1a814fbeb (19 kH/s · 28 mins). Update via re-install requires restarting EC.
AutoCove v1.1.2 for Electron Cash
v1.1.2 notes:
- Bugfixes for the Δ of ROLL & LESSTHANOREQUAL (both -1).
- ΣΔ decoding! It sums up the Δ, not counting the last ΣΔ.
- Align # button! Works with asm, etc.
- Ln, Col coords label! (Top-right.)
- Command line interface! First start the EC GUI with any wallet, & AutoCove installed. Then cd to EC & enter
./Electron-Cash daemon AutoCove
to see instructions. Almost all options available (B&W, hex/asm, 1Line, etc). The CLI doesn't officially count as "Command-line Integration" because it only uses@daemon_command
to remote-control the GUI, which controls all default settings. Only the last sigscript is written to HTML, since a single TXID could create >100 Scripts. If there's interest a future version could specify Input#. Every HTML command clears decoder memory. The HTML output could be appended to a server's website interface (after box, etc). It might also be possible for one plugin to command another one using the daemon, but without a system command. Linux usage is similar but looks more like./Electron-Cash-4.2.6-x86_64.AppImage daemon AutoCove TXID /home/Username/Desktop/Test.html black align#
, etc. I couldn't get macOS terminal permission to launch./Applications/Electron-Cash.app
(zsh: permission denied
). Safari on Catalina might have trouble displaying ΣΔ. - Added ±Δ to OpCodes List. e.g. all unary Introspection codes are +0Δ.
- Courier New font has wider compatibility than Consolas.
- SHA256 Checksum 000000dd4a88643037b15d593201ee7436b1e2bc1be172af03d48583fa797991 (23 kH/s · 5 mins). Update via reinstall requires restarting EC.
AutoCove v1.1.1 for Electron Cash
v1.1.1 notes:
- New
pReturn...
covenant has up to 2% fee reduction by placing CODESEPARATOR just before CHECKSIG @ Script end (<Nonce>DROP
@ Start). Decoder endlAfter<Nonce>DROP
. - Save button for HTML! (Full color + B&W background.) Examples incl. in release, with 23x compression using
xztar
. - Bugfix for drag & drop in Linux.
- Multi-file drag & drop. Decode lots of artifacts &/or txns! More elegant json.loads code.
- <...> input now Python-evaluates ... e.g.
<2-3>==<-1>
→4f
, etc.<±0b...>
,<±0o...>
&<±0x...>
too! - bin, oct & hex conversion! e.g. can decode directly to octal.
- No font combo-box in macOS (Consolas didn't work).
- SHA256 Checksum 0000000f040262fd608ffa7b8877adaee2b700a671d134588933ec8f7902b775 (23 kH/s · 36 mins). Update via re-install requires restarting EC.
AutoCove v1.1.0 for Electron Cash
v1.1.0 notes:
<dec>
input. e.g. can copy paste from a CHIP. A future update should enable <0x...> & <0o...>.<dec>
convert any Script using the(hex, asm, <dec>)
combo-box. Can ID special <#>s.- Drag & drop for .txn & CashScript .artifact files. I didn't bother with an 'Open' file button, and it's only 1 file at a time, and .artifact not working on Linux.
- New pReturn... Script reduces its fee by 18% using a CODESEPARATOR.
- No more exact Script duplicates in the combo-box.
- 1 line button to condense any Script (with LineWrap). With asm & OP_CODES, it's identical to CashScript artifact bytecode.
- CashAddr toggle connected.
- Font combo-box (Default vs Consolas PointSize(11)). Unfortunately Consolas isn't working on macOS.
- Lighter (blander) colors on black, aiming for equivalent clarity between B&W backgrounds (from a distance). Unfortunately not even gray is as clear on a black background!
- Bugfix for when choosing asm, switches to 'New'. So now it's quick to scroll through sigscripts, in asm or
<dec>
form. - Bugfix for when word '00' vanishes when converting to asm. More generally a lone '77' converts to 'NIP' instead of vanishing.
- SHA256 Checksum 000000d05ad1b70931563be4030fa3a9d6755787b081e8afee3e80df200a7f44 (25 kH/s · 31 mins). Updating via re-install requires restarting EC.
AutoCove v1.0.9 for Electron Cash
v1.0.9 notes:
- Bugfix for multi-word single-line whose leading word is hex, like 00 NIP (v1.0.8 ignored everything after the 00).
- URL input works the same as the TXID it contains. Will P2SH decode the 1st TXID which appears in .split('/').
- B&W toggle (check-box). One wallet can have black background, & another white.
- Appended size of each sigscript data push. Can discern Schnorr (<70B) from ECDSA (
>usually ≥70B) sigs, & check if push is getting close to 520B limit. - Instant switching btwn Scripts in combo-box whenever they're from decoder memory. e.g. can quickly scroll through 121 2of3 inputs in this 89 kBCH txn.
- Example TXIDs & Scripts shown by default.
- Adjusted purple on black to be a tiny bit brighter (in red). So it's like a mix between purple and magenta (adjusting colors reduces their purity). I've also mixed orange with yellow. On black: brown mixes with olive & sky-blue with cyan.
- Combo-box instant highlight-activation for EC-v3.6.6 (SLP Ed.).
- SHA256 Checksum 0000000a30508dceb6f214074e7cce209bac670ca5d29c139dfc35202d468ce6 (31 kH/s · 8 mins). Update via re-install requires restarting EC.
AutoCove v1.0.8 for Electron Cash
v1.0.8 notes:
- Bugfix for op counts: no longer count values ≤0x60. None of the Scripts I've seen exceed 201 ops, after all!
- Δ decoding. I've labelled the change in stack depth of each line Δ, except when there's an IFDUP or CHECKMULTISIG. Auto-comments still unaligned.
- Empty sigscript data-push now shown as OP_0 to be consistent with Blockchain.com, & may be less confusing.
- Font won't accidentally change anymore, due to copy-pasting TXIDs etc.
- Space & tab allowed after TXID, TX or Script. v1.0.7 didn't allow a space-bar after the TXID. PUSHDATAs now go on the same line as their data, to simplify Δ.
- Dark theme color changes: stronger blue for constants, darkMagenta a bit lighter. Still no B&W toggle.
- Instant switching between Scripts which have the same name in the combo-box. e.g. can scroll through multi-sigs in this TX.
- "#No P2SH input..." message for when TXID or TX has no such input.
- SHA256 Checksum 000000d74f7b1353ede9c99828411ca3a137489c022cf7f41d299e8b5627cadd (34 kH/s · 4 mins). Update via re-install requires restarting EC.
AutoCove v1.0.7 for Electron Cash
v1.0.7 notes:
- Bugfix for when asm+OP_CODES setting converts 011N into OP_1N (oops).
- Bugfix for auto-decode of TX with a sigscript containing an OP_N (instead of data) push. Improved auto-comment.
- Op & B counts for every line of auto-decode! This helps check a big Script like Mecenas never goes over the 201 ops limit. A future version should also count changes in stack depth, but this update is primarily bugfixes & correction to v1.0.6.
- darkMagenta & brown switched around.
- In dark theme, lighter light blue for constants. Also, quarter-gray background switched with black.
- TXID & other hex input is now allowed to have a tab after it (& '\n' too). Double-clicking a TXID in notepad selects the tab after it.
- macOS highlighting slightly lighter this time (an eighth difference, but still a quarter difference on Windows). Dark theme isn't available for Catalina, so I've never tested that on macOS. I'm starting to prefer the dark theme, but EC itself needs an update since it's got some blue text on black background, & some white on bright green, which is nearly unreadable.
- SHA256 Checksum: 000000928f656c2436c9d18f0f193f3944e9c90b7bb78813cf1591c91e5c06d4 (35 kH/s · 2 mins). Updating via re-install requires restarting EC.
AutoCove v1.0.6 for Electron Cash
v1.0.6 notes:
- asm stripping (instant via combo-box). It works with PUSHDATA OpCodes, and highlighting. OpCodes 10-16 are given a leading 'OP_'. It's some tricky code! e.g. Here is the RefreshTimer.cash CashScript bytecode.
- OpCount next to ByteCount. e.g. Mecenas has 228 ops, but only <201 ever execute.
- New v1.0.6 covenant supports both P2PKH & P2SH (3 or 4 data pushes ≤75B, ≤252B sigscript) returns. This enables VanityTXID address compatibility, so that sending TXID may be vanitized (but a miner malleating a data-push past 75B is a vulnerability).
- 0x & 0X hex input now accepted, but only for decoder, raw TX & TXID.
- Decoding whole txns now includes the whole scriptSig of each input with data-pushes as comments (1/line). Sort of like Blockchain.com. Unfortunately the SLP Ed. causes a bug when OP_0 is a data-push (as is common with multisig Scripts), but next update should fix it.
- TXID lookup if user pastes it instead of the txn. A neat trick is to line up lots of TXID examples and have the EC network fetch each successful stack.
- Byte/s following a PUSHDATA are now gray-blue, instead of blue.
- PUSHDATA4 added to Disabled list. BCH disabled it as part of a malleability fix, I think.
- Selection & highlighting maintained as spells are changed between CODES & OP_CODES etc. Tracking is ok, but for multiple words the selection doesn't change size.
- Dark theme fully supported! Keeping colors consistent is tricky. A future version could enable live toggling between white & dark. On MX Linux the combo-boxes are strange, but still work, in the dark theme.
- macOS highlighting now darker, but it turned out too dark!
- Bugfix so that multiple wallets each have their own auto-decoder memory (combo-box).
- 21 bytes/line max target for auto-decoder, instead of 16 words/line. e.g. HASH160 requires (1+20)B. BIN2NUM no longer ends lines. Oh & indents are 8 spaces.
- New tabIcon based on a public-domain WikiMedia flag icon. Still not animated.
- SHA256 Checksum: 000000b45c129df3950971cf14608568ac8cf8bf853e4b09dde0900dda1aca72 (36 kH/s · 12 mins) Update via re-install requires restarting EC.
AutoCove v1.0.5 for Electron Cash
v1.0.5 notes:
- All OpCodes now supported. Correct decoding & blue coloring for PUSHDATA2 & PUSHDATA4. REVERSEBYTES included as Crypto (Qt.magenta). It had its own CHIP & I've never seen it used, so I missed it in v1.0.4. (Edit: the byte/s following a PUSHDATA should probably be darkBlue, not blue. An issue for the next version!)
- codes (Pythonic-style) & op_codes now selectable, as well as CODES, OP_CODES etc.
- Highlight color now set to reduce Selection HSL darkness(=255-L) by 25%. Unfortunately 25% mightn't be enough on macOS, due to the pale blue.
- Bugfix for EC-v3.6.6. Unfortunately v1.0.4 broke backwards compatibility without me realizing, due to instant combo-box activation. SLP Ed. now supported.
- Bugfix for auto-decode, when unable to.
- SHA256 checksum 00000000b514a883d6f742eb82c0585a695c021fc8ca7f99e9d8f713e3c1fadb (44 kH/s · 10 mins). Luckiest hash yet! Updating via reinstall requires restarting EC.
AutoCove v1.0.4 for Electron Cash
v1.0.4 notes:
- OP_CODES, CODES, Codes & Op_Codes combo-box, with highlighted activation!
- Auto-decodes now saved into a combo-box, with 'Clear all...' item.
- Bugfix for when sender's txn is exactly size 255B.
- Highlighting is now a slightly different color. Unfortunately the macOS shade I chose is too light - will be fixed next time.
- OpCodes list display improved, with purple for Native Introspection. darkCyan was a tiny bit too close to darkGreen, so Locktime can be darkYellow & Reserved words brown (dark orange). Lines broken up into nullary, unary, binary & ternary etc.
- '//' comments now enabled.
- Bugfix for auto-decode when user holds in delete.
- Users can now copy-paste whole raw txns and the decoder will store all P2SH Scripts. Another decoder is at imaginary.cash.
- BOOLAND now ends lines (auto-decode).
- Decoding in-Script data pushes up to 255B size now supported (instead of just 0x4b).
- Thread.isAlive renamed to Thread.is_alive, to resolve Issue #1. I still haven't built EC itself from source, though. Apparently builds are deterministic.
- Description moved from its own box to Script comments. Improved TabIcon.
- preturn Script which is only 108B. Malleability was fixed years ago.
- SHA256 Checksum 0000001e9dba81c3416e191153644daed60081aacf24f226055db613f0abb4f7 (49 kH/s · 1min). EC needs to be restarted when updating via re-install.