2021-05-28 11:26:40 +00:00
|
|
|
[server]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3001
|
2021-07-28 04:34:07 +00:00
|
|
|
mode = "eth_call"
|
2023-01-10 14:40:27 +00:00
|
|
|
kind = "active"
|
2021-05-28 11:26:40 +00:00
|
|
|
|
2022-08-03 10:56:51 +00:00
|
|
|
[metrics]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 9000
|
2022-11-22 11:34:38 +00:00
|
|
|
[metrics.gql]
|
|
|
|
port = 9001
|
2022-08-03 10:56:51 +00:00
|
|
|
|
2021-06-03 12:01:21 +00:00
|
|
|
[database]
|
2021-06-04 09:49:30 +00:00
|
|
|
type = "postgres"
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
database = "erc20-watcher"
|
|
|
|
username = "postgres"
|
|
|
|
password = "postgres"
|
2021-06-03 12:01:21 +00:00
|
|
|
synchronize = true
|
2021-06-09 09:41:05 +00:00
|
|
|
logging = false
|
2021-05-28 11:26:40 +00:00
|
|
|
|
|
|
|
[upstream]
|
2021-07-15 07:40:07 +00:00
|
|
|
[upstream.ethServer]
|
|
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
2021-08-10 10:23:59 +00:00
|
|
|
rpcProviderEndpoint = "http://127.0.0.1:8081"
|
2021-05-28 11:26:40 +00:00
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
2021-06-08 10:37:52 +00:00
|
|
|
enabled = false
|
2021-05-28 11:26:40 +00:00
|
|
|
deleteOnStart = false
|
2021-09-21 11:13:55 +00:00
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/erc20-watcher-job-queue"
|
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
2021-12-10 05:14:10 +00:00
|
|
|
eventsInBatch = 50
|
2022-10-20 13:16:56 +00:00
|
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
prefetchBlocksInMem = true
|
|
|
|
prefetchBlockCount = 10
|