1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-10-19 19:29:18 +00:00

bip138: clarify that 0x00 ends payload parsing

Specify that parsing stops immediately. Add a vector with an item followed
by a terminator and ignored bytes.

Clarify that TYPE 0x00 also doesn't require TYPE_LENGTH.
This commit is contained in:
Sjors Provoost
2026-09-23 14:31:54 +02:00
committed by Murch
parent 0f8c26b7c2
commit aa098559bf
2 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
[
{
"description": "Bytes after terminator are ignored",
"valid": true,
"payload": "030001610080ff",
"items": [
{
"type": 3,
"content": "61"
}
]
}
]