good morning!!!!

Skip to content
Snippets Groups Projects
Commit af85d8e2 authored by Gary Rong's avatar Gary Rong Committed by Péter Szilágyi
Browse files

cmd, eth: apply default miner recommit setting (#17479)

parent 6a8b47c8
Branches
Tags
No related merge requests found
......@@ -367,7 +367,7 @@ var (
MinerRecommitIntervalFlag = cli.DurationFlag{
Name: "miner.recommit",
Usage: "Time interval to recreate the block being mined.",
Value: 3 * time.Second,
Value: eth.DefaultConfig.MinerRecommit,
}
// Account settings
UnlockedAccountFlag = cli.StringFlag{
......
......@@ -49,6 +49,7 @@ var DefaultConfig = Config{
TrieCache: 256,
TrieTimeout: 60 * time.Minute,
MinerGasPrice: big.NewInt(18 * params.Shannon),
MinerRecommit: 3 * time.Second,
TxPool: core.DefaultTxPoolConfig,
GPO: gasprice.Config{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment