Skip to content

Commit 7a1d87f

Browse files
committed
use ring provider with rustls in electrum client
This uses a modified version of bdk_electrum 0.15 (corresponding to BDK tag v1.0.0-alpha.13) that enables the use of the ring provider in rustls. The default aws-lc-rs provider breaks the reproducible build.
1 parent 22c2a23 commit 7a1d87f

File tree

2 files changed

+11
-137
lines changed

2 files changed

+11
-137
lines changed

Cargo.lock

+6-136
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lianad/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ liana = { path = "../liana" }
2626
miniscript = { version = "12.0", features = ["serde", "compiler", "base64"] }
2727

2828
# For Electrum backend.
29-
bdk_electrum = { version = "0.15" }
29+
# We use a branch of the v1.0.0-alpha.13 tag, which corresponds to the bdk_electrum v0.15 crate,
30+
# in order to bump the electrum_client dependency to v0.21. This allows to use the "use-rustls-ring"
31+
# feature and avoid the default aws-ls-rs provider from rustls, which would break the reproducible build
32+
# (see https://github.com/aws/aws-lc-rs/issues/409).
33+
bdk_electrum = { git = "https://github.com/wizardsardine/bdk", branch = "release/1.0.0-alpha.13", default-features = false, features = [ "use-rustls-ring" ] }
3034

3135
# Don't reinvent the wheel
3236
dirs = "5.0"

0 commit comments

Comments
 (0)