mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
update: default sync mode to snap
This commit is contained in:
parent
00b5788793
commit
73af371938
1 changed files with 2 additions and 2 deletions
|
|
@ -347,7 +347,7 @@ func setDefaultMumbaiGethConfig(ctx *cli.Context, config *gethConfig) {
|
|||
config.Node.HTTPPort = 8545
|
||||
config.Node.IPCPath = utils.MakeDataDir(ctx) + "/bor.ipc"
|
||||
config.Node.HTTPModules = []string{"eth", "net", "web3", "txpool", "bor"}
|
||||
config.Eth.SyncMode = downloader.FullSync
|
||||
config.Eth.SyncMode = downloader.SnapSync
|
||||
config.Eth.NetworkId = 80001
|
||||
config.Eth.Miner.GasCeil = 20000000
|
||||
//--miner.gastarget is depreceated, No longed used
|
||||
|
|
@ -370,7 +370,7 @@ func setDefaultBorMainnetGethConfig(ctx *cli.Context, config *gethConfig) {
|
|||
config.Node.HTTPPort = 8545
|
||||
config.Node.IPCPath = utils.MakeDataDir(ctx) + "/bor.ipc"
|
||||
config.Node.HTTPModules = []string{"eth", "net", "web3", "txpool", "bor"}
|
||||
config.Eth.SyncMode = downloader.FullSync
|
||||
config.Eth.SyncMode = downloader.SnapSync
|
||||
config.Eth.NetworkId = 137
|
||||
config.Eth.Miner.GasCeil = 20000000
|
||||
//--miner.gastarget is depreceated, No longed used
|
||||
|
|
|
|||
Loading…
Reference in a new issue