Skip to content
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
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ toml = { version = "0.9.8" }
minreq = { version = "3.0.0", features = ["https", "json-using-serde"] }

electrsd = { version = "0.29.0", features = ["legacy"] }
bitcoincore-rpc = { version = "0.19.0" }

# TODO: Replace git dependency with crates.io version 0.6.0-rc.1 or higher once available
simplicityhl = { git = "https://github.com/BlockstreamResearch/SimplicityHL.git" }
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ thiserror = { workspace = true }
sha2 = { workspace = true }
minreq = { workspace = true }
simplicityhl = { workspace = true }
electrsd = { workspace = true }
bitcoincore-rpc = { workspace = true }
serde = { workspace = true }
hex = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/provider/core.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::HashMap;

use electrsd::bitcoind::bitcoincore_rpc::Auth;
use bitcoincore_rpc::Auth;

use simplicityhl::elements::{Address, Script, Transaction, Txid};

Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/provider/rpc/elements.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::str::FromStr;

use electrsd::bitcoind::bitcoincore_rpc::{Auth, Client, RpcApi};
use bitcoincore_rpc::{Auth, Client, RpcApi};

use serde_json::Value;

Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/provider/rpc/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pub enum RpcError {
/// Transparent wrapper mapping underlying errors generated directly from the Core/Elements RPC node client.
#[error(transparent)]
ElementsRpcError(#[from] electrsd::bitcoind::bitcoincore_rpc::Error),
ElementsRpcError(#[from] bitcoincore_rpc::Error),

/// Error indicating the requested Elements RPC call succeeded but the resulting JSON data payload did not map to the expected type or structure.
#[error("Elements RPC returned an unexpected value for call {0}")]
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/src/provider/simplex.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::HashMap;

use electrsd::bitcoind::bitcoincore_rpc::Auth;
use bitcoincore_rpc::Auth;

use simplicityhl::elements::{Address, Script, Transaction, Txid};

Expand Down
6 changes: 3 additions & 3 deletions examples/basic/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions fixtures/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading