You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: improve integration test for decode_psbt across various versions
Test improvements for decode_psbt covering version-specific behaviour across Bitcoin Core v17-v30:
- Add doc comments explaining version-specific PSBT behavior
- Document fee calculation: v17 (no utxoupdatepsbt), v18-v19 (p2sh-segwit default breaks utxoupdatepsbt detection), v20+ (bech32 default works)
- Gate xpubs field assertions correctly (v22_and_below vs v23+)
- Add taproot field test with tap_internal_key (v24+)
- Add TODO for MuSig2 fields (v30)
The fee field is None on v17-v19 because:
- v17: No utxoupdatepsbt RPC exists
- v18-v19: utxoupdatepsbt can't detect p2sh-segwit (default address type)
as segwit without descriptors, so UTXO data isn't populated (hence no
fee calc)
- v20+: Default changed to bech32 (PR #16884), native segwit is directly
detected, so fee calc works
0 commit comments