Skip to content

Commit 6366f8e

Browse files
committed
bip174: document PSBT 0 handling of type > 0xFD
1 parent dc034af commit 6366f8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bip-0174.mediawiki

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,9 @@ If an updater is updating a PSBT and needs to add a field that is only available
819819
New fields should first be proposed on the bitcoin-dev mailing list.
820820
If a field requires significant description as to its usage, it should be accompanied by a separate BIP.
821821
The field must be added to the field listing tables in the Specification section.
822+
Although some PSBT version 0 implementations encode types as uint8_t rather than compact size,
823+
it is still safe to add >0xFD fields to PSBT 0, because these old parsers ignore
824+
unknown fields, and <keytype> is prefixed by its length.
822825

823826
===Procedure For New Versions===
824827

0 commit comments

Comments
 (0)