mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 12:56:20 +00:00
nikugogoi
012d2e1a47
* Update demo for IPLD blocks * Add update for custom properties in state diff * Implement custom update of transfer counter in state diff * Comment code for updating custom state prop * Separate markdown for erc721-watcher Demo * Run workflow on main branch commit
42 lines
933 B
TOML
42 lines
933 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3006
|
|
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"
|
|
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "erc721-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"
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/erc721-watcher-job-queue"
|
|
maxCompletionLagInSecs = 300
|
|
jobDelayInMilliSecs = 100
|
|
eventsInBatch = 50
|