Rust librariesmars-serverAnchor
mars-server · anchor::config
Public declarations and documentation for mars-server::anchor::config.
Package: mars-server · Workspace version: 0.1.0 · Module: anchor::config
This reference follows declared modules and public syntax, including public implementation methods. Function bodies and constant values are omitted. Feature conditions are retained. Private-module re-exports and trait resolution require the compiler; not every declaration is a root import.
anchor::config::AnchorWorkerConfig
Runtime policy for one anchor outbox worker replica.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct AnchorWorkerConfig {
pub enabled: bool,
pub batch_size: u32,
pub lease_duration: Duration,
pub max_attempts: u32,
pub retry_base: Duration,
pub retry_max: Duration,
/// Additive deterministic jitter in basis points (`0..=10_000`).
pub jitter_bps: u16,
pub confirmation_poll: Duration
}Source line: 10.
Source provenance
Source: mars-server/src/anchor/config.rs · SHA-256 68c2e26c533f1badc43cb25817d244967ba3ca7001840706e212646b6940b72b. Package overview.