2023-03-20 12:55:39 +00:00
|
|
|
[server]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 3001
|
|
|
|
kind = "lazy"
|
|
|
|
|
|
|
|
# Checkpointing state.
|
|
|
|
checkpointing = true
|
|
|
|
|
|
|
|
# Checkpoint interval in number of blocks.
|
|
|
|
checkpointInterval = 2000
|
|
|
|
|
|
|
|
# Enable state creation
|
|
|
|
enableState = true
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
[server.p2p]
|
|
|
|
enableRelay = true
|
2023-03-30 04:14:15 +00:00
|
|
|
enablePeer = true
|
2023-03-20 12:55:39 +00:00
|
|
|
|
|
|
|
[server.p2p.relay]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 9090
|
2023-04-12 12:47:13 +00:00
|
|
|
relayPeers = REPLACE_WITH_CERC_RELAY_PEERS
|
2023-05-04 14:30:58 +00:00
|
|
|
denyMultiaddrs = REPLACE_WITH_CERC_DENY_MULTIADDRS
|
2023-04-12 12:47:13 +00:00
|
|
|
peerIdFile = './peers/relay-id.json'
|
|
|
|
announce = 'REPLACE_WITH_CERC_RELAY_ANNOUNCE_DOMAIN'
|
2023-03-20 12:55:39 +00:00
|
|
|
enableDebugInfo = true
|
|
|
|
|
|
|
|
[server.p2p.peer]
|
2023-04-12 12:47:13 +00:00
|
|
|
relayMultiaddr = 'REPLACE_WITH_CERC_RELAY_MULTIADDR'
|
2023-03-20 12:55:39 +00:00
|
|
|
pubSubTopic = 'mobymask'
|
2023-05-04 14:30:58 +00:00
|
|
|
denyMultiaddrs = REPLACE_WITH_CERC_DENY_MULTIADDRS
|
2023-04-12 12:47:13 +00:00
|
|
|
peerIdFile = './peers/peer-id.json'
|
2023-03-20 12:55:39 +00:00
|
|
|
enableDebugInfo = true
|
2023-04-11 10:51:03 +00:00
|
|
|
enableL2Txs = REPLACE_WITH_CERC_ENABLE_PEER_L2_TXS
|
2023-04-10 05:12:56 +00:00
|
|
|
|
|
|
|
[server.p2p.peer.l2TxsConfig]
|
2023-04-11 10:51:03 +00:00
|
|
|
privateKey = 'REPLACE_WITH_CERC_PRIVATE_KEY_PEER'
|
2023-04-10 05:12:56 +00:00
|
|
|
contractAddress = 'REPLACE_WITH_CONTRACT_ADDRESS'
|
2023-03-20 12:55:39 +00:00
|
|
|
|
|
|
|
[metrics]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 9000
|
|
|
|
[metrics.gql]
|
|
|
|
port = 9001
|
|
|
|
|
|
|
|
[database]
|
|
|
|
type = "postgres"
|
|
|
|
host = "mobymask-watcher-db"
|
|
|
|
port = 5432
|
|
|
|
database = "mobymask-watcher"
|
|
|
|
username = "vdbm"
|
|
|
|
password = "password"
|
|
|
|
synchronize = true
|
|
|
|
logging = false
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
[upstream.ethServer]
|
|
|
|
gqlApiEndpoint = "http://ipld-eth-server:8083/graphql"
|
2023-04-11 10:51:03 +00:00
|
|
|
rpcProviderEndpoint = "REPLACE_WITH_CERC_L2_GETH_RPC_ENDPOINT"
|
2023-03-20 12:55:39 +00:00
|
|
|
blockDelayInMilliSecs = 60000
|
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://vdbm:password@mobymask-watcher-db/mobymask-watcher-job-queue"
|
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
|
|
|
eventsInBatch = 50
|