ipld-eth-state-snapshot/environments/example.toml

41 lines
997 B
TOML
Raw Normal View History

2020-07-15 04:43:11 +00:00
[database]
2023-05-12 15:41:18 +00:00
name = "cerc_testing"
hostname = "localhost"
2023-05-12 15:41:18 +00:00
port = 8077
user = "vdbm"
password = "password"
2020-07-15 04:43:11 +00:00
[leveldb]
2023-05-12 15:41:18 +00:00
path = "/Users/user/go/src/github.com/cerc-io/ipld-eth-state-snapshot/fixture/chain2data"
ancient = "/Users/user/go/src/github.com/cerc-io/ipld-eth-state-snapshot/fixture/chain2data/ancient"
2022-04-04 19:35:18 +00:00
[log]
level = "info"
2023-08-04 12:36:56 +00:00
file = "" # Leave blank to output to stdout
2020-07-15 04:43:11 +00:00
[prom]
metrics = true
http = true
httpAddr = "0.0.0.0"
httpPort = 9101
dbStats = true
2020-07-15 04:43:11 +00:00
[snapshot]
mode = "file"
workers = 4
2023-05-12 15:41:18 +00:00
blockHeight = 32
recoveryFile = "recovery_file"
startHeight = 1
endHeight = 12
[file]
outputDir = "output_dir/"
[ethereum]
clientName = "Geth" # $ETH_CLIENT_NAME
nodeID = "arch1" # $ETH_NODE_ID
networkID = "1" # $ETH_NETWORK_ID
chainID = "1" # $ETH_CHAIN_ID
genesisBlock = "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" # $ETH_GENESIS_BLOCK