Sample configuration
Sample Fast Sync configurations for Nethermind
mainnet.cfg
goerli.cfg
rinkeby.cfg
ropsten.cfg
mainnet_env
1
{
2
"Init": {
3
"ChainSpecPath": "chainspec/foundation.json",
4
"GenesisHash": "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
5
"BaseDbPath": "nethermind_db/mainnet",
6
"LogFileName": "mainnet.logs.txt",
7
"MemoryHint": 2048000000
8
},
9
"Network": {
10
"ActivePeersMaxCount": 100
11
},
12
"Sync": {
13
"FastSync": true,
14
"PivotNumber": 14957000,
15
"PivotHash": "0x7ce2c9cb601721e33ee6313e91b30c9f035b74ee282402b5bdfb1095c572acd7",
16
"PivotTotalDifficulty": "51613742220579521774353",
17
"FastBlocks": true,
18
"AncientBodiesBarrier": 11052984,
19
"AncientReceiptsBarrier": 11052984,
20
"WitnessProtocolEnabled": true
21
},
22
"EthStats": {
23
"Server": "wss://ethstats.net/api"
24
},
25
"Metrics": {
26
"NodeName": "Mainnet"
27
}
28
}
Copied!
1
{
2
"Init": {
3
"ChainSpecPath": "chainspec/goerli.json",
4
"GenesisHash": "0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a",
5
"BaseDbPath": "nethermind_db/goerli",
6
"LogFileName": "goerli.logs.txt",
7
"MemoryHint": 768000000
8
},
9
"TxPool": {
10
"Size": 1024
11
},
12
"Db": {
13
"EnableMetricsUpdater": true
14
},
15
"Sync": {
16
"FastSync": true,
17
"PivotNumber": 7020000,
18
"PivotHash": "0x6a9c8d32cb58fb0966b358896ed73f2ee2d80ea10bc08d3af669349b6e15d10d",
19
"PivotTotalDifficulty": "10292996",
20
"FastBlocks": true,
21
"UseGethLimitsInFastBlocks": true,
22
"WitnessProtocolEnabled": true
23
},
24
"EthStats": {
25
"Server": "wss://stats.goerli.net/api",
26
"Name": "Nethermind"
27
},
28
"Metrics": {
29
"NodeName": "Goerli"
30
},
31
"Bloom": {
32
"IndexLevelBucketSizes": [
33
16,
34
16,
35
16,
36
16
37
]
38
}
39
}
Copied!
1
{
2
"Init": {
3
"ChainSpecPath": "chainspec/rinkeby.json",
4
"GenesisHash": "0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177",
5
"BaseDbPath": "nethermind_db/rinkeby",
6
"LogFileName": "rinkeby.logs.txt",
7
"MemoryHint": 1024000000
8
},
9
"TxPool": {
10
"Size": 1024
11
},
12
"Sync": {
13
"FastSync": true,
14
"PivotNumber": 10830000,
15
"PivotHash": "0x97c25f216055aa5f8a5e297f9da156f8d13b3f8cdc99501eef909cad37815012",
16
"PivotTotalDifficulty": "17817997",
17
"FastBlocks": true
18
},
19
"Metrics": {
20
"NodeName": "Rinkeby"
21
}
22
}
Copied!
1
{
2
"Init": {
3
"ChainSpecPath": "chainspec/ropsten.json",
4
"GenesisHash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
5
"BaseDbPath": "nethermind_db/ropsten",
6
"LogFileName": "ropsten.logs.txt",
7
"MemoryHint": 1024000000
8
},
9
"TxPool": {
10
"Size": 1024
11
},
12
"Sync": {
13
"FastSync": true,
14
"FastBlocks": true,
15
"UseGethLimitsInFastBlocks": true,
16
"PivotNumber": 12380000,
17
"PivotHash": "0x03075224249c46f94300f689e8a38b54929244379e046b3bae4c3dd37a1aeca1",
18
"PivotTotalDifficulty": "50000820485795157"
19
},
20
"EthStats": {
21
"Server": "ws://ropsten-stats.parity.io/api"
22
},
23
"Metrics": {
24
"NodeName": "Ropsten"
25
},
26
"JsonRpc": {
27
"Enabled": true,
28
"Timeout": 20000,
29
"Host": "127.0.0.1",
30
"Port": 8545,
31
"EnabledModules": [
32
"Eth",
33
"Subscribe",
34
"Trace",
35
"TxPool",
36
"Web3",
37
"Personal",
38
"Proof",
39
"Net",
40
"Parity",
41
"Health"
42
],
43
"AdditionalRpcUrls": [
44
"http://localhost:8551|http;ws|net;eth;subscribe;engine;web3;client"
45
]
46
},
47
"Merge": {
48
"Enabled": true
49
}
50
}
Copied!
1
NETHERMIND_CONFIG=mainnet
2
NETHERMIND_LOG_LEVEL=INFO
3
NETHERMIND_JSONRPCCONFIG_ENABLEDMODULES=[Web3,Eth,Subscribe,Net]
4
NETHERMIND_METRICSCONFIG_ENABLED=false
5
NETHERMIND_METRICSCONFIG_NODENAME=Nethermind
6
NETHERMIND_METRICSCONFIG_PUSHGATEWAYURL=http://localhost:9090/metrics
7
NETHERMIND_HEALTHCHECKSCONFIG_ENABLED=false
8
NETHERMIND_PRUNINGCONFIG_CACHEMB=2048
9
NETHERMIND_ETHSTATSCONFIG_ENABLED=false
10
NETHERMIND_ETHSTATSCONFIG_SERVER=http://localhost:3000/api
11
NETHERMIND_ETHSTATSCONFIG_NAME=Nethermind
12
NETHERMIND_ETHSTATSCONFIG_SECRET=secret
14
NETHERMIND_SYNCCONFIG_FASTSYNC=true
15
NETHERMIND_SYNCCONFIG_PIVOTNUMBER=13486000
16
NETHERMIND_SYNCCONFIG_PIVOTHASH=0x98a267b3c1d4d6f543bdf542ced1066e55185a87c67b059ec7f406b64b30cac9
17
NETHERMIND_SYNCCONFIG_PIVOTTOTALDIFFICULTY=33073173643303586419891
18
NETHERMIND_SYNCCONFIG_FASTBLOCKS=true
19
NETHERMIND_SYNCCONFIG_DOWNLOADBODIESINFASTSYNC=true
20
NETHERMIND_SYNCCONFIG_DOWNLOADRECEIPTSINFASTSYNC=true
21
NETHERMIND_SYNCCONFIG_ANCIENTBODIESBARRIER=11052984
22
NETHERMIND_SYNCCONFIG_ANCIENTRECEIPTSBARRIER=11052984
23
NETHERMIND_SYNCCONFIG_USEGETHLIMITSINFASTBLOCKS=true
24
NETHERMIND_SYNCCONFIG_WITNESSPROTOCOLENABLED=true
Copied!
Copy link