pub struct TickOptions {
pub age_threshold: Timestamp,
pub max_asks: usize,
pub spend_depth: Height,
}Expand description
The host’s parameters of a pass.
Fields§
§age_threshold: TimestampSeconds without a new hint before an announced or seen transaction
is asked for its proof (the tracker’s Params::age_threshold).
max_asks: usizeRe-asks one pass runs.
spend_depth: HeightHow deep the block holding a coin’s transaction must be before the
coin is offered (SPEND_DEPTH): the tip is depth 1. The stack’s
wallet charter R3 (b), ruled 2026-10-12 (bsv-stack-lean
lean/Wallet.lean, guardDepth): the spend depth is the host’s
parameter, named in its config, with 1 the floor; a number below 1
reads as 1. Read by spend_guard, where the host decides whether
a coin may be spent.
Implementations§
Trait Implementations§
Source§impl Clone for TickOptions
impl Clone for TickOptions
Auto Trait Implementations§
impl Freeze for TickOptions
impl RefUnwindSafe for TickOptions
impl Send for TickOptions
impl Sync for TickOptions
impl Unpin for TickOptions
impl UnsafeUnpin for TickOptions
impl UnwindSafe for TickOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more