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.
BIP 174: Add test vectors for additional unsigned tx serialization #1099
pull achow101 wants to merge 1 commits into bitcoin:master from achow101:more-psbt-tests changing 1 files +12 −0-
achow101 commented at 5:36 PM on April 8, 2021: member
-
754b77a915
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.
- rustyrussell cross-referenced this on Apr 16, 2021 from issue psbt: correctly parse the 'empty tx' by niftynei
- luke-jr merged this on Apr 22, 2021
- luke-jr closed this on Apr 22, 2021
Contributors