diff --git a/CHANGELOG.md b/CHANGELOG.md index 718b949b..e92c0283 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v0.7.0] - [v0.6.0] + ### Policy #### Changed Removed `fill_satisfaction` method in favor of enum parameter in `extract_policy` method @@ -338,3 +340,4 @@ final transaction is created by calling `finish` on the builder. [v0.5.0]: https://github.com/bitcoindevkit/bdk/compare/v0.4.0...v0.5.0 [v0.5.1]: https://github.com/bitcoindevkit/bdk/compare/v0.5.0...v0.5.1 [v0.6.0]: https://github.com/bitcoindevkit/bdk/compare/v0.5.1...v0.6.0 +[v0.7.0]: https://github.com/bitcoindevkit/bdk/compare/v0.6.0...v0.7.0 diff --git a/Cargo.toml b/Cargo.toml index dabfd62b..687e016c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bdk" -version = "0.6.1-dev" +version = "0.7.1-dev" edition = "2018" authors = ["Alekos Filini ", "Riccardo Casatta "] homepage = "https://bitcoindevkit.org" @@ -60,7 +60,7 @@ test-md-docs = ["electrum"] [dev-dependencies] bdk-testutils = "0.4" -bdk-testutils-macros = { path = "testutils-macros"} +bdk-testutils-macros = "0.6" serial_test = "0.4" lazy_static = "1.4" env_logger = "0.7" diff --git a/src/lib.rs b/src/lib.rs index f5323b1a..0e7f8287 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ //! interact with the bitcoin P2P network. //! //! ```toml -//! bdk = "0.6.0" +//! bdk = "0.7.0" //! ``` //! //! ## Sync the balance of a descriptor @@ -125,12 +125,15 @@ //! wallet.sync(noop_progress(), None)?; //! //! let send_to = wallet.get_address(New)?; -//! let (psbt, details) = wallet.build_tx() -//! .add_recipient(send_to.script_pubkey(), 50_000) -//! .enable_rbf() -//! .do_not_spend_change() -//! .fee_rate(FeeRate::from_sat_per_vb(5.0)) -//! .finish()?; +//! let (psbt, details) = { +//! let mut builder = wallet.build_tx(); +//! builder +//! .add_recipient(send_to.script_pubkey(), 50_000) +//! .enable_rbf() +//! .do_not_spend_change() +//! .fee_rate(FeeRate::from_sat_per_vb(5.0)) +//! builder.finish()? +//! }; //! //! println!("Transaction details: {:#?}", details); //! println!("Unsigned PSBT: {}", base64::encode(&serialize(&psbt))); diff --git a/testutils-macros/Cargo.toml b/testutils-macros/Cargo.toml index ca3b22a2..f78b7f9d 100644 --- a/testutils-macros/Cargo.toml +++ b/testutils-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bdk-testutils-macros" -version = "0.5.0" +version = "0.6.0" authors = ["Alekos Filini "] edition = "2018" homepage = "https://bitcoindevkit.org"