2021-11-16 09:17:03 +00:00
|
|
|
[server]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3012
|
|
|
|
kind = "active"
|
|
|
|
|
|
|
|
# Checkpointing state.
|
|
|
|
checkpointing = true
|
|
|
|
|
|
|
|
# Checkpoint interval in number of blocks.
|
|
|
|
checkpointInterval = 2000
|
|
|
|
|
|
|
|
# IPFS API address (can be taken from the output on running the IPFS daemon).
|
|
|
|
ipfsApiAddr = "/ip4/127.0.0.1/tcp/5001"
|
2021-12-21 10:28:17 +00:00
|
|
|
|
2021-11-16 09:17:03 +00:00
|
|
|
subgraphPath = "../graph-node/test/subgraph/eden"
|
2021-12-21 10:28:17 +00:00
|
|
|
wasmRestartBlocksInterval = 20
|
2021-11-16 09:17:03 +00:00
|
|
|
|
|
|
|
[database]
|
|
|
|
type = "postgres"
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
database = "eden-watcher"
|
|
|
|
username = "postgres"
|
|
|
|
password = "postgres"
|
|
|
|
synchronize = true
|
|
|
|
logging = false
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
[upstream.ethServer]
|
|
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
|
|
gqlPostgraphileEndpoint = "http://127.0.0.1:5000/graphql"
|
|
|
|
rpcProviderEndpoint = "http://127.0.0.1:8081"
|
|
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/eden-watcher-job-queue"
|
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
2021-12-13 10:56:01 +00:00
|
|
|
eventsInBatch = 50
|