5e2449922d
Recently we (*cough* Tobin) made the `Map` trait private and neglected to add a public API for combining together two PSBTs. Doing so broke the `psbt` module. Pull the merge logic out of the `Map` trait and put it in methods on each individual type (`Input`, `Output`, `PartiallySignedTransaction`). Doing so allows for simplification of return types since combining inputs/outputs never errors. Use the term 'combine' instead of 'merge' since that is the term used in BIP 174. |
||
---|---|---|
.. | ||
bip341_tests.json | ||
blockfilters.json | ||
mainnet_block_000000000000000000000c835b2adcaedc20fdf6ee440009c249452c726dafae.raw | ||
psbt1.hex | ||
psbt2.hex | ||
psbt_combined.hex | ||
testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw |