misc

package
v0.0.0-...-eb4623f Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: GPL-3.0 Imports: 3 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) *big.Int

CalcBaseFee calculates the basefee of the header.

func VerifyForkHashes

func VerifyForkHashes(config *params.ChainConfig, header *types.Header, uncle bool) error

VerifyForkHashes verifies that blocks conforming to network hard-forks do have the correct hashes, to avoid clients going off on different chains. This is an optional feature.

Types

This section is empty.

Jump to

Keyboard shortcuts

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