fee

package
v0.21.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 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