Skip to content

Commit aaa9943

Browse files
committed
Merge commit 'refs/pull/346/head' of github.com:bitcoindevkit/bdk
2 parents 6546b77 + 3897e29 commit aaa9943

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v0.7.0] - [v0.6.0]
10+
911
### Policy
1012
#### Changed
1113
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.
338340
[v0.5.0]: https://github.com/bitcoindevkit/bdk/compare/v0.4.0...v0.5.0
339341
[v0.5.1]: https://github.com/bitcoindevkit/bdk/compare/v0.5.0...v0.5.1
340342
[v0.6.0]: https://github.com/bitcoindevkit/bdk/compare/v0.5.1...v0.6.0
343+
[v0.7.0]: https://github.com/bitcoindevkit/bdk/compare/v0.6.0...v0.7.0

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk"
3-
version = "0.6.1-dev"
3+
version = "0.7.1-dev"
44
edition = "2018"
55
authors = ["Alekos Filini <alekos.filini@gmail.com>", "Riccardo Casatta <riccardo@casatta.it>"]
66
homepage = "https://bitcoindevkit.org"
@@ -60,7 +60,7 @@ test-md-docs = ["electrum"]
6060

6161
[dev-dependencies]
6262
bdk-testutils = "0.4"
63-
bdk-testutils-macros = { path = "testutils-macros"}
63+
bdk-testutils-macros = "0.6"
6464
serial_test = "0.4"
6565
lazy_static = "1.4"
6666
env_logger = "0.7"

src/lib.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
//! interact with the bitcoin P2P network.
4444
//!
4545
//! ```toml
46-
//! bdk = "0.6.0"
46+
//! bdk = "0.7.0"
4747
//! ```
4848
//!
4949
//! ## Sync the balance of a descriptor
@@ -125,12 +125,15 @@
125125
//! wallet.sync(noop_progress(), None)?;
126126
//!
127127
//! let send_to = wallet.get_address(New)?;
128-
//! let (psbt, details) = wallet.build_tx()
129-
//! .add_recipient(send_to.script_pubkey(), 50_000)
130-
//! .enable_rbf()
131-
//! .do_not_spend_change()
132-
//! .fee_rate(FeeRate::from_sat_per_vb(5.0))
133-
//! .finish()?;
128+
//! let (psbt, details) = {
129+
//! let mut builder = wallet.build_tx();
130+
//! builder
131+
//! .add_recipient(send_to.script_pubkey(), 50_000)
132+
//! .enable_rbf()
133+
//! .do_not_spend_change()
134+
//! .fee_rate(FeeRate::from_sat_per_vb(5.0))
135+
//! builder.finish()?
136+
//! };
134137
//!
135138
//! println!("Transaction details: {:#?}", details);
136139
//! println!("Unsigned PSBT: {}", base64::encode(&serialize(&psbt)));

testutils-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk-testutils-macros"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
55
edition = "2018"
66
homepage = "https://bitcoindevkit.org"

0 commit comments

Comments
 (0)