]> Untitled Git - bdk/commitdiff
Update Changelog for Tx creation overhaul
authorLLFourn <lloyd.fourn@gmail.com>
Fri, 1 Jan 2021 03:52:10 +0000 (14:52 +1100)
committerLLFourn <lloyd.fourn@gmail.com>
Fri, 22 Jan 2021 03:33:37 +0000 (14:33 +1100)
CHANGELOG.md

index 0ce56fbe1dc08211aa823a2e7d706b54031d08db..0dd29e754982a98222039fb68b313b05199df799 100644 (file)
@@ -19,6 +19,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 #### Changed
 - Remove `BlockchainMarker`, `OfflineClient` and `OfflineWallet` in favor of just using the unit
   type to mark for a missing client.
+  
+#### Transaction Creation Overhaul
+
+The `TxBuilder` is now created from the `build_tx` or `build_fee_bump` functions on wallet and the
+final transaction is created by calling `finish` on the builder.
+
+- Removed `TxBuilder::utxos` in favor of repeatedly calling `add_utxo`
+- Added `Wallet::build_tx` to replace `Wallet::create_tx`
+- Added `Wallet::build_fee_bump` to replace `Wallet::bump_fee`
+- Added `Wallet::get_utxo`
+- Added `Wallet::get_descriptor_for_keychain`
 
 ### CLI
 #### Changed