pub struct ScanblocksParams {
pub action: String,
pub scanobjects: Option<Vec<Value>>,
pub start_height: Option<i64>,
pub stop_height: Option<i64>,
pub filtertype: Option<String>,
pub options: Option<Value>,
}Expand description
Return relevant blockhashes for given descriptors (requires blockfilterindex). This call may take several minutes. Make sure to use no RPC timeout (bitcoin-cli -rpcclienttimeout=0)
Fields§
§action: StringThe action to execute “start” for starting a scan “abort” for aborting the current scan (returns true when abort was successful) “status” for progress report (in %) of the current scan
scanobjects: Option<Vec<Value>>Array of scan objects. Required for “start” action Every scan object is either a string descriptor or an object:
start_height: Option<i64>Height to start to scan from
stop_height: Option<i64>Height to stop to scan
filtertype: Option<String>The type name of the filter
options: Option<Value>Trait Implementations§
Source§impl Debug for ScanblocksParams
impl Debug for ScanblocksParams
Auto Trait Implementations§
impl Freeze for ScanblocksParams
impl RefUnwindSafe for ScanblocksParams
impl Send for ScanblocksParams
impl Sync for ScanblocksParams
impl Unpin for ScanblocksParams
impl UnwindSafe for ScanblocksParams
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