Module config

Module config 

Source
Expand description

Runtime configuration for the sui-rpc-store indexer.

The indexer is driven by ServiceConfig, which groups the ingestion, consistency, RocksDB, committer, and per-pipeline settings the orchestrator needs.

Per-pipeline enable/disable is expressed through PipelineLayer: every pipeline maps to an Option<CommitterLayer> field; Some(_) means the pipeline is registered (with the supplied committer overrides), None means it is skipped. The standalone binary populates the layer from its TOML config; the embedded-fullnode caller builds it programmatically via PipelineLayer::embedded so the raw chain CFs (served by the fullnode’s perpetual store) are not double-written by this indexer.

Structs§

CommitterLayer
Per-pipeline committer overrides. Every field is optional; an unset field inherits from the shared committer default the orchestrator passes through to CommitterLayer::finish.
ConsistencyConfig
Cross-pipeline consistency knobs surfaced to operators. The indexer threads these into the Synchronizer at startup.
PipelineLayer
Per-pipeline registration + override map. Every pipeline that writes to a CF in RpcStoreSchema has a corresponding Option<CommitterLayer> field here.
PrunerConfig
Pruning policy for the historical column families.
RestoreLayer
Per-pipeline registration toggles for restore_indexes.
ServiceConfig
Top-level configuration for the sui-rpc-store indexer service. Parses from TOML; every field has a sensible default for tests and for the embedded use case where most knobs are supplied programmatically.