1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00
Commit Graph

115 Commits

Author SHA1 Message Date
Matt Corallo
b0d5a07943 Add a PSBT per-output field for BIP 353 DNSSEC Proofs
When using BIP 353 for on-chain addresses (incl silent payments),
it is useful to be able to include DNSSEC proof information in
outputs of a PSBT, which we enable here by defining a standard
field for it.
2024-08-29 19:30:59 +00:00
Orfeas Stefanos Thyfronitis Litos
9a56d3544e Remove trailing whitespace from all BIPs 2024-07-25 18:35:39 +03:00
Ava Chow
806b8b886f BIP 373: add MuSig2 PSBT Fields BIP 2024-06-18 20:09:26 -04:00
John Bampton
f61885edcf
docs: fix spelling (#1117)
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2024-04-30 16:54:05 -04:00
Varunram Ganesh
2d9e431fbe
[trivial]: Correct spellings across bips (#675)
Co-authored-by: Mark "Murch" Erhardt <murch@murch.one>
2024-04-30 14:51:39 -04:00
Ava Chow
a28b021b99 Update contact info for achow101 2023-12-13 11:12:08 -05:00
Salvatore Ingala
e538fa8562
Update Simple Signer Algorithm for SegWitv0 inputs
It is no longer expected that SegWitV0 inputs have no witness-utxo field.
Reverting the order of checks avoids this assumption (while still relying on the mandatory lack of witness-utxo for legacy inputs).
2023-03-04 11:13:16 +00:00
Gregory Sanders
4ab7faad74 Update PSBT_IN_TAP_BIP32_DERIVATION key desc
Clarify intended usage of PSBT_IN_TAP_BIP32_DERIVATION for key-spends.
2023-02-15 13:17:22 -05:00
Jack
1c5572b617 Fix valuedata type to match description. 2023-02-08 08:52:22 -09:00
Gregory Sanders
7e0c47e1f6
uiht 2023-01-17 14:14:54 -05:00
ishaanam
555c1d8c89 BIP 174: fix incorrect reference to BIP 173 2022-08-15 12:38:08 -04:00
Andrew Chow
7cd8ecd111 psbt: Unify formatting of key-value data to specify data type and name 2022-07-13 20:20:39 -04:00
Luke Dashjr
6452b8b7b5
Merge pull request #1290 from allenpiscitello/patch-1
Fixing incorrect allowing of unsigned transaction
2022-05-05 16:27:23 +00:00
Brandon Black
1b67c8835f
Correct pubkey type for TAP_INTERNAL_KEY 2022-04-04 07:44:44 -07:00
Brandon Black
ad6e587232
Fix data type for TAP_MERKLE_ROOT 2022-04-04 07:37:41 -07:00
Brandon Black
c876d7e20e
Remove repeated clause 2022-04-04 07:37:28 -07:00
allenpiscitello
33f8f62906
Fixing incorrect allowing of unsigned transaction
V2 does not allow Global Key Type of 0 (Unsigned Transaction), but not listed as excluded in the spec.
2022-03-24 13:19:16 -05:00
Luke Dashjr
7db0e1a554
Merge pull request #1270 from JeremyRubin/patch-2
[BIP-174] Clarify that partial_sig should be a valid.
2022-01-16 01:56:59 +00:00
Sjors Provoost
6366f8ebcb
bip174: document PSBT 0 handling of type > 0xFD 2022-01-12 16:39:21 +01:00
Sjors Provoost
dc034af961
bip174: link to 'compact size' definition 2022-01-12 16:27:31 +01:00
Jeremy Rubin
469d62ce2b
[BIP-174] Clarify that partial_sig should be a valid. 2022-01-08 15:12:33 -08:00
Dr Maxim Orlovsky
d16522949d
BIP-174: Remove PSBT_GLOBAL_SIGHASH_SINGLE_INPUT 2022-01-06 12:54:49 +01:00
Dr. Maxim Orlovsky
457e3545ba
BIP-174: Removing PSBT_OUT_TAP_LEAF_SCRIPT
`PSBT_OUT_TAP_LEAF_SCRIPT` seemed to appear in output key sections by copy-paste from input section. First, it shares the same byte no as `PSBT_OUT_TAP_TREE`, second its description talks about "witness"
2021-11-23 18:43:34 +01:00
Kalle Rosenbaum
a5fd6c8f60 BIP 0174: Clarify use of PSBT_IN_FINAL_* when data is empty 2021-10-27 20:43:34 +02:00
kallewoof
e032df5720
Merge pull request #1198 from kallerosenbaum/patch-2
BIP 0174: Fix typo in PSBT_OUT_BIP32_DERIVATION
2021-09-30 08:10:19 +09:00
Kalle Rosenbaum
8918753df9
Fix typo in PSBT_OUT_BIP32_DERIVATION 2021-09-29 11:40:11 +02:00
Kalle Rosenbaum
33efbb2125
Correct format of PSBT_GLOBAL_TX_MODIFIABLE
The descriptions for this field differ between bip370 and bip174. I suppose the correct format of PSBT_GLOBAL_TX_MODIFIABLE is the one in BIP370.
2021-09-29 11:37:48 +02:00
azuchi
5943de4fa4 [BIP174] Fix broken link to psbt2 2021-08-15 15:49:43 +09: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
70e37e025d psbt2: Fix field number counting
PSBT_OUT_SCRIPT should be 0x04, not 0x03.
2021-06-21 17:09:14 -04:00
t-bast
4a1077d40e
BIP 174: clarify key uniqueness
The description of keytype incorrectly said it had to be unique: it's the
whole key that must be unique, not the keytype (since we can for instance
have multiple xpubs in the global map).
2021-05-11 16:17:40 +02:00
Luke Dashjr
375f11a30c
Merge pull request #1099 from achow101/more-psbt-tests
BIP 174: Add test vectors for additional unsigned tx serialization
2021-04-22 22:51:05 +00: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
kiminuo
f45d7c5784
Update bip-0174.mediawiki
I, personally, find this easier to read.
2021-03-31 10:22:39 +02:00
Luke Dashjr
cd3885c0fb
Merge pull request #1078 from dr-orlovsky/patch-5
Fixing Simple Signer Algorithm
2021-03-15 20:17:23 +00:00
Luke Dashjr
d7cc27613e Merge BIP 370 2021-03-15 20:16:33 +00: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
Dr. Maxim Orlovsky
6db1e16486
Fixing Simple Signer Algorithm
Simple Signer Algorithm was lacking an index argument (last one) on all function calls
2021-03-02 20:26:59 +01:00
Andrew Chow
b3d224f384 Specify BIP 370 PSBTv2 2021-02-12 16:09:35 -05:00
Luke Dashjr
518fd3fe07 Merge remote-tracking branch 'origin-pull/1036/head' 2021-02-04 00:56:42 +00:00
Luke Dashjr
cf13cfa250
Merge pull request #988 from dr-orlovsky/patch-1
BIP 174: require creator to initialize empty output fields
2021-02-03 22:47:20 +00:00
Luke Dashjr
f70132e58b BIP 174: Revert title change to fit length limit
This partially reverts c0991047e2.
2021-02-03 22:33:18 +00: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
Rusty Russell
6057fede05 BIP 174: clarify format of proprietary extensions.
"Variable length string identifier" is not defined anywhere, and the suggestion
to use "0x00" is also deeply unclear.  I assumed it meant a nul-terminated
string!

Be explicit: you mean it must be a compact siz1\e unsigned int length, followed
by that many identifier bytes, followed by a compact size unsigned int subtype,
followed by optional keydata.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-13 16:55:42 -05:00
Ferdinando M. Ametrano
456c8c5088
fixed input test case description as per output test case description 2020-11-16 21:58:41 +01:00