gaspricer

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gaspricer is used to multiply the gas price by a configurable factor. This is needed because the give price returned from SuggestGasPrice is too low (at least on goerli)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adjust

func Adjust(price *big.Int) *big.Int

Adjust multiplies the given gas price by the configured multiplier. place.

func SetMultiplier

func SetMultiplier(f float64) error

SetMultiplier sets the gas price multiplier. This is a global setting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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