//! interact with the bitcoin P2P network.
//!
//! ```toml
-//! bdk = "0.16.1"
+//! bdk = "0.17.0"
//! ```
+ //!
+ //! # Examples
#![cfg_attr(
feature = "electrum",
doc = r##"
## Sync the balance of a descriptor
- ### Example
```no_run
-use bdk::Wallet;
+use bdk::{Wallet, SyncOptions};
use bdk::database::MemoryDatabase;
-use bdk::blockchain::{noop_progress, ElectrumBlockchain};
+use bdk::blockchain::ElectrumBlockchain;
use bdk::electrum_client::Client;
fn main() -> Result<(), bdk::Error> {
doc = r##"
## Create a transaction
- ### Example
```no_run
-use bdk::{FeeRate, Wallet};
+use bdk::{FeeRate, Wallet, SyncOptions};
use bdk::database::MemoryDatabase;
-use bdk::blockchain::{noop_progress, ElectrumBlockchain};
+use bdk::blockchain::ElectrumBlockchain;
use bdk::electrum_client::Client;
use bitcoin::consensus::serialize;