Skip to content

Commit e2fba7a

Browse files
committed
Update CHANGELOG.md
1 parent 031d12a commit e2fba7a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CHANGELOG.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
- Add support for Bitcoin Core 23.0 when using the `rpc` blockchain
2222
- Added `Waste` struct to `coinselection` module, with impl of
2323
`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.
2731
- Changed `OutputGroup` owned `weighted_utxo` value to borrowed one.
2832

2933
## [v0.18.0] - [v0.17.0]

0 commit comments

Comments
 (0)