Documentation ¶
Index ¶
- func CalcBaseFee(config *params.ChainConfig, parent *types.WorkObject) *big.Int
- func CalculateReward(header *types.WorkObjectHeader) *big.Int
- func FindMinDenominations(reward *big.Int) map[uint8]uint8
- func QiToQuai(currentHeader *types.WorkObjectHeader, qiAmt *big.Int) *big.Int
- func QuaiToQi(currentHeader *types.WorkObjectHeader, quaiAmt *big.Int) *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcBaseFee ¶
func CalcBaseFee(config *params.ChainConfig, parent *types.WorkObject) *big.Int
CalcBaseFee calculates the basefee of the header taking into account the basefee ceiling
func CalculateReward ¶
func CalculateReward(header *types.WorkObjectHeader) *big.Int
func FindMinDenominations ¶ added in v0.29.0
FindMinDenominations finds the minimum number of denominations to make up the reward
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.