eth-tracker/config.toml

41 lines
1.1 KiB
TOML
Raw Permalink Normal View History

2024-05-23 08:41:39 +02:00
[api]
2024-05-27 11:41:55 +02:00
# Exposes /debug and /stats
2024-05-23 08:41:39 +02:00
address = ":5001"
[core]
2024-05-27 11:41:55 +02:00
# Use a specific cache implementation
2024-05-23 08:41:39 +02:00
cache_type = "map"
2024-05-27 11:41:55 +02:00
# Use a specific db implementation
2024-05-23 08:41:39 +02:00
db_type = "bolt"
2024-05-27 11:41:55 +02:00
# Tune max go routines that can process blocks
# Defaults to (nproc * 3)
2024-05-23 08:41:39 +02:00
pool_size = 0
2024-05-27 11:41:55 +02:00
# If you are using an archive node, set this to true
2024-05-23 08:41:39 +02:00
archive_node = false
[chain]
ws_endpoint = "wss://forno.celo.org/ws"
rpc_endpoint = "https://forno.celo.org"
2024-05-27 11:41:55 +02:00
# Defaults to Celo mainnet
# At the moment only support Celo based blockchains
2024-05-23 08:41:39 +02:00
chainid = 42220
2024-05-27 11:41:55 +02:00
# This will start a backfill if set to any other value
# Ideally this should remain 0
2024-05-23 08:41:39 +02:00
start_block = 0
[bootstrap]
2024-05-27 11:41:55 +02:00
# This will bootstrap the cache on which addresses to track
# Grassroots Economics specific registries that autoload all other smart contracts
2024-05-23 08:41:39 +02:00
ge_registries = [
"0xd1FB944748aca327a1ba036B082993D9dd9Bfa0C",
"0x0cc9f4fff962def35bb34a53691180b13e653030",
]
watchlist = [""]
blacklist = ["0x765DE816845861e75A25fCA122bb6898B8B1282a"]
[jetstream]
enable = true
endpoint = "nats://127.0.0.1:4222"
persist_duration_hrs = 48
dedup_duration_hrs = 6