pricediscovery

package
v0.2403.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package pricediscovery implements gas price discovery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, client consensus.ClientBackend, fallbackGasPrice uint64) (consensus.PriceDiscovery, error)

New creates a new dynamic price discovery implementation.

func NewStatic

func NewStatic(price uint64) (consensus.PriceDiscovery, error)

NewStatic creates a price discovery mechanism which always returns the same static price specified at construction time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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