← Back to Bitcoin Improvement Proposals
BIPinformationalkey-managementscript

fix BIP141 nested P2SH scriptSig byte representation

The byte representation of "<0 <32-byte-hash>>" is "0x220020{32-byte-hash}" What was listed here would be the byte representation of "0 <32-byte-hash>". The text explains that there is only one item in scriptSig, so I'm guessing the byte representation is wrong. Also the corrected byte representation would produce the same sig/pubkey described in P2WSH after following the bip16 rules.

No reviews
voisine·Updated Apr 23, 2016·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

The byte representation of "<0 <32-byte-hash>>" is "0x220020{32-byte-hash}"

What was listed here would be the byte representation of "0 <32-byte-hash>". The text explains that there is only one item in scriptSig, so I'm guessing the byte representation is wrong. Also the corrected byte representation would produce the same sig/pubkey described in P2WSH after following the bip16 rules.

Discussion (0 threads)

Loading discussions...