Skip to content

Commit 775bbdd

Browse files
committed
feat(electrum)!: use new sync/full-scan structs for ElectrumExt
`ElectrumResultExt` trait is also introduced that adds methods which can convert the `Anchor` type for the update `TxGraph`. We also make use of the new `TxCache` fields in `SyncRequest`/`FullScanRequest`. This way, we can avoid re-fetching full transactions from Electrum if not needed. Examples and tests are updated to use the new `ElectrumExt` API.
1 parent 750a44d commit 775bbdd

File tree

5 files changed

+281
-330
lines changed

5 files changed

+281
-330
lines changed

crates/electrum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ readme = "README.md"
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies]
15-
bdk_chain = { path = "../chain", version = "0.13.0", default-features = false }
15+
bdk_chain = { path = "../chain", version = "0.13.0" }
1616
electrum-client = { version = "0.19" }
1717
#rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] }
1818

0 commit comments

Comments
 (0)