Commit Graph
23 Commits
Author SHA1 Message Date
James O'Beirne eccf3db139 BIP-0345: add copyright 2024-02-23 15:15:32 -05:00
James O'Beirne de9ef59307 fixup! remove unused diagram 2024-01-03 16:12:29 -05:00
James O'Beirne 327025b369 fixup! misc. feedback from AJ and twhit223 2024-01-03 16:11:50 -05:00
James O'Beirne c2cec65937 fixup! rename n-pushes -> push-count 2024-01-03 15:33:50 -05:00
James O'BeirneandAntoine Poinsot eb3fb727c3 BIP-0345: restrict trigger output to v1 witness
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2023-10-09 14:09:01 -04:00
James O'Beirne 014b832e07 BIP-345: add sigops cost of 60 2023-09-29 09:19:15 -04:00
James O'Beirneandsanket1729 4aae726be9 fixup! fix off-by-one and revault-idx malleability
Co-authored-by: sanket1729 <sanket1729@gmail.com>
2023-09-01 10:12:38 -04:00
James O'Beirne e2ff23b3f0 fiuxp! allow larger trigger/recovery output amounts
Allow trigger/recovery output nValues to exceed the amounts supplied by
constituent vault inputs. This allows future compatibility for e.g.
trigger collateral.
2023-06-28 12:06:35 -04:00
James O'Beirne cb50446a65 fixup! add <revault-amount> and clarify deferred checks
This change makes the amount being revaulted (if any) explicit to avoid
issues surfaced by AJ Towns (e.g. multiple compatible vault inputs
duplicating triggers and revaults to confuse the old deferred check
logic).

Pseudocode is also provided for the deferred checks, and their inline
validation description has been changed to be more faithful to the
implementation - we make mention of queueing deferred checks, and then
later describe the algorithm used to aggregate and perform them.
2023-06-28 12:03:58 -04:00
James O'Beirne 7112f308b3 minor wording updates 2023-04-17 09:40:57 -04:00
James O'Beirne a6452eaf1a fixup! add TLUV references 2023-03-27 09:57:13 -04:00
James O'Beirne a0b433471d fixup! rename vaults BIP 2023-03-27 09:57:13 -04:00
James O'Beirne 47a25d1540 fixup! FLUification
Adds AJ and Greg as co-authors
2023-03-27 09:56:57 -04:00
James O'Beirne 915ede327a fixup! add Kalle reference 2023-03-23 13:24:17 -04:00
James O'Beirne 6dc766d937 vaults: add Corey Haddad reference 2023-03-23 13:24:17 -04:00
James O'Beirne 4f03aaea2c vaults: add backwards compatibility 2023-03-23 13:24:17 -04:00
James O'Beirne 6ff8efd3d1 vaults: blank deployment 2023-02-21 16:08:23 -05:00
James O'Beirne 0204c9a1f9 vaults: make recovery output structure a matter of policy
Since constraints on unauthorized recovery transaction structure exist
only to avoid pinning, make them a matter of policy and not consensus.
2023-02-21 11:59:36 -05:00
James O'Beirne 58cbc4e9b1 vaults: various feedback
Thanks to Vojtěch Strnad for most of this.
2023-02-21 11:59:31 -05:00
James O'Beirne c589490f98 vaults: make recovery transaction explicit
Instead of implicitly detecting whether or not an OP_VAULT/OP_UNVAULT
spend is a recovery spend by scanning outputs for matching
scriptPubKeys, explicitly indicate recoveries by requiring a witness
stack element that is either -1 in the case of no recovery OR
corresponds to an output index that is the recovery output.
2023-02-15 13:56:22 -05:00
James O'Beirne 9124f2940e fixup! image clarifications 2023-02-14 13:10:03 -05:00
James O'Beirne 476aea3107 fixup! typos and clarification
from feedback by Gleb and Joost.
2023-02-14 12:50:05 -05:00
James O'Beirne b30e37c8a2 Add OP_VAULT BIP 2023-02-13 18:58:59 -05:00