mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-27 22:28:21 +00:00
24 lines
449 B
Go
24 lines
449 B
Go
package gaspricecfg
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ledgerwatch/erigon/params"
|
|
)
|
|
|
|
var DefaultIgnorePrice = big.NewInt(2 * params.Wei)
|
|
|
|
var (
|
|
DefaultMaxPrice = big.NewInt(500 * params.GWei)
|
|
)
|
|
|
|
type Config struct {
|
|
Blocks int
|
|
Percentile int
|
|
MaxHeaderHistory int
|
|
MaxBlockHistory int
|
|
Default *big.Int `toml:",omitempty"`
|
|
MaxPrice *big.Int `toml:",omitempty"`
|
|
IgnorePrice *big.Int `toml:",omitempty"`
|
|
}
|