Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTooManyParents = errors.New("event has too many parents") ErrTooBigGasUsed = errors.New("event uses too much gas power") ErrWrongGasUsed = errors.New("event has incorrect gas power") ErrUnderpriced = errors.New("event transaction underpriced") ErrTooBigExtra = errors.New("event extra data is too large") ErrWrongVersion = errors.New("event has wrong version") ErrUnsupportedTxType = errors.New("unsupported tx type") ErrNotRelevant = base.ErrNotRelevant ErrAuth = base.ErrAuth )
Functions ¶
func CalcGasPowerUsed ¶
func CalcGasPowerUsed(e inter.EventPayloadI, rules opera.Rules) uint64
Types ¶
Click to show internal directories.
Click to hide internal directories.