From: Riccardo Casatta Date: Tue, 24 Nov 2020 11:16:49 +0000 (+0100) Subject: use electurm-client updated X-Git-Tag: v0.1.0~22^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/-sqlite-db-configuration/encode/struct.Encoder.html?a=commitdiff_plain;h=2afeea7d72ab7735193df6ba5501b42ebcd06b16;p=bdk-cli use electurm-client updated --- diff --git a/Cargo.toml b/Cargo.toml index 54b4623..2cd3302 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ rand = "^0.7" # Optional dependencies sled = { version = "0.34", optional = true } -electrum-client = { version = "0.3.0-beta.1", optional = true } +electrum-client = { version = "0.4.0-beta.1", optional = true } reqwest = { version = "0.10", optional = true, features = ["json"] } futures = { version = "0.3", optional = true } clap = { version = "2.33", optional = true } diff --git a/examples/repl.rs b/examples/repl.rs index 09e75f9..ee0c9a4 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -102,6 +102,8 @@ fn main() { None => AnyBlockchainConfig::Electrum(ElectrumBlockchainConfig { url: matches.value_of("server").unwrap().to_string(), socks5: matches.value_of("proxy").map(ToString::to_string), + retry: 10, + timeout: 10, }), }; let wallet = Arc::new(