From 72238d6bea146dbd88a10a5ab7bb696bd7e46feb Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 16 Oct 2023 18:23:49 +1100 Subject: [PATCH] Upgrade to recent bitcoin version To get the latest verison of `rust-bitcoin` as the transient deepness, upgrade the following: - bitcoind - electrum-client - bitcoin_hashes Bump the crate version while we are at it. --- Cargo.toml | 8 ++++---- src/ext.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f8435b8..235043d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "electrsd" -version = "0.26.0" +version = "0.27.0" authors = ["Riccardo Casatta "] description = "Utility to run a regtest electrs process, useful in integration testing environment" repository = "https://github.com/RCasatta/electrsd" @@ -10,8 +10,8 @@ edition = "2018" categories = ["cryptography::cryptocurrencies", "development-tools::testing"] [dependencies] -bitcoind = { version = "0.33.0" } -electrum-client = { version = "0.15.0", default-features = false } +bitcoind = { version = "0.34.0" } +electrum-client = { version = "0.19.0", default-features = false } nix = { version = "0.25.0" } log = "0.4" which = "4.2.5" @@ -20,7 +20,7 @@ which = "4.2.5" env_logger = "0.10" [build-dependencies] -bitcoin_hashes = { version = "0.12", optional = true } +bitcoin_hashes = { version = "0.13", optional = true } zip = { version = "0.6", default-features = false, optional = true, features = [ "bzip2", "deflate", diff --git a/src/ext.rs b/src/ext.rs index 6b78b15..187f745 100644 --- a/src/ext.rs +++ b/src/ext.rs @@ -110,7 +110,7 @@ mod test { electrsd.wait_tx(&txid); let history = electrsd .client - .script_get_history(&address.payload.script_pubkey()) + .script_get_history(&address.script_pubkey()) .unwrap(); assert_eq!(history.len(), 1); }