eip1559

package
v0.0.0-...-25851fc Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcBaseFee

func CalcBaseFee(config *params.ChainConfig, parent *types.Header, time uint64) *big.Int

CalcBaseFee calculates the basefee of the header. The time belongs to the new block to check if Canyon is activted or not

func VerifyEIP1559Header

func VerifyEIP1559Header(config *params.ChainConfig, parent, header *types.Header) error

VerifyEIP1559Header verifies some header attributes which were changed in EIP-1559, - gas limit check - basefee check

Types

This section is empty.

Jump to

Keyboard shortcuts

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