2021-10-28 11:01:56 +00:00
|
|
|
[server]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3008
|
|
|
|
kind = "active"
|
2021-11-15 14:35:43 +00:00
|
|
|
|
|
|
|
# Checkpointing state.
|
|
|
|
checkpointing = true
|
|
|
|
|
|
|
|
# Checkpoint interval in number of blocks.
|
|
|
|
checkpointInterval = 2000
|
|
|
|
|
2022-11-10 11:26:06 +00:00
|
|
|
# Enable state creation
|
|
|
|
enableState = true
|
|
|
|
|
2021-10-28 11:01:56 +00:00
|
|
|
subgraphPath = "../graph-node/test/subgraph/example1/build"
|
2021-12-21 10:28:17 +00:00
|
|
|
wasmRestartBlocksInterval = 20
|
2021-10-28 11:01:56 +00:00
|
|
|
|
2022-07-22 07:47:56 +00:00
|
|
|
# Boolean to filter logs by contract.
|
|
|
|
filterLogs = false
|
|
|
|
|
|
|
|
# Max block range for which to return events in eventsInRange GQL query.
|
|
|
|
# Use -1 for skipping check on block range.
|
|
|
|
maxEventsBlockRange = 1000
|
|
|
|
|
2022-10-19 08:56:10 +00:00
|
|
|
# Interval in number of blocks at which to clear entities cache.
|
|
|
|
clearEntitiesCacheInterval = 1000
|
|
|
|
|
2022-08-03 10:56:51 +00:00
|
|
|
[metrics]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 9000
|
|
|
|
|
2021-10-28 11:01:56 +00:00
|
|
|
[database]
|
|
|
|
type = "postgres"
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
database = "graph-test-watcher"
|
|
|
|
username = "postgres"
|
|
|
|
password = "postgres"
|
|
|
|
synchronize = true
|
|
|
|
logging = false
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
[upstream.ethServer]
|
|
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
|
|
rpcProviderEndpoint = "http://127.0.0.1:8081"
|
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/graph-test-watcher-job-queue"
|
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
2021-12-13 10:56:01 +00:00
|
|
|
eventsInBatch = 50
|
2022-10-20 13:16:56 +00:00
|
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
prefetchBlocksInMem = true
|
|
|
|
prefetchBlockCount = 10
|