← Back to Bitcoin Improvement Proposals
BIPinformationalopcodesscript

BIP 325: correct byte count for compact size

For 4-byte-push case, the push opcode was not counted; the length element is 1-5 bytes, not 4. Also tweaks the 'signet header' name (removing 'scriptSig').

No reviews
kallewoof·Updated Sep 8, 2020·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

For 4-byte-push case, the push opcode was not counted; the length element is 1-5 bytes, not 4.

Also tweaks the 'signet header' name (removing 'scriptSig').

Discussion (0 threads)

Loading discussions...