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:
1 parent
0f8c26b7c2
commit
aa098559bf
2 files changed
+21
-5
No files matched your search
@@ -0,0 +1,13 @@
|
||||
[
|
||||
{
|
||||
"description": "Bytes after terminator are ignored",
|
||||
"valid": true,
|
||||
"payload": "030001610080ff",
|
||||
"items": [
|
||||
{
|
||||
"type": 3,
|
||||
"content": "61"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user