Releases: TinosNitso/AutoCove-Plugin
AutoCove v1.0.3 for Electron Cash
v1.0.3 notes:
- Hex decoder! Copy paste any script hex into the Script box, and it will be auto-decoded into readable form. This lets us color in any BCH Script (& hex), eg from Mecenas or Hodl plugins, using only their blockchain hex. The exact decoding rules seem subjective: 16 words/line max; data pushes >=20B & IFs get their own lines; any VERIFY, NUM2BIN or BIN2NUM ends lines; tabbing for IF, NOTIF, ELSE etc.
- preturn covenant now has malleability fix which blocks miners from stealing the money. Both compressed & uncompressed sender PubKeys have been tested, as well as Schnorr & ECDSA sigs.
- 6 disabled OpCodes are now listed.
- More efficient coloring by only coloring when either hex (bytecode) or selection has changed.
- Split-word selection highlighting. e.g. Selecting 'R OR' highlights all instances of 'OR' in hex.
- 'New' QComboBox item, but still no memory (nor undo & save).
- Increased return broadcast delay to 2s.
- SHA256 Checksum 000000ed60808ac146dd2cba2c19bbcdd96c968b5be1972a440fe7c33b73494e (51 kH/s · 44 s). Restart EC if updating via re-install.
AutoCove v1.0.2 for Electron Cash
v1.0.2 notes:
- preturn... covenant has 7% fee reduction by eliminating unnecessary PubKey & BIN2NUM. Improved comments.
- Full list of colored OpCodes.
- Selecting text now highlights all instances of it. Works with both colors & B&W. Highlighting is maintained when toggling colors.
- Highlighting works with scriptCode hex, too, as a byte search. i.e. double-click OpCodes or data push to light up all instances of its hex. Should also work with testnet OpCodes which I haven't colored. If script can't be interpreted, then there's no hex highlighting. Isolate multiple lines of code in hex by selecting them.
- Colors option. The blue isn't accurate for PUSHDATA2 & PUSHDATA4. Adding serifs to default font is too difficult (BCH code differentiation). The assignment of colors can change in the future. Holding in space-bar with colors will max out a CPU processor.
- Hex coloring, too! This increases CPU lag, which was barely noticeable for script-only colors.
- Added malleability warning, along with P2PK & SLP warnings. Sender should use standard output (no OP_PUSHDATA), or else EC doesn't detect it.
- Bug-fix for when a new wallet imports a preturn... and plugin tries to re-broadcast before wallet has had time to fully analyze history. Unfortunately a double-broadcast bug is still persisting, despite a couple lines of code I added.
- TabStopDistance reduced to 4 chars.
- EC should be restarted when updating via re-install.
- SHA256 Checksum 000000eab8901f17435840ff2a80367d035966f436219425741ec473625b71da (60 kH/s · 10s).
AutoCove IDE v1.0.1 for Electron Cash
v1.0.1 notes:
- Script compiler (encoder) now included. Accepts both lower & upper case opcodes. Both 'Nip' & 'OP_NIP' encode the same. Byte counter included, along with BCH address gen. A future version needs to color the different opcodes in different colors. Maybe a save feature, and decoder? The "IDE" builds the BCH address as user types opcodes etc.
- Covenants' source-code now inside plugin tab. Both are enforced simultaneously.
- Extra line of assembly -> 5% fee increase, but guarantees return TX has only 1 input. Future version needs a couple more lines to eliminate return malleability.
- No more infinite loop, instead .history_updated_signal is used.
- Will return multiple UTXOs in the same sent UTX (bugfix).
- New tabIcon, but it could be improved (wavy BCH flag?).
- EC needs to be restarted when updating using re-install. There's an issue where importing a preturn... address causes attempted re-broadcasting of previous txns. I forgot to mention a couple rules in the plugin tab: sender must use P2PKH address, & return is always to 1st input. Also I just did another test and it double broadcasts! (Will be fixed next time around.)
- SHA256 Checksum 000000db889e8d14c3b992cd6f1ef75cce65d44641d9487eb066cddac46ea82d (79 kH/s · 48 s)
AutoCove-Plugin v1.0.0 for Electron Cash
I forgot to explain in the plugin tab that the user must add the covenant address to a watching-only wallet, and that the plugin should only ever be enabled (ideally) in a watching-only wallet. The plugin turns your EC wallet into a server, who enforces the covenant. Try send tiny amounts of money (e.g. 14 bits) to the address. Your address must start with a q, and the sending txn must be smaller than 520 Bytes.
There's technically a malleability issue where we can't necessarily predict the TXID of the return txn. It takes a couple more lines of assembly code to "fix" that, if it's a problem. In a future version, P2SH sending (smart-contract interface) should be enabled in a different covenant, who requires much more code.
SHA256 Checksum 000009379d5ed71837398b6f9280074cb9e978494ec33395437be522328d41e6