Skip to content

Commit d0e556f

Browse files
committed
Download local bitcoind 24.0.1
1 parent 4e7d360 commit d0e556f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

bitcoind-tests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ edition = "2018"
88

99
[dependencies]
1010
miniscript = {path = "../"}
11-
bitcoind = { version = "0.29.3", features=["23_0"] }
11+
bitcoind = { version = "0.29.3" }
1212
actual-rand = { package = "rand", version = "0.8.4"}
13-
secp256k1 = {version = "0.24.0", features = ["rand-std"]}
13+
secp256k1 = {version = "0.27.0", features = ["rand-std"]}

bitcoind-tests/bin/bitcoind

14.6 MB
Binary file not shown.

bitcoind-tests/tests/setup/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ pub mod test_util;
88

99
// Launch an instance of bitcoind with
1010
pub fn setup() -> BitcoinD {
11+
// Create env var BITCOIND_EXE_PATH to point to the ../bitcoind/bin/bitcoind binary
12+
let key = "BITCOIND_EXE";
13+
let curr_dir_path = std::env::current_dir().unwrap();
14+
let bitcoind_path = curr_dir_path.join("bin").join("bitcoind");
15+
std::env::set_var(key, bitcoind_path);
16+
1117
let exe_path = bitcoind::exe_path().unwrap();
1218
let bitcoind = bitcoind::BitcoinD::new(exe_path).unwrap();
1319
let cl = &bitcoind.client;

0 commit comments

Comments
 (0)