diff --git a/lightning-transaction-sync/Cargo.toml b/lightning-transaction-sync/Cargo.toml index 4bc37d7ff48..d504cd239f2 100644 --- a/lightning-transaction-sync/Cargo.toml +++ b/lightning-transaction-sync/Cargo.toml @@ -38,15 +38,15 @@ lightning-macros = { version = "0.2", path = "../lightning-macros", default-feat bitcoin = { version = "0.32.2", default-features = false } futures = { version = "0.3", optional = true } esplora-client = { version = "0.12", default-features = false, optional = true } -electrum-client = { version = "0.24.0", optional = true, default-features = false, features = ["proxy"] } +electrum-client = { version = "0.25", optional = true, default-features = false, features = ["proxy"] } [dev-dependencies] lightning = { version = "0.3.0", path = "../lightning", default-features = false, features = ["std", "_test_utils"] } tokio = { version = "1.35.0", features = ["macros"] } [target.'cfg(not(target_os = "windows"))'.dev-dependencies] -electrsd = { version = "0.36.0", default-features = false, features = ["legacy"] } -corepc-node = { version = "0.10.0", default-features = false, features = ["28_0"] } +electrsd = { version = "0.38", default-features = false, features = ["legacy"] } +bitcoind = { version = "0.38", default-features = false, features = ["28_1"] } [lints.rust.unexpected_cfgs] level = "forbid" diff --git a/lightning-transaction-sync/tests/integration_tests.rs b/lightning-transaction-sync/tests/integration_tests.rs index 07b190ad30b..a5b303fdba6 100644 --- a/lightning-transaction-sync/tests/integration_tests.rs +++ b/lightning-transaction-sync/tests/integration_tests.rs @@ -18,8 +18,8 @@ use bitcoin::constants::genesis_block; use bitcoin::network::Network; use bitcoin::{Amount, BlockHash, Txid}; -use electrsd::corepc_node::Node as BitcoinD; -use electrsd::{corepc_node, ElectrsD}; +use bitcoind::BitcoinD; +use electrsd::ElectrsD; use std::collections::{HashMap, HashSet}; use std::env; @@ -28,10 +28,10 @@ use std::time::Duration; pub fn setup_bitcoind_and_electrsd() -> (BitcoinD, ElectrsD) { let bitcoind_exe = - env::var("BITCOIND_EXE").ok().or_else(|| corepc_node::downloaded_exe_path().ok()).expect( + env::var("BITCOIND_EXE").ok().or_else(|| bitcoind::downloaded_exe_path().ok()).expect( "you need to provide an env var BITCOIND_EXE or specify a bitcoind version feature", ); - let mut bitcoind_conf = corepc_node::Conf::default(); + let mut bitcoind_conf = bitcoind::Conf::default(); bitcoind_conf.network = "regtest"; let bitcoind = BitcoinD::with_conf(bitcoind_exe, &bitcoind_conf).unwrap();