params

package
v1.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// MaxGasPowerUsed - max value of Gas Power used in one event
	MaxGasPowerUsed = 10000000 + EventGas
	MaxExtraData    = 128 // it has fair gas cost, so it's fine to have a high limit

	EventGas  = 28000
	ParentGas = 2400
	// ExtraDataGas is cost per byte of extra event data. It's higher than regular data price, because it's a part of the header
	ExtraDataGas = 150

	TxGas = params.TxGas
)

gas settings

Variables

This section is empty.

Functions

func MaxGasLimit

func MaxGasLimit() uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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