← Back to Bitcoin Improvement Proposals
BIPinformationaltransactions

BIP 174: Add test vectors for additional unsigned tx serialization

There are some edge cases with unsigned tx serialization, so this adds test vectors for them. Specifically, an unsigned tx with witness serialization is invalid, a transaction with 0 inputs and 0 outputs is valid, and a transaction with 0 inputs and non-0 outputs is valid.

No reviews
achow101·Updated Apr 22, 2021·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

There are some edge cases with unsigned tx serialization, so this adds test vectors for them. Specifically, an unsigned tx with witness serialization is invalid, a transaction with 0 inputs and 0 outputs is valid, and a transaction with 0 inputs and non-0 outputs is valid.

Discussion (0 threads)

Loading discussions...