Sample configuration
Sample Fast Sync configurations for Nethermind
mainnet.cfg
goerli.cfg
rinkeby.cfg
ropsten.cfg
mainnet_env
{
"Init": {
"ChainSpecPath": "chainspec/foundation.json",
"GenesisHash": "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
"BaseDbPath": "nethermind_db/mainnet",
"LogFileName": "mainnet.logs.txt",
"MemoryHint": 2048000000
},
"Network": {
"ActivePeersMaxCount": 100
},
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 15476000,
"PivotHash": "0x1a68bf542576ef0388768a08fc3243ed525d80c3c3334fc778a8a62f4b90a190",
"PivotTotalDifficulty": "57998979804538619603632",
"FastBlocks": true,
"AncientBodiesBarrier": 11052984,
"AncientReceiptsBarrier": 11052984,
"FastSyncCatchUpHeightDelta": "10000000000"
},
"EthStats": {
"Server": "wss://ethstats.net/api"
},
"Metrics": {
"NodeName": "Mainnet"
},
"JsonRpc": {
"Enabled": true,
"Timeout": 20000,
"Host": "127.0.0.1",
"Port": 8545,
"AdditionalRpcUrls": [
"http://localhost:8551|http;ws|net;eth;subscribe;engine;web3;client"
]
},
"Merge": {
"Enabled": true
}
}
{
"Init": {
"ChainSpecPath": "chainspec/goerli.json",
"GenesisHash": "0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a",
"BaseDbPath": "nethermind_db/goerli",
"LogFileName": "goerli.logs.txt",
"MemoryHint": 768000000
},
"TxPool": {
"Size": 1024
},
"Db": {
"EnableMetricsUpdater": true
},
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 7500000,
"PivotHash": "0xe24368e13bc9b711f6d4dd4d232d5284d0cef665acf244b913ff9bad674dd29a",
"PivotTotalDifficulty": "10790000",
"FastBlocks": true,
"UseGethLimitsInFastBlocks": true,
"FastSyncCatchUpHeightDelta": "10000000000"
},
"EthStats": {
"Server": "wss://stats.goerli.net/api",
"Name": "Nethermind"
},
"Metrics": {
"NodeName": "Goerli"
},
"Bloom": {
"IndexLevelBucketSizes": [
16,
16,
16,
16
]
},
"JsonRpc": {
"Enabled": true,
"Timeout": 20000,
"Host": "127.0.0.1",
"Port": 8545,
"AdditionalRpcUrls": [
"http://localhost:8551|http;ws|net;eth;subscribe;engine;web3;client"
]
},
"Merge": {
"Enabled": true
}
}
{
"Init": {
"ChainSpecPath": "chainspec/rinkeby.json",
"GenesisHash": "0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177",
"BaseDbPath": "nethermind_db/rinkeby",
"LogFileName": "rinkeby.logs.txt",
"MemoryHint": 1024000000
},
"TxPool": {
"Size": 1024
},
"Sync": {
"FastSync": true,
"PivotNumber": 11310000,
"PivotHash": "0x2ccbad29f296923c58a0923750a88f9681456108b567c4e1a91b7639f0ec5232",
"PivotTotalDifficulty": "18434720",
"FastBlocks": true
},
"Metrics": {
"NodeName": "Rinkeby"
}
}
{
"Init": {
"ChainSpecPath": "chainspec/ropsten.json",
"GenesisHash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"BaseDbPath": "nethermind_db/ropsten",
"LogFileName": "ropsten.logs.txt",
"MemoryHint": 1024000000
},
"TxPool": {
"Size": 1024
},
"Sync": {
"FastSync": true,
"SnapSync": true,
"FastBlocks": true,
"UseGethLimitsInFastBlocks": true,
"PivotNumber": 12920000,
"PivotHash": "0xc3b7093a878c572356ea2305c70da25e7fa3240cead3537eb407acced42d0a64",
"PivotTotalDifficulty": "50000820485795157",
"FastSyncCatchUpHeightDelta": "10000000000"
},
"EthStats": {
"Server": "ws://localhost:3000/api"
},
"Metrics": {
"NodeName": "Ropsten"
},
"JsonRpc": {
"Enabled": true,
"Timeout": 20000,
"Host": "127.0.0.1",
"Port": 8545,
"EnabledModules": [
"Eth",
"Subscribe",
"Trace",
"TxPool",
"Web3",
"Personal",
"Proof",
"Net",
"Parity",
"Health"
],
"AdditionalRpcUrls": [
"http://localhost:8551|http;ws|net;eth;subscribe;engine;web3;client"
]
},
"Merge": {
"Enabled": true
}
}
NETHERMIND_CONFIG=mainnet
NETHERMIND_LOG_LEVEL=INFO
NETHERMIND_JSONRPCCONFIG_ENABLEDMODULES=[Web3,Eth,Subscribe,Net]
NETHERMIND_METRICSCONFIG_ENABLED=false
NETHERMIND_METRICSCONFIG_NODENAME=Nethermind
NETHERMIND_METRICSCONFIG_PUSHGATEWAYURL=http://localhost:9090/metrics
NETHERMIND_HEALTHCHECKSCONFIG_ENABLED=false
NETHERMIND_PRUNINGCONFIG_CACHEMB=2048
NETHERMIND_ETHSTATSCONFIG_ENABLED=false
NETHERMIND_ETHSTATSCONFIG_SERVER=http://localhost:3000/api
NETHERMIND_ETHSTATSCONFIG_NAME=Nethermind
NETHERMIND_ETHSTATSCONFIG_SECRET=secret
NETHERMIND_SYNCCONFIG_FASTSYNC=true
NETHERMIND_SYNCCONFIG_PIVOTNUMBER=13486000
NETHERMIND_SYNCCONFIG_PIVOTHASH=0x98a267b3c1d4d6f543bdf542ced1066e55185a87c67b059ec7f406b64b30cac9
NETHERMIND_SYNCCONFIG_PIVOTTOTALDIFFICULTY=33073173643303586419891
NETHERMIND_SYNCCONFIG_FASTBLOCKS=true
NETHERMIND_SYNCCONFIG_DOWNLOADBODIESINFASTSYNC=true
NETHERMIND_SYNCCONFIG_DOWNLOADRECEIPTSINFASTSYNC=true
NETHERMIND_SYNCCONFIG_ANCIENTBODIESBARRIER=11052984
NETHERMIND_SYNCCONFIG_ANCIENTRECEIPTSBARRIER=11052984
NETHERMIND_SYNCCONFIG_USEGETHLIMITSINFASTBLOCKS=true
NETHERMIND_SYNCCONFIG_WITNESSPROTOCOLENABLED=true
Copy link