[dependencies]
bdk_chain = { path = "../chain", version = "0.5.0", default-features = false, features = ["serde", "miniscript"] }
-esplora-client = { version = "0.5", default-features = false }
+esplora-client = { version = "0.6.0", default-features = false }
async-trait = { version = "0.1.66", optional = true }
futures = { version = "0.3.26", optional = true }
# use these dependencies if you need to enable their /no-std features
-bitcoin = { version = "0.29", optional = true, default-features = false }
-miniscript = { version = "9.0.0", optional = true, default-features = false }
+bitcoin = { version = "0.30.0", optional = true, default-features = false }
+miniscript = { version = "10.0.0", optional = true, default-features = false }
[features]
default = ["std", "async-https", "blocking"]
use async_trait::async_trait;
use bdk_chain::collections::btree_map;
use bdk_chain::{
- bitcoin::{BlockHash, OutPoint, Script, Txid},
+ bitcoin::{BlockHash, OutPoint, ScriptBuf, Txid},
collections::{BTreeMap, BTreeSet},
local_chain::{self, CheckPoint},
BlockId, ConfirmationTimeAnchor, TxGraph,
&self,
keychain_spks: BTreeMap<
K,
- impl IntoIterator<IntoIter = impl Iterator<Item = (u32, Script)> + Send> + Send,
+ impl IntoIterator<IntoIter = impl Iterator<Item = (u32, ScriptBuf)> + Send> + Send,
>,
txids: impl IntoIterator<IntoIter = impl Iterator<Item = Txid> + Send> + Send,
outpoints: impl IntoIterator<IntoIter = impl Iterator<Item = OutPoint> + Send> + Send,
#[allow(clippy::result_large_err)]
async fn update_tx_graph_without_keychain(
&self,
- misc_spks: impl IntoIterator<IntoIter = impl Iterator<Item = Script> + Send> + Send,
+ misc_spks: impl IntoIterator<IntoIter = impl Iterator<Item = ScriptBuf> + Send> + Send,
txids: impl IntoIterator<IntoIter = impl Iterator<Item = Txid> + Send> + Send,
outpoints: impl IntoIterator<IntoIter = impl Iterator<Item = OutPoint> + Send> + Send,
parallel_requests: usize,
&self,
keychain_spks: BTreeMap<
K,
- impl IntoIterator<IntoIter = impl Iterator<Item = (u32, Script)> + Send> + Send,
+ impl IntoIterator<IntoIter = impl Iterator<Item = (u32, ScriptBuf)> + Send> + Send,
>,
txids: impl IntoIterator<IntoIter = impl Iterator<Item = Txid> + Send> + Send,
outpoints: impl IntoIterator<IntoIter = impl Iterator<Item = OutPoint> + Send> + Send,
use std::thread::JoinHandle;
-use bdk_chain::bitcoin::{OutPoint, Txid};
use bdk_chain::collections::btree_map;
use bdk_chain::collections::{BTreeMap, BTreeSet};
use bdk_chain::{
- bitcoin::{BlockHash, Script},
+ bitcoin::{BlockHash, OutPoint, ScriptBuf, Txid},
local_chain::{self, CheckPoint},
BlockId, ConfirmationTimeAnchor, TxGraph,
};
#[allow(clippy::result_large_err)]
fn update_tx_graph<K: Ord + Clone>(
&self,
- keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
+ keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, ScriptBuf)>>,
txids: impl IntoIterator<Item = Txid>,
outpoints: impl IntoIterator<Item = OutPoint>,
stop_gap: usize,
#[allow(clippy::result_large_err)]
fn update_tx_graph_without_keychain(
&self,
- misc_spks: impl IntoIterator<Item = Script>,
+ misc_spks: impl IntoIterator<Item = ScriptBuf>,
txids: impl IntoIterator<Item = Txid>,
outpoints: impl IntoIterator<Item = OutPoint>,
parallel_requests: usize,
fn update_tx_graph<K: Ord + Clone>(
&self,
- keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
+ keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, ScriptBuf)>>,
txids: impl IntoIterator<Item = Txid>,
outpoints: impl IntoIterator<Item = OutPoint>,
stop_gap: usize,