Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cmd): add startup flags and embed genesis file #41

Merged
merged 6 commits into from
Mar 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chg: update donau network gas price config
bladehan1 committed Mar 16, 2023
commit 3af397ff4bcd0b3656d5879e9cf71b7fb0e7e385
5 changes: 3 additions & 2 deletions cmd/geth/config.go
Original file line number Diff line number Diff line change
@@ -352,9 +352,10 @@ func setDefaultBttcDonauGethConfig(ctx *cli.Context, config *gethConfig) {
config.Node.AllowUnprotectedTxs = true
config.Eth.RPCTxFeeCap = 0
config.Eth.Miner.GasCeil = 20000000
config.Eth.Miner.GasPrice = big.NewInt(300000000000000)
config.Eth.Miner.GasPrice = big.NewInt(9000000000000000)
//--miner.gastarget is depreceated, No longed used
config.Eth.GPO.MaxPrice = big.NewInt(500000000000000)
config.Eth.GPO.MaxPrice = big.NewInt(15000000000000000)
config.Eth.TxPool.PriceLimit = 9000000000000000
config.Eth.TxPool.NoLocals = true
config.Eth.TxPool.AccountSlots = 16
config.Eth.TxPool.GlobalSlots = 131072