Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): upgrade bitcoind to 0.36.0, bitcoin_hashes to 0.14.0 and electrum-client to 0.20.0 #80

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "electrsd"
version = "0.27.3"
version = "0.28.0"
authors = ["Riccardo Casatta <[email protected]>"]
description = "Utility to run a regtest electrs process, useful in integration testing environment"
repository = "https://github.com/RCasatta/electrsd"
Expand All @@ -10,19 +10,19 @@ edition = "2018"
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]

[dependencies]
bitcoind = { version = "0.34.0" }
electrum-client = { version = "0.19.0", default-features = false }
log = "0.4"
which = "4.2.5"
bitcoind = { version = "0.36.0" }
electrum-client = { version = "0.20.0", default-features = false }
log = { version = "0.4" }
which = { version = "4.2.5" }

[target.'cfg(not(windows))'.dependencies]
nix = { version = "0.25.0" }

[dev-dependencies]
env_logger = "0.10"
env_logger = { version = "0.10" }

[build-dependencies]
bitcoin_hashes = { version = "0.13", optional = true }
bitcoin_hashes = { version = "0.14", optional = true }
zip = { version = "0.6", default-features = false, optional = true, features = [
"bzip2",
"deflate",
Expand All @@ -37,7 +37,6 @@ legacy = []
# download is not supposed to be used directly only through selecting one of the version feature
download = ["bitcoin_hashes", "zip", "minreq"]


esplora_a33e97e1 = ["download"]
electrs_0_8_10 = ["download"]
electrs_0_9_1 = ["download"]
Expand Down
2 changes: 1 addition & 1 deletion src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl ElectrsD {
match self.client.transaction_get(txid) {
Ok(tx) => {
// having the raw tx doesn't mean the scripts has been indexed
let txid = tx.txid();
let txid = tx.compute_txid();
if let Some(output) = tx.output.first() {
let history = self
.client
Expand Down
Loading