mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-05 17:36:45 +01:00
Mohammed Sohail
8085168ed3
* the cache is now bootstrapped from the token index and registry map * a token index filter auto updates the cache when a token is added (using add sig) * minor fixes to filters
39 lines
890 B
TOML
39 lines
890 B
TOML
[metrics]
|
|
# Exposes Prometheus metrics
|
|
go_process = true
|
|
|
|
# API server
|
|
[service]
|
|
# Host and port
|
|
address = ":5000"
|
|
|
|
# Geth API endpoints
|
|
[chain]
|
|
graphql_endpoint = ""
|
|
ws_endpoint = ""
|
|
rpc_endpoint = ""
|
|
testnet = true
|
|
registry_address = ""
|
|
|
|
# Syncer configs
|
|
[syncer]
|
|
# Maximum number of missing blocks pushed into the worker queue every janitor sweep
|
|
janitor_queue_size = 250
|
|
# Number of goroutines assigned to the worker pool
|
|
janitor_concurrency = 3
|
|
# Syncer start block
|
|
initial_lower_bound = ""
|
|
# Janitor sweep interval, should take into account concurrency and queue_size
|
|
janitor_sweep_interval = 10
|
|
|
|
[postgres]
|
|
dsn = ""
|
|
|
|
# https://docs.nats.io/
|
|
[jetstream]
|
|
endpoint = ""
|
|
# Duration JetStream should keep the message before GC
|
|
persist_duration_hrs = 48
|
|
# Duration to ignore duplicate transactions (e.g. due to restart)
|
|
dedup_duration_hrs = 6
|