← Back to Bitcoin Improvement Proposals
BIPinformationalscript

BIP 325: Clarify that scriptWitness is a stack, not a byte string

Strictly speaking the bip isn't wrong. It just happens that an empty byte vector is serialized identical to an empty vector of any other type, but it takes the reader an extra step. Thus, the minor fixup suggestion.

No reviews
maflcko·Updated Nov 17, 2021·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

Strictly speaking the bip isn't wrong. It just happens that an empty byte vector is serialized identical to an empty vector of any other type, but it takes the reader an extra step. Thus, the minor fixup suggestion.

Discussion (0 threads)

Loading discussions...