pub type MeshStoreConfig = WebRTCStoreConfig;Expand description
Backward-compatible alias for the generic mesh store configuration.
Aliased Type§
pub struct MeshStoreConfig {
pub relays: Vec<String>,
pub roots: Vec<[u8; 32]>,
pub request_timeout_ms: u64,
pub hello_interval_ms: u64,
pub debug: bool,
pub pools: PoolSettings,
pub classifier_tx: Option<Sender<ClassifyRequest>>,
pub request_selection_strategy: SelectionStrategy,
pub request_fairness_enabled: bool,
pub request_dispatch: RequestDispatchConfig,
}Fields§
§relays: Vec<String>Nostr relays for signaling
roots: Vec<[u8; 32]>Root hashes to advertise
request_timeout_ms: u64Timeout for data requests (ms)
hello_interval_ms: u64Interval for sending hello messages (ms)
debug: boolEnable verbose logging
pools: PoolSettingsPool settings for follows and other peers
classifier_tx: Option<Sender<ClassifyRequest>>Channel for peer classification (optional) If None, all peers go to “Other” pool
request_selection_strategy: SelectionStrategyRetrieval peer selection strategy (shared with GenericStore/CLI/sim).
request_fairness_enabled: boolWhether fairness constraints are enabled for retrieval selection.
request_dispatch: RequestDispatchConfigHedged request dispatch policy for retrieval.