Skip to content

Commit

Permalink
No more free gas (ethereum#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb authored Mar 21, 2019
1 parent 2f4848b commit 94fd1b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/eth/downloader"
"github.com/ethereum/go-ethereum/eth/gasprice"
"github.com/ethereum/go-ethereum/params"
)

// DefaultConfig contains default settings for use on the Ethereum main net.
Expand All @@ -48,15 +49,15 @@ var DefaultConfig = Config{
TrieTimeout: 60 * time.Minute,
MinerGasFloor: 8000000,
MinerGasCeil: 8000000,
MinerGasPrice: big.NewInt(0), // Always free gas
MinerGasPrice: big.NewInt(params.GWei),
MinerRecommit: 3 * time.Second,
MinerVerificationServiceUrl: "https://mining-pool.celo.org/v0.1/sms",

TxPool: core.DefaultTxPoolConfig,
GPO: gasprice.Config{
Blocks: 20,
Percentile: 60,
AlwaysZero: true, // Always free gas
AlwaysZero: false,
},
}

Expand Down

0 comments on commit 94fd1b7

Please sign in to comment.