b241bf05eb
* Add command to take an in-place snapshot * Add test data for in place snapshot unit test * Implement unit test for inplace snapshot * Add check for storage IPLD * Run unit tests sequentially * Add github workflow for unit test * Add missing checks for state and storage cid fields * Add more storage nodes to test * Update ipld-eth-db version for tests * Add comments for inplace snapshot test data * Add in-place snapshot cmd in readme * Implement defer pattern for db transaction * Log transaction commit or rollback error Co-authored-by: nabarun <nabarun@deepstacksoft.com>
40 lines
871 B
TOML
40 lines
871 B
TOML
[database]
|
|
name = "vulcanize_public"
|
|
hostname = "localhost"
|
|
port = 5432
|
|
user = "postgres"
|
|
|
|
[leveldb]
|
|
path = "/Users/iannorden/Library/Ethereum/geth/chaindata"
|
|
ancient = "/Users/iannorden/Library/Ethereum/geth/chaindata/ancient"
|
|
|
|
[log]
|
|
level = "info"
|
|
file = "log_file"
|
|
|
|
[prom]
|
|
metrics = true
|
|
http = true
|
|
httpAddr = "0.0.0.0"
|
|
httpPort = 9101
|
|
dbStats = true
|
|
|
|
[snapshot]
|
|
mode = "file"
|
|
workers = 4
|
|
blockHeight = -1
|
|
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
|