Run NodesReferencevmsEvm

lp226

LP-226 implements the dynamic minimum block delay mechanism specified here: https://github.com/luxfi/lps/blob/main/LPs/226-dynamic-minimum-block-times/README.md

import "github.com/luxfi/node/vms/evm/lp226"

LP-226 implements the dynamic minimum block delay mechanism specified here: https://github.com/luxfi/lps/blob/main/LPs/226-dynamic-minimum-block-times/README.md

Functions

DesiredDelayExcess

func DesiredDelayExcess(desiredDelay uint64) uint64

DesiredDelayExcess calculates the optimal delay excess given the desired delay.

Types

DelayExcess

DelayExcess represents the excess for delay calculation in the dynamic minimum block delay mechanism.

func (t DelayExcess) Delay() uint64
func (t *DelayExcess) UpdateDelayExcess(desiredDelayExcess uint64)