Skip to content

Commit 504133d

Browse files
committed
Add requested changes
- Change tuple variants for struct variants in `Excess` enum. - Document `Excess` enum. - Change parameter `drain_output: &TxOut` by `drain_script: &Script` in `coin_selection` method. - Implement change calculus inside `BranchAndBound::coin_select` algorithms. - Change `target` by `dust_threshold` to assign `drain_script.dust_value()`.
1 parent 62106b5 commit 504133d

File tree

3 files changed

+218
-94
lines changed

3 files changed

+218
-94
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- Signing Taproot PSBTs (key spend and script spend)
2323
- Support for `tr()` descriptors in the `descriptor!()` macro
2424
- Add support for Bitcoin Core 23.0 when using the `rpc` blockchain
25+
- Add `Excess` enum to handle remaining amount after coin selection.
26+
- Move change creation from `Wallet::create_tx` to `CoinSelectionAlgorithm::coin_select`.
2527

2628
## [v0.18.0] - [v0.17.0]
2729

0 commit comments

Comments
 (0)