2022-11-08 05:22:54 +00:00
|
|
|
[server]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 3001
|
|
|
|
kind = "active"
|
|
|
|
|
|
|
|
# Checkpointing state.
|
|
|
|
checkpointing = true
|
|
|
|
|
|
|
|
# Checkpoint interval in number of blocks.
|
|
|
|
checkpointInterval = 2000
|
|
|
|
|
2023-08-30 10:45:43 +00:00
|
|
|
# Enable state creation
|
|
|
|
enableState = true
|
2022-11-08 05:22:54 +00:00
|
|
|
|
|
|
|
# Boolean to filter logs by contract.
|
|
|
|
filterLogs = true
|
|
|
|
|
|
|
|
# Max block range for which to return events in eventsInRange GQL query.
|
|
|
|
# Use -1 for skipping check on block range.
|
|
|
|
maxEventsBlockRange = -1
|
|
|
|
|
|
|
|
[metrics]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 9000
|
|
|
|
[metrics.gql]
|
|
|
|
port = 9001
|
|
|
|
|
|
|
|
[database]
|
|
|
|
type = "postgres"
|
2022-12-22 14:13:13 +00:00
|
|
|
host = "mobymask-watcher-db"
|
2022-11-08 05:22:54 +00:00
|
|
|
port = 5432
|
|
|
|
database = "mobymask-watcher"
|
|
|
|
username = "vdbm"
|
|
|
|
password = "password"
|
|
|
|
synchronize = true
|
|
|
|
logging = false
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
[upstream.ethServer]
|
2022-12-22 14:13:13 +00:00
|
|
|
gqlApiEndpoint = "http://ipld-eth-server:8083/graphql"
|
|
|
|
rpcProviderEndpoint = "http://ipld-eth-server:8082"
|
2022-11-08 05:22:54 +00:00
|
|
|
blockDelayInMilliSecs = 60000
|
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
|
|
|
|
|
|
|
[jobQueue]
|
2022-12-22 14:13:13 +00:00
|
|
|
dbConnectionString = "postgres://vdbm:password@mobymask-watcher-db/mobymask-watcher-job-queue"
|
2022-11-08 05:22:54 +00:00
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
|
|
|
eventsInBatch = 50
|
2023-08-30 10:45:43 +00:00
|
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
prefetchBlocksInMem = false
|
|
|
|
prefetchBlockCount = 10
|