Skip to content

Support parsing legacy BIP-174 PSBTs with zero inputs in embedded unsigned transactions - #117

Open
sinancrypto wants to merge 4 commits into
diybitcoinhardware:masterfrom
sinancrypto:master
Open

Support parsing legacy BIP-174 PSBTs with zero inputs in embedded unsigned transactions#117
sinancrypto wants to merge 4 commits into
diybitcoinhardware:masterfrom
sinancrypto:master

Conversation

@sinancrypto

@sinancrypto sinancrypto commented May 3, 2026

Copy link
Copy Markdown

Current implementation of embit does not allow for parsing BIP-174 PSBTs with zerp input.

This fix enables support of parsing legacy BIP-174 PSBTs whose embedded unsigned transaction has zero inputs, without misinterpreting the leading 0x00 byte as a SegWit marker.

BIP 174 requires no flags for a PSBT which has no inputs (only having outputs).

…edded unsigned tx with no inputs which has no flags
@sinancrypto sinancrypto changed the title Fix read_from of Transaction class to support legacy BIP-174 PSBT-emb… Fix read_from of Transaction class to support legacy BIP-174 PSBT May 3, 2026
@sinancrypto sinancrypto changed the title Fix read_from of Transaction class to support legacy BIP-174 PSBT Support parsing legacy BIP-174 PSBTs with zero inputs in embedded unsigned transactions Jul 22, 2026
@sinancrypto

Copy link
Copy Markdown
Author

Can you please have a look @miketlk @odudex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant