forked from cerc-io/ipld-eth-server
46 lines
1.6 KiB
TOML
46 lines
1.6 KiB
TOML
[database]
|
|
name = "vulcanize_public" # $DATABASE_NAME
|
|
hostname = "localhost" # $DATABASE_HOSTNAME
|
|
port = 5432 # $DATABASE_PORT
|
|
user = "vdbm" # $DATABASE_USER
|
|
password = "" # $DATABASE_PASSWORD
|
|
|
|
[database.sync]
|
|
maxIdle = 1
|
|
[database.backFill]
|
|
maxIdle = 5
|
|
|
|
[resync]
|
|
chain = "ethereum" # $RESYNC_CHAIN
|
|
type = "state" # $RESYNC_TYPE
|
|
start = 0 # $RESYNC_START
|
|
stop = 0 # $RESYNC_STOP
|
|
batchSize = 5 # $RESYNC_BATCH_SIZE
|
|
batchNumber = 5 # $RESYNC_BATCH_NUMBER
|
|
timeout = 300 # $HTTP_TIMEOUT
|
|
clearOldCache = true # $RESYNC_CLEAR_OLD_CACHE
|
|
resetValidation = true # $RESYNC_RESET_VALIDATION
|
|
|
|
[superNode]
|
|
chain = "ethereum" # $SUPERNODE_CHAIN
|
|
server = true # $SUPERNODE_SERVER
|
|
ipcPath = "~/.vulcanize/vulcanize.ipc" # $SUPERNODE_IPC_PATH
|
|
wsPath = "127.0.0.1:8081" # $SUPERNODE_WS_PATH
|
|
httpPath = "127.0.0.1:8082" # $SUPERNODE_HTTP_PATH
|
|
sync = true # $SUPERNODE_SYNC
|
|
workers = 1 # $SUPERNODE_WORKERS
|
|
backFill = true # $SUPERNODE_BACKFILL
|
|
frequency = 15 # $SUPERNODE_FREQUENCY
|
|
batchSize = 5 # $SUPERNODE_BATCH_SIZE
|
|
batchNumber = 5 # $SUPERNODE_BATCH_NUMBER
|
|
timeout = 300 # $HTTP_TIMEOUT
|
|
validationLevel = 1 # $SUPERNODE_VALIDATION_LEVEL
|
|
|
|
[ethereum]
|
|
wsPath = "127.0.0.1:8546" # $ETH_WS_PATH
|
|
httpPath = "127.0.0.1:8545" # $ETH_HTTP_PATH
|
|
nodeID = "arch1" # $ETH_NODE_ID
|
|
clientName = "Geth" # $ETH_CLIENT_NAME
|
|
genesisBlock = "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" # $ETH_GENESIS_BLOCK
|
|
networkID = "1" # $ETH_NETWORK_ID
|