Configuration
Configure time beacon anchoring, environment flags, and operational settings.
Fairseq binds ordering to verifiable time via time beacon anchoring. Configuration is intentionally small: you provide time beacon connectivity, choose an ordering rule, and set batch limits.
Time beacon configuration
RUST
use fairseq_sdk::{Config, LighthouseConfig, OrderingRule};
let config = Config {
lighthouse: LighthouseConfig {
url: "https://api.fairseq.io".to_string(),
api_key: None, // set if your beacon requires it
},
ordering_rule: OrderingRule::Fifo,
max_batch_size: 2_000,
timeout_ms: 30_000,
};Environment variables
FAIRSEQ_API_KEY- API key for hosted beacon accessFAIRSEQ_API_URL- override beacon URLFAIRSEQ_TIMEOUT_MS- request timeout
Operational guidance
- Persist proof metadata with batch IDs.
- Keep ordering inputs deterministic.
- Use a monotonic clock source for ingress timestamps.
Was this page helpful? /
Back to docs