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§
- Committer
Layer - Per-pipeline committer overrides. Every field is optional; an
unset field inherits from the shared committer default the
orchestrator passes through to
CommitterLayer::finish. - Consistency
Config - Cross-pipeline consistency knobs surfaced to operators. The
indexer threads these into the
Synchronizerat startup. - Pipeline
Layer - Per-pipeline registration + override map. Every pipeline that
writes to a CF in
RpcStoreSchemahas a correspondingOption<CommitterLayer>field here. - Pruner
Config - Pruning policy for the historical column families.
- Restore
Layer - Per-pipeline registration toggles for
restore_indexes. - Service
Config - Top-level configuration for the
sui-rpc-storeindexer service. Parses from TOML; every field has a sensible default for tests and for the embedded use case where most knobs are supplied programmatically.