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
commit 7760a60794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,