riftenlabs-indexer/internal/config_specification.toml
2026-06-21 01:44:39 +03:00

59 lines
1.7 KiB
TOML

[[param]]
name = "network"
type = "String"
doc = "Network to use: 'mainnet' or 'chipnet' (default: mainnet)"
default = "\"mainnet\".to_string()"
[[param]]
name = "rostrum_addr"
type = "String"
doc = "Rostrum/Electrum server address. Supports tcp://host:port, ssl://host:port, ws://host:port, wss://host:port; if no scheme is given, tcp:// is assumed. If not specified, defaults to 127.0.0.1:50001 for mainnet or 127.0.0.1:64001 for chipnet"
default = "\"\".to_string()"
[[param]]
name = "serve_during_ibd"
type = "bool"
doc = "Allow serving API requests during initial block download (for debugging)"
default = "false"
[[param]]
name = "cauldron_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the cauldron database (default: 8)"
default = "32"
[[param]]
name = "bcmr_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the BCMR database (default: 8)"
default = "8"
[[param]]
name = "crc20_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the CRC20 database (default: 8)"
default = "8"
[[param]]
name = "oracle_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the oracle database (default: 8)"
default = "8"
[[param]]
name = "start_height"
type = "u64"
doc = "Start indexing from this block height instead of the default (e.g. 252000 to skip ahead on chipnet). Only takes effect on fresh databases with no indexed blocks."
default = "0"
[[param]]
name = "moria_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the Moria lending database (default: 8)"
default = "8"
[[param]]
name = "ido_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the Moria lending database (default: 8)"
default = "8"