Skip to content

Commit 267c02a

Browse files
authored
BIP174: remove 'first byte is the type' comment for key data
As the key type is now defined as compact size integer, `At the beginning of each key is a compact size unsigned integer representing the type`, the comment in the first table in the document, about first byte of the key being the key type is no longer accurate. As the structure of the key data is described further in the text after the table, and the comment that it starts with the compact size integer seems a bit long to be in that table, I think it is better to just remove the comment about the key data structure from the table, and leave the explanation to the text after the table.
1 parent 8431b22 commit 267c02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0174.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ the length of that data. <tt>{..}</tt> indicates the raw data itself.
6969
|-
7070
| Key
7171
| byte[]
72-
| The key itself with the first byte being the type of the key-value pair
72+
| The Key itself
7373
|-
7474
| Value Length
7575
| Compact Size Unsigned Integer

0 commit comments

Comments
 (0)