Skip to content

Commit 67865cd

Browse files
author
+Sharon
committed
Add ElectrumSync builder for one-liner wallet synchronization
- Implement fluent API for Electrum sync configuration - Add type alias to resolve clippy complexity warning - Include comprehensive documentation and examples - Add new bdk_builder module with sync functionality
1 parent 57ad6d2 commit 67865cd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/electrum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ workspace = true
1616
[dependencies]
1717
bdk_core = { path = "../core", version = "0.6.1" }
1818
bdk_chain = { path = "../chain" }
19-
electrum-client = { version = "0.24.0", features = [ "proxy" ], default-features = false }
19+
electrum-client = { version = "0.24.0", features = [ "proxy" ] }
2020

2121
[dev-dependencies]
2222
bdk_testenv = { path = "../testenv" }

crates/electrum/src/bdk_builder.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ where
146146
for (keychain_id, spk_iter) in self.wallet.all_unbounded_spk_iters() {
147147
builder = builder.spks_for_keychain(keychain_id, spk_iter);
148148
}
149-
150149
builder.build()
151150
}
152-
}
151+
}

0 commit comments

Comments
 (0)