Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GasPriceEstimater ¶
type GasPriceEstimater struct {
// contains filtered or unexported fields
}
func MustNewGasPriceEstimater ¶
func MustNewGasPriceEstimater(cfx sdk.ClientOperator) *GasPriceEstimater
MustNewGasPriceEstimater creates an instance of gas price estimator.
func NewGasPriceEstimater ¶
func NewGasPriceEstimater(cfx sdk.ClientOperator, fromEpoch uint64) *GasPriceEstimater
func (*GasPriceEstimater) Run ¶
func (e *GasPriceEstimater) Run()
Run starts to gather samples from epoch data, collect statistics from samples and then predict gas price estimates.
Click to show internal directories.
Click to hide internal directories.