From: LLFourn Date: Fri, 1 Jan 2021 03:52:10 +0000 (+1100) Subject: Update Changelog for Tx creation overhaul X-Git-Tag: v0.4.0~37 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/%22example_cli/enum.Commands.html/struct.String.html?a=commitdiff_plain;h=6f66de3d16d5eaa7702d2a36e98f197c45927aa0;p=bdk Update Changelog for Tx creation overhaul --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce56fbe..0dd29e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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