pub struct DeckClientConfig {
pub snapshot_poll_interval: Duration,
pub ice_signature_threshold: usize,
}Expand description
Tunables for DeckClient.
Fields§
§snapshot_poll_interval: DurationCadence at which SnapshotStream polls the runtime’s
snapshot reader. Defaults to 100ms — same order of
magnitude as the default loop tick so the stream surfaces
each post-reconcile snapshot once.
ice_signature_threshold: usizeMinimum operator signatures required to commit an ICE
proposal (see SimulatedIceProposal::commit). Plan
locks this in at 2-of-N by default,
substrate-verified; this slice ships single-signature
(1) as the SDK-side default because substrate-side
multi-operator verification hasn’t shipped yet. Operators
who want client-enforced multi-op gating ahead of the
substrate slice can bump this knob.
Trait Implementations§
Source§impl Clone for DeckClientConfig
impl Clone for DeckClientConfig
Source§fn clone(&self) -> DeckClientConfig
fn clone(&self) -> DeckClientConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeckClientConfig
impl Debug for DeckClientConfig
Auto Trait Implementations§
impl Freeze for DeckClientConfig
impl RefUnwindSafe for DeckClientConfig
impl Send for DeckClientConfig
impl Sync for DeckClientConfig
impl Unpin for DeckClientConfig
impl UnsafeUnpin for DeckClientConfig
impl UnwindSafe for DeckClientConfig
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