riftenlabs-indexer/internal/config_specification.toml

72 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2026-01-05 15:40:01 +01:00
[[param]]
name = "network"
type = "String"
doc = "Network to use: 'mainnet' or 'chipnet' (default: mainnet)"
default = "\"mainnet\".to_string()"
2024-10-25 15:26:49 +02:00
[[param]]
name = "rostrum_addr"
type = "String"
2026-02-03 09:37:24 +01:00
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"
2026-01-05 15:40:01 +01:00
default = "\"\".to_string()"
[[param]]
name = "serve_during_ibd"
type = "bool"
doc = "Allow serving API requests during initial block download (for debugging)"
default = "false"
2026-02-10 14:48:45 +01:00
[[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"
2026-04-25 20:15:15 +03:00
[[param]]
name = "ido_read_slots"
type = "u32"
doc = "Number of read connection pool slots for the Moria lending database (default: 8)"
default = "8"
[[param]]
name = "debug"
type = "bool"
doc = "Enable debug RPC endpoints (e.g. txchain inspection). Do not use in production."
default = "false"
[[param]]
name = "riften_ipfs_gateway"
type = "String"
doc = "Optional IPFS gateway prefix for the local riften-ipfs pinning node (e.g. 'http://127.0.0.1:3002/ipfs/'). When set, ipfs:// BCMR content is fetched from here first, before the public gateways — so content pinned on the riften node is loadable without waiting for public DHT propagation. Empty disables it."
default = "\"\".to_string()"