Repository navigation
release/3.x: correct foreign prevout handling (backport #423) - #636
noahjoeris merged 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/3.x #636 +/- ##
===============================================
+ Coverage 81.62% 81.76% +0.14%
===============================================
Files 25 25
Lines 6339 6355 +16
Branches 302 303 +1
===============================================
+ Hits 5174 5196 +22
+ Misses 1056 1052 -4
+ Partials 109 107 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
thunderbiscuit
left a comment
There was a problem hiding this comment.
ACK 9dfc8b4. This is a clean backport.
Claude pointed out to me a small nit which I'll propose here:
The changelog notice in your PR description only mentions the build_fee_bump panic, but this also changes behaviour for users: signing that used to succeed can now return InvalidNonWitnessUtxo, and a caller's witness_utxo can be silently replaced.
It might be worth adding a line, for example: "add_foreign_utxo now overwrites a provided witness_utxo with the prevout from non_witness_utxo, and sign rejects inputs where the two disagree."
|
Thanks, I intentionally wanted to keep this change low key. Probably not necessary tho. Will add it. |
…ackport #641) cb20372 test(wallet): sign mixed taproot and non-taproot inputs (Noah Joeris) 896224f fix(wallet): sign mixed taproot and non-taproot inputs (Noah Joeris) Pull request description: ### Description Backport of #641 to `release/3.x`. Cherry-picked from #641: d01c07d, 32dd8d8. Depends on #636. ### Changelog notice Fixed signing of mixed taproot/non-taproot inputs. ### Before submitting - [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk_wallet/blob/master/CONTRIBUTING.md) ACKs for top commit: Musab1258: tACK cb20372 reez: ACK cb20372 notmandatory: ACK cb20372 Tree-SHA512: da7488479cf3c83ab7543a01f16a440250c74c2cf9fdaf814831e8b96e523e7f1d6a99da66547c71851ded91db7849f78ef151271bf97c5f66f9b9bb5926ef87
Description
Backport of #423 to
release/3.x.Cherry-picked from master: 5a69e46, d3447f6.
Fixes #345, fixes #556.
Changelog notice
Before submitting