package eip1559

import "github.com/ethereum/go-ethereum/consensus/misc/eip1559"

Index

Functions

func CalcBaseFee

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

CalcBaseFee calculates the basefee of the header.

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

Source Files

eip1559.go

Version
v1.15.11 (latest)
Published
May 5, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
21 hours ago

Tools for package owners.