/// Trait to extend [`SyncRequestBuilder`].
pub trait SyncRequestBuilderExt<K> {
- /// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` of the given `spk_range`
+ /// Add [`Script`]s that are revealed by the `indexer` of the given `spk_range`
/// that will be synced against.
fn revealed_spks_from_indexer<R>(self, indexer: &KeychainTxOutIndex<K>, spk_range: R) -> Self
where
R: core::ops::RangeBounds<K>;
- /// Add [`Script`](bitcoin::Script)s that are revealed by the `indexer` but currently unused.
+ /// Add [`Script`]s that are revealed by the `indexer` but currently unused.
fn unused_spks_from_indexer(self, indexer: &KeychainTxOutIndex<K>) -> Self;
}
/// # Example
///
/// Sync revealed script pubkeys obtained from a
- /// [`KeychainTxOutIndex`](../../bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex.
- /// html).
+ /// [`KeychainTxOutIndex`](https://docs.rs/bdk_chain/latest/bdk_chain/indexer/keychain_txout/struct.KeychainTxOutIndex.html).
///
/// ```rust
/// # use bdk_chain::bitcoin::BlockHash;