misc

package
v0.17.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: GPL-3.0 Imports: 4 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 taking into account the basefee ceiling

func CalculateReward

func CalculateReward(header *types.Header) *big.Int

CalculateReward calculates the coinbase rewards depending on the type of the block

Types

This section is empty.

Jump to

Keyboard shortcuts

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