Commit Graph
37 Commits
Author SHA1 Message Date
Andrew Chow bd12ea7e9d Specify BIP 381: Non-segwit descriptors 2021-08-29 20:10:11 -04:00
Andrew Chow 71f435e76b Specify BIP 380: Descriptors general operation 2021-08-29 19:57:30 -04:00
Andrew Chow c583f4dcbe Specify BIP 371 Taproot Fields for PSBT
Add bip-0371.mediawiki, update readme, and update BIP 174 with
new field types.
2021-07-20 15:03:38 -04:00
Andrew Chow 330b56b358 Specify BIP 86: Key Derivation for Single Key P2TR Outputs 2021-07-02 16:53:32 -04:00
Andrew Chow 70e37e025d psbt2: Fix field number counting
PSBT_OUT_SCRIPT should be 0x04, not 0x03.
2021-06-21 17:09:14 -04:00
Andrew Chow 754b77a915 BIP 174: Add test vectors for additional unsigned tx serialization
There are some edge cases with unsigned tx serialization, so this adds
test vectors for them. Specifically, an unsigned tx with witness
serialization is invalid, a transaction with 0 inputs and 0 outputs is
valid, and a transaction with 0 inputs and non-0 outputs is valid.
2021-04-08 13:34:18 -04:00
Andrew Chow 54fe11608c Add minimum activation height to BIP 8 2021-03-20 15:03:49 -04:00
Andrew Chow eaaf376099 174: Change PSBT unknown fields test to use higher numbers
Previously these tests were using 0x0f as the unknown field number. As
these have now been defined, change them to use 0xf0 instead as it is
unlikely we will use those anything soon.
2021-03-04 16:14:45 -05:00
Andrew Chow b3d224f384 Specify BIP 370 PSBTv2 2021-02-12 16:09:35 -05:00
Andrew Chow 88fb205264 Combine Appendix with field listing tables 2021-01-25 17:13:57 -05:00
Andrew Chow c27d5e8b96 Mark BIP 174 as final 2021-01-25 17:13:57 -05:00
Andrew Chow 80df41818e Include PSBT versions that can or must include field 2021-01-15 13:01:24 -05:00
Andrew Chow a4fb1b9de0 Specify procedure for new fields and versions 2021-01-15 13:01:24 -05:00
Andrew Chow c0991047e2 Explicitly specify PSBTv0 2021-01-15 13:01:19 -05:00
Andrew Chow 50fdf5435e Reformat BIP 174 2021-01-14 12:50:27 -05:00
Andrew Chow 5ac2cb5b93 BIP174: Clarify that both UTXO types are allowed 2020-07-21 18:27:20 -04:00
Andrew Chow bc3a81e698 Specify proprietary use type 2019-10-02 15:09:51 -04:00
Andrew Chow 20fdf77a2b Specify that types are compact size unsigned ints to allow for multi-byte types 2019-08-01 14:36:25 -04:00
Andrew Chow 503f35a9a0 Add Version type 2019-08-01 14:28:37 -04:00
Andrew Chow 6a36d8e1b4 BIP 174: global xpubs serialization test vector 2019-07-25 13:37:06 -04:00
Andrew Chow e1f770e236 bip174: add section describing change detection 2019-06-09 23:39:25 +02:00
Andrew Chow 19d3b9dc82 bip174: add global xpub field 2019-06-09 10:48:05 +02:00
Andrew Chow 131fc2cebb Specify what signers should check for and describe a simple signer
Test cases for what signers should check for
2018-08-08 17:17:04 -07:00
Andrew Chow 6107b01428 Additional tests for BIP 174 2018-07-19 19:03:57 -07:00
Andrew Chow 0a1574fe49 BIP 174 workflow graphics 2018-07-11 16:20:43 -07:00
Andrew Chow cb426bfdae bip 174 -> proposed 2018-07-11 14:01:20 -07:00
Andrew Chow 72657b416c Clarifications to signer and combiner roles 2018-07-11 14:01:20 -07:00
Andrew Chow 4fcd8bf008 Update tests for new serialization 2018-07-05 15:27:41 -07:00
Andrew Chow 81c20a635e Add sections for encoding, file extension, and mime-type 2018-07-05 15:27:41 -07:00
Andrew Chow f515da0552 Add new responsibilities, update responsibility, update extensibility descriptions
Add updater, transaction finalizer, and transaction extractor roles.

Update the description of other roles to clarify

Update extensibility section
2018-07-05 15:27:41 -07:00
Andrew Chow 45df424759 Clarify handling of duplicated keys 2018-07-05 15:27:41 -07:00
Andrew Chow bfae1799d3 Move global data to per-input and per-output data
Change from a global map with input data to a global k/v pair with input and output data.

Add new types for finalized scriptSigs and scriptWitnesses.

Redefined types to support new model

Updated the formatting of the listing
2018-07-05 15:27:41 -07:00
Andrew Chow 478f20f871 [PSBT] Clarify that global data can be for inputs and outputs
Clarifies that global data fields redeem scripts, witness scripts,
and hd keypaths can be used for data necessary for both the inputs
and outputs of the transaction.
2018-04-04 11:21:54 -04:00
Andrew Chow a925cbb632 More BIP 174 tests 2018-01-06 15:14:12 -05:00
Andrew Chow 597c5afda5 Test Vectors for BIP 174 2018-01-04 22:47:09 -05:00
Andrew Chow 53891fc7ed Clarify what the number of inputs field is actually 2018-01-04 13:23:15 -05:00
Andrew Chow 958641741b Specify the Partially Signed Bitcoin Transaction format in a BIP 2017-09-18 00:24:47 -04:00