1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-06-30 12:42:43 +00:00

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.
This commit is contained in:
Dmitry Petukhov 2019-12-09 12:21:09 +05:00 committed by GitHub
parent 8431b22b2d
commit 267c02a4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ the length of that data. <tt>{..}</tt> indicates the raw data itself.
|-
| Key
| byte[]
| The key itself with the first byte being the type of the key-value pair
| The Key itself
|-
| Value Length
| Compact Size Unsigned Integer