fee

package
v0.21.6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: LGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SignatureAdditionalSize = 67
)

Variables

View Source
var (
	MinFeePerByte = big.NewInt(1e+2)
)

Functions

func CalculateCost

func CalculateCost(networkSize int, feePerByte *big.Int, tx *types.Transaction) *big.Int

func CalculateFee

func CalculateFee(networkSize int, feePerByte *big.Int, tx *types.Transaction) *big.Int

func GetFeePerByteForNetwork added in v0.20.0

func GetFeePerByteForNetwork(networkSize int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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