mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
update default gas limit in config files and docs
This commit is contained in:
parent
515caa4e6e
commit
9bea97a8fb
18 changed files with 18 additions and 18 deletions
|
|
@ -71,7 +71,7 @@ syncmode = "full"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# mine = true
|
||||
# etherbase = "VALIDATOR ADDRESS"
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ devfakeauthor = false # Run miner without validator set authorization
|
|||
mine = false # Enable mining
|
||||
etherbase = "" # Public address for block mining rewards
|
||||
extradata = "" # Block extra data set by the miner (default = client version)
|
||||
gaslimit = 30000000 # Target gas ceiling for mined blocks
|
||||
gaslimit = 45000000 # Target gas ceiling for mined blocks
|
||||
gasprice = "25000000000" # Minimum gas price for mining a transaction. Regardless the value set, it will be enforced to 25000000000 for all networks
|
||||
recommit = "2m5s" # The time interval for miner to re-create mining work
|
||||
commitinterrupt = true # Interrupt the current mining work when time is exceeded and create partial blocks
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ The ```bor server``` command runs the Bor client.
|
|||
|
||||
- ```miner.extradata```: Block extra data set by the miner (default = client version)
|
||||
|
||||
- ```miner.gaslimit```: Target gas ceiling (gas limit) for mined blocks (default: 30000000)
|
||||
- ```miner.gaslimit```: Target gas ceiling (gas limit) for mined blocks (default: 45000000)
|
||||
|
||||
- ```miner.gasprice```: Minimum gas price for mining a transaction (default: 25000000000)
|
||||
|
||||
|
|
|
|||
2
internal/cli/server/testdata/default.toml
vendored
2
internal/cli/server/testdata/default.toml
vendored
|
|
@ -72,7 +72,7 @@ devfakeauthor = false
|
|||
mine = false
|
||||
etherbase = ""
|
||||
extradata = ""
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
recommit = "2m5s"
|
||||
commitinterrupt = true
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ gcmode = "archive"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ syncmode = "full"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ syncmode = "full"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ gcmode = "archive"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ syncmode = "full"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ syncmode = "full"
|
|||
# pricebump = 10
|
||||
|
||||
[miner]
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# mine = false
|
||||
# etherbase = ""
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ syncmode = "full"
|
|||
|
||||
[miner]
|
||||
mine = true
|
||||
gaslimit = 30000000
|
||||
gaslimit = 45000000
|
||||
# gasprice = "25000000000"
|
||||
# etherbase = ""
|
||||
# extradata = ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue