Skip to content

Commit b6b1989

Browse files
authored
Flipping the sentence order here for simplicity.
Being new to the spec, I had to reread this multiple times to understand it. Ordering the setences according to scope seems to make it easier to grock.
1 parent 954df0d commit b6b1989

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-0174.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ risk of being defrauded.
4343
==Specification==
4444

4545
The Partially Signed Bitcoin Transaction (PSBT) format consists of key-value maps.
46-
Each key-value pair must have a unique key within its scope; duplicates are not allowed.
47-
Each map consists of a sequence of records, terminated by a <tt>0x00</tt> byte <ref>'''Why
46+
Each map consists of a sequence of key-value records, terminated by a <tt>0x00</tt> byte <ref>'''Why
4847
is the separator here <tt>0x00</tt> instead of <tt>0xff</tt>?'''
4948
The separator here is used to distinguish between each chunk of data. A separator of 0x00 would mean that
5049
the unserializer can read it as a key length of 0, which would never occur with actual keys. It can thus
51-
be used as a separator and allow for easier unserializer implementation.</ref>. The format
50+
be used as a separator and allow for easier unserializer implementation.</ref>.
51+
Each key-value pair must have a unique key within its scope; duplicates are not allowed. The format
5252
of a record is as follows:
5353

5454
Note: <tt><..></tt> indicates that the data is prefixed by a compact size unsigned integer representing

0 commit comments

Comments
 (0)