@@ -26,8 +26,8 @@ pub trait EsploraExt {
2626 /// Scan keychain scripts for transactions against Esplora, returning an update that can be
2727 /// applied to the receiving structures.
2828 ///
29- /// * `local_tip `: the previously seen tip from [`LocalChain::tip`].
30- /// * `keychain_spks`: keychains that we want to scan transactions for
29+ /// - `request `: struct with data required to perform a spk-based blockchain client full scan,
30+ /// see [`FullScanRequest`]
3131 ///
3232 /// The full scan for each keychain stops after a gap of `stop_gap` script pubkeys with no
3333 /// associated transactions. `parallel_requests` specifies the max number of HTTP requests to
@@ -45,8 +45,6 @@ pub trait EsploraExt {
4545 /// and [Sparrow](https://www.sparrowwallet.com/docs/faq.html#ive-restored-my-wallet-but-some-of-my-funds-are-missing).
4646 ///
4747 /// A `stop_gap` of 0 will be treated as a `stop_gap` of 1.
48- ///
49- /// [`LocalChain::tip`]: bdk_chain::local_chain::LocalChain::tip
5048 fn full_scan < K : Ord + Clone > (
5149 & self ,
5250 request : FullScanRequest < K > ,
@@ -57,16 +55,12 @@ pub trait EsploraExt {
5755 /// Sync a set of scripts with the blockchain (via an Esplora client) for the data
5856 /// specified and return a [`TxGraph`].
5957 ///
60- /// * `local_tip`: the previously seen tip from [`LocalChain::tip`].
61- /// * `misc_spks`: scripts that we want to sync transactions for
62- /// * `txids`: transactions for which we want updated [`ConfirmationTimeHeightAnchor`]s
63- /// * `outpoints`: transactions associated with these outpoints (residing, spending) that we
64- /// want to include in the update
58+ /// - `request`: struct with data required to perform a spk-based blockchain client sync, see
59+ /// [`SyncRequest`]
6560 ///
6661 /// If the scripts to sync are unknown, such as when restoring or importing a keychain that
6762 /// may include scripts that have been used, use [`full_scan`] with the keychain.
6863 ///
69- /// [`LocalChain::tip`]: bdk_chain::local_chain::LocalChain::tip
7064 /// [`full_scan`]: EsploraExt::full_scan
7165 fn sync ( & self , request : SyncRequest , parallel_requests : usize ) -> Result < SyncResult , Error > ;
7266}
0 commit comments