Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Commit

Permalink
s/bdk_core/bdk_chain/g
Browse files Browse the repository at this point in the history
  • Loading branch information
LLFourn committed Jan 5, 2023
1 parent 6b1aad0 commit f5fe15a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bdk_electrum_example/src/electrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ impl ElectrumClient {
.map(|data| (data.height as u32, data.header.block_hash()))?)
}

/// Scan for a given list of scripts, and create an initial [`bdk_core::sparse_chain::SparseChain`] update candidate.
/// Scan for a given list of scripts, and create an initial [`bdk_chain::sparse_chain::SparseChain`] update candidate.
/// This will only contain [`Txid`]s in SparseChain, and no actual transaction data.
///
/// User needs to fetch the required transaction data and create the final [`bdk_core::keychain::KeychainChangeSet`] before applying it.
/// User needs to fetch the required transaction data and create the final [`bdk_chain::keychain::KeychainChangeSet`] before applying it.
pub fn spk_txid_scan(
&self,
spks: impl Iterator<Item = Script>,
Expand All @@ -87,10 +87,10 @@ impl ElectrumClient {
.0)
}

/// Scan for a keychain tracker, and create an initial [`bdk_core::sparse_chain::SparseChain`] update candidate.
/// Scan for a keychain tracker, and create an initial [`bdk_chain::sparse_chain::SparseChain`] update candidate.
/// This will only contain [`Txid`]s in SparseChain, and no actual transaction data.
///
/// User needs to fetch the required transaction data and create the final [`bdk_core::keychain::KeychainChangeSet`] before applying it.
/// User needs to fetch the required transaction data and create the final [`bdk_chain::keychain::KeychainChangeSet`] before applying it.
pub fn wallet_txid_scan<K: Ord + Clone>(
&self,
scripts: BTreeMap<K, impl Iterator<Item = (u32, Script)>>,
Expand Down

0 comments on commit f5fe15a

Please sign in to comment.