File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
- Add support for Bitcoin Core 23.0 when using the ` rpc ` blockchain
22
22
- Added ` Waste ` struct to ` coinselection ` module, with impl of
23
23
` Waste::calculate ` to compute waste metric for coin selection algorithms.
24
- - Added ` _cost_of_change ` parameter for ` CoinSelectionAlgorithm::coin_select `
25
- to pass the cost of generating change to calculate the waste metric for each
26
- algorithm.
24
+ - Added new type ` WeightedTxOut ` . It joins a TxOut with the satisfaction weight
25
+ needed to spend it in the future.
26
+ - Added new field ` drain_output ` to struct ` CoinSelectionResult ` . It'll hold
27
+ the created change output if needed.
28
+ - Added ` weighted_drain_output ` parameter for
29
+ ` CoinSelectionAlgorithm::coin_select ` to pass the TxOut to drain the change
30
+ joined with the satisfaction weight to spend it in the future.
27
31
- Changed ` OutputGroup ` owned ` weighted_utxo ` value to borrowed one.
28
32
29
33
## [ v0.18.0] - [ v0.17.0]
You can’t perform that action at this time.
0 commit comments