gas

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasPrice

type GasPrice struct {
	Slow   string
	Median string
	Fast   string
}

type Tracker

type Tracker struct {
	// contains filtered or unexported fields
}

func NewTracker

func NewTracker(
	state storage.IState,
	stats storage.IBlockStats,
	tx storage.ITx,
	observer *bus.Observer,
) *Tracker

func (*Tracker) Close

func (tracker *Tracker) Close() error

func (*Tracker) Init

func (tracker *Tracker) Init(ctx context.Context) error

func (*Tracker) Start

func (tracker *Tracker) Start(ctx context.Context)

func (*Tracker) State

func (tracker *Tracker) State() GasPrice

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL