diff options
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r-- | bip-0174.mediawiki | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index 31a593d..a3098a4 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -43,12 +43,12 @@ risk of being defrauded. ==Specification== 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 records, terminated by a <tt>0x00</tt> byte <ref>'''Why +Each map consists of a sequence of key-value records, terminated by a <tt>0x00</tt> byte <ref>'''Why 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 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: Note: <tt><..></tt> indicates that the data is prefixed by a compact size unsigned integer representing |