Merge commit 'refs/pull/346/head' of github.com:bitcoindevkit/bdk
This commit is contained in:
commit
aaa9943a5f
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [v0.7.0] - [v0.6.0]
|
||||||
|
|
||||||
### Policy
|
### Policy
|
||||||
#### Changed
|
#### Changed
|
||||||
Removed `fill_satisfaction` method in favor of enum parameter in `extract_policy` method
|
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.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.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.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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "bdk"
|
name = "bdk"
|
||||||
version = "0.6.1-dev"
|
version = "0.7.1-dev"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Alekos Filini <alekos.filini@gmail.com>", "Riccardo Casatta <riccardo@casatta.it>"]
|
authors = ["Alekos Filini <alekos.filini@gmail.com>", "Riccardo Casatta <riccardo@casatta.it>"]
|
||||||
homepage = "https://bitcoindevkit.org"
|
homepage = "https://bitcoindevkit.org"
|
||||||
@ -60,7 +60,7 @@ test-md-docs = ["electrum"]
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bdk-testutils = "0.4"
|
bdk-testutils = "0.4"
|
||||||
bdk-testutils-macros = { path = "testutils-macros"}
|
bdk-testutils-macros = "0.6"
|
||||||
serial_test = "0.4"
|
serial_test = "0.4"
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
env_logger = "0.7"
|
env_logger = "0.7"
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
//! interact with the bitcoin P2P network.
|
//! interact with the bitcoin P2P network.
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! bdk = "0.6.0"
|
//! bdk = "0.7.0"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! ## Sync the balance of a descriptor
|
//! ## Sync the balance of a descriptor
|
||||||
@ -125,12 +125,15 @@
|
|||||||
//! wallet.sync(noop_progress(), None)?;
|
//! wallet.sync(noop_progress(), None)?;
|
||||||
//!
|
//!
|
||||||
//! let send_to = wallet.get_address(New)?;
|
//! let send_to = wallet.get_address(New)?;
|
||||||
//! let (psbt, details) = wallet.build_tx()
|
//! let (psbt, details) = {
|
||||||
|
//! let mut builder = wallet.build_tx();
|
||||||
|
//! builder
|
||||||
//! .add_recipient(send_to.script_pubkey(), 50_000)
|
//! .add_recipient(send_to.script_pubkey(), 50_000)
|
||||||
//! .enable_rbf()
|
//! .enable_rbf()
|
||||||
//! .do_not_spend_change()
|
//! .do_not_spend_change()
|
||||||
//! .fee_rate(FeeRate::from_sat_per_vb(5.0))
|
//! .fee_rate(FeeRate::from_sat_per_vb(5.0))
|
||||||
//! .finish()?;
|
//! builder.finish()?
|
||||||
|
//! };
|
||||||
//!
|
//!
|
||||||
//! println!("Transaction details: {:#?}", details);
|
//! println!("Transaction details: {:#?}", details);
|
||||||
//! println!("Unsigned PSBT: {}", base64::encode(&serialize(&psbt)));
|
//! println!("Unsigned PSBT: {}", base64::encode(&serialize(&psbt)));
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "bdk-testutils-macros"
|
name = "bdk-testutils-macros"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
|
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
homepage = "https://bitcoindevkit.org"
|
homepage = "https://bitcoindevkit.org"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user