mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-19 12:08:05 +00:00
Merge pull request #759 from ddustin/patch-1
Flipping the sentence order here for simplicity.
This commit is contained in:
commit
dc0379959b
@ -43,12 +43,12 @@ risk of being defrauded.
|
|||||||
==Specification==
|
==Specification==
|
||||||
|
|
||||||
The Partially Signed Bitcoin Transaction (PSBT) format consists of key-value maps.
|
The Partially Signed Bitcoin Transaction (PSBT) format consists of key-value maps.
|
||||||
Each key-value pair must have a unique key within its scope; duplicates are not allowed.
|
Each map consists of a sequence of key-value records, terminated by a <tt>0x00</tt> byte <ref>'''Why
|
||||||
Each map consists of a sequence of records, terminated by a <tt>0x00</tt> byte <ref>'''Why
|
|
||||||
is the separator here <tt>0x00</tt> instead of <tt>0xff</tt>?'''
|
is the separator here <tt>0x00</tt> instead of <tt>0xff</tt>?'''
|
||||||
The separator here is used to distinguish between each chunk of data. A separator of 0x00 would mean that
|
The separator here is used to distinguish between each chunk of data. A separator of 0x00 would mean that
|
||||||
the unserializer can read it as a key length of 0, which would never occur with actual keys. It can thus
|
the unserializer can read it as a key length of 0, which would never occur with actual keys. It can thus
|
||||||
be used as a separator and allow for easier unserializer implementation.</ref>. The format
|
be used as a separator and allow for easier unserializer implementation.</ref>.
|
||||||
|
Each key-value pair must have a unique key within its scope; duplicates are not allowed. The format
|
||||||
of a record is as follows:
|
of a record is as follows:
|
||||||
|
|
||||||
Note: <tt><..></tt> indicates that the data is prefixed by a compact size unsigned integer representing
|
Note: <tt><..></tt> indicates that the data is prefixed by a compact size unsigned integer representing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user