2024-09-05 08:48:59 +02:00
|
|
|
[api]
|
|
|
|
# Exposes /debug and /stats
|
|
|
|
address = ":5001"
|
|
|
|
|
|
|
|
[core]
|
|
|
|
# Use a specific cache implementation
|
2024-10-31 12:52:51 +01:00
|
|
|
cache_type = "internal"
|
2024-09-05 08:48:59 +02:00
|
|
|
# Use a specific db implementation
|
|
|
|
db_type = "bolt"
|
|
|
|
# Tune max go routines that can process blocks
|
|
|
|
# Defaults to (nproc * 3)
|
|
|
|
pool_size = 0
|
|
|
|
# If you are using an archive node, set this to true
|
2024-09-05 13:24:32 +02:00
|
|
|
batch_size = 100
|
2024-09-05 08:48:59 +02:00
|
|
|
|
|
|
|
[redis]
|
|
|
|
dsn = "127.0.0.1:6379"
|
|
|
|
|
|
|
|
[chain]
|
2024-09-27 13:55:05 +02:00
|
|
|
ws_endpoint = "ws://localhost:8546"
|
|
|
|
rpc_endpoint = "http://localhost:8545"
|
2024-09-05 08:48:59 +02:00
|
|
|
# Defaults to Celo mainnet
|
2024-09-27 13:55:05 +02:00
|
|
|
chainid = 1337
|
2024-09-05 08:48:59 +02:00
|
|
|
# This will start a backfill if set to any other value
|
|
|
|
# Ideally this should remain 0
|
|
|
|
start_block = 0
|
|
|
|
|
|
|
|
[bootstrap]
|
|
|
|
# This will bootstrap the cache on which addresses to track
|
2024-11-12 08:36:29 +01:00
|
|
|
ge_registry = "0x0f8E97ef2d6A42CF62549D4924FCBdcE83A1C6A5"
|
2024-10-31 12:52:51 +01:00
|
|
|
watchlist = [""]
|
2024-09-05 08:48:59 +02:00
|
|
|
blacklist = [""]
|
|
|
|
|
|
|
|
[jetstream]
|
|
|
|
enable = true
|
|
|
|
endpoint = "nats://127.0.0.1:4222"
|
|
|
|
persist_duration_hrs = 48
|