Merge pull request #22973 from karalabe/the-switch

eth/ethconfig: flip the default from fast to snap sync
This commit is contained in:
Péter Szilágyi
2021-06-03 12:05:08 +03:00
committed by GitHub

View File

@ -57,7 +57,7 @@ var LightClientGPO = gasprice.Config{
// Defaults contains default settings for use on the Ethereum main net. // Defaults contains default settings for use on the Ethereum main net.
var Defaults = Config{ var Defaults = Config{
SyncMode: downloader.FastSync, SyncMode: downloader.SnapSync,
Ethash: ethash.Config{ Ethash: ethash.Config{
CacheDir: "ethash", CacheDir: "ethash",
CachesInMem: 2, CachesInMem: 2,