Skip to content

Commit 515cc7c

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()`. - Move `change_fee` calculus inside `decide_change`. - Replace `change_fee` parameter for `fee_rate`. - Replace FeeRate references by their values
1 parent 3f4690b commit 515cc7c

File tree

3 files changed

+192
-95
lines changed

3 files changed

+192
-95
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- Support for `tr()` descriptors in the `descriptor!()` macro
2828
- Add support for Bitcoin Core 23.0 when using the `rpc` blockchain
2929
- Add `remove_partial_sigs` and `try_finalize` to `SignOptions`
30+
- Add `Excess` enum to handle remaining amount after coin selection.
31+
- Move change creation from `Wallet::create_tx` to `CoinSelectionAlgorithm::coin_select`.
3032

3133
## [v0.18.0] - [v0.17.0]
3234

0 commit comments

Comments
 (0)