package
2.2.0+incompatible
Repository: https://github.com/dispatchlabs/disgo.git
Documentation: pkg.go.dev

# Constants

Gas needed for an elliptic curve addition.
Base price for an elliptic curve pairing check.
Per-point price for an elliptic curve pairing check.
Gas needed for an elliptic curve scalar multiplication.
Maximum depth of call/create stack.
Once per CALL operation & message call transaction.
Paid for CALL when the destination address didn't exist prior.
Free gas given at beginning of call.
Paid for CALL when the value transfer is non-zero.
.
.
Once per CREATE operation & contract-creation transaction.
Elliptic curve sender recovery gas price.
Duration between proof-of-work epochs.
Times ceil(log256(exponent)) for the EXP instruction.
Once per EXP instruction.
The bound divisor of the gas limit, used in update calculations.
Gas limit of the Genesis block.
Base price for a data copy operation.
Per-work price for a data copy operation.
Refunded gas, once per SSTORE operation if the zeroness changes to zero.
Per byte in a LOG* operation's data.
Per LOG* operation.
Multiplied by the * of the LOG*, per LOG transaction.
Maximum bytecode to permit for a contract.
Maximum size extra data may be after Genesis.
Times the address of the (highest referenced byte in memory + 1).
Minimum the gas limit may ever be.
Divisor for the quadratic particle of the big int modular exponentiation.
Divisor for the quadratic particle of the memory cost equation.
Base price for a RIPEMD160 operation.
Per-word price for a RIPEMD160 operation.
Base price for a SHA256 operation.
Per-word price for a SHA256 operation.
Once per SHA3 operation.
Once per word of the SHA3 operation's data.
Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added.
Once per SSTORE operation if the zeroness doesn't change.
Once per SSTORE operation if the zeroness changes to zero.
Once per SSTORE operation if the zeroness changes from zero.
Once per SLOAD operation.
Maximum size of VM stack allowed.
Refunded following a suicide operation.
Once per operation, for a selection of them.
Per byte of data attached to a transaction that is not equal to zero.
Per byte of data attached to a transaction that equals zero.
Per transaction not creating a contract.
Per transaction that creates a contract.

# Variables

AllCliqueProtocolChanges contains every protocol change (EIPs) introduced and accepted by the Ethereum core developers into the Clique consensus.
AllEthashProtocolChanges contains every protocol change (EIPs) introduced and accepted by the Ethereum core developers into the Ethash consensus.
The bound divisor of the difficulty, used in the update calculations.
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
GasTableHomestead contain the gas re-prices for the homestead phase.
No description provided by the author
GasTableHomestead contain the gas prices for the homestead phase.
Difficulty of the Genesis block.
MainnetChainConfig is the chain parameters to run a node on the main network.
Mainnet genesis hash to enforce below configs on.
The minimum that the difficulty may ever be.
RinkebyChainConfig contains the chain parameters to run a node on the Rinkeby test network.
The artificial target.
No description provided by the author
TestnetChainConfig contains the chain parameters to run a node on the Ropsten test network.
Testnet genesis hash to enforce below configs on.
No description provided by the author

# Structs

ChainConfig is the core config which determines the blockchain settings.
CliqueConfig is the consensus engine configs for proof-of-authority based sealing.
ConfigCompatError is raised if the locally-stored blockchain is initialised with a ChainConfig that would alter the past.
EthashConfig is the consensus engine configs for proof-of-work based sealing.
No description provided by the author
Rules wraps ChainConfig and is merely syntatic sugar or can be used for functions that do not have or require information about the block.