Struct bdk_chain::spk_client::FullScanRequest
source · pub struct FullScanRequest<K> { /* private fields */ }
Expand description
Data required to perform a spk-based blockchain client full scan.
A client full scan iterates through all the scripts for the given keychains, fetching relevant
data until some stop gap number of scripts is found that have no data. This operation is
generally only used when importing or restoring previously used keychains in which the list of
used scripts is not known. The full scan process also updates the chain from the given
chain_tip
(if provided).
Implementations§
source§impl<K> FullScanRequest<K>
impl<K> FullScanRequest<K>
sourcepub fn builder() -> FullScanRequestBuilder<K>
pub fn builder() -> FullScanRequestBuilder<K>
Start building a FullScanRequest
.
sourcepub fn chain_tip(&self) -> Option<CheckPoint>
pub fn chain_tip(&self) -> Option<CheckPoint>
Get the chain tip CheckPoint
of this request (if any).
Trait Implementations§
source§impl<K> Default for FullScanRequest<K>
impl<K> Default for FullScanRequest<K>
source§fn default() -> FullScanRequest<K>
fn default() -> FullScanRequest<K>
Returns the “default value” for a type. Read more
source§impl<K> From<FullScanRequestBuilder<K>> for FullScanRequest<K>
impl<K> From<FullScanRequestBuilder<K>> for FullScanRequest<K>
source§fn from(builder: FullScanRequestBuilder<K>) -> FullScanRequest<K>
fn from(builder: FullScanRequestBuilder<K>) -> FullScanRequest<K>
Converts to this type from the input type.
Auto Trait Implementations§
impl<K> Freeze for FullScanRequest<K>
impl<K> !RefUnwindSafe for FullScanRequest<K>
impl<K> Send for FullScanRequest<K>where
K: Send,
impl<K> !Sync for FullScanRequest<K>
impl<K> Unpin for FullScanRequest<K>
impl<K> !UnwindSafe for FullScanRequest<K>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more