mirror of
https://github.com/bitcoin/bips.git
synced 2026-10-19 19:29:18 +00:00
Clarify that an empty payload contains zero content items. Add a vector that rejects a payload consisting only of the 0x00 terminator.
19 lines
302 B
JSON
19 lines
302 B
JSON
[
|
|
{
|
|
"description": "Bytes after terminator are ignored",
|
|
"valid": true,
|
|
"payload": "030001610080ff",
|
|
"items": [
|
|
{
|
|
"type": 3,
|
|
"content": "61"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Payload with no content item.",
|
|
"valid": false,
|
|
"payload": "00"
|
|
}
|
|
]
|