package
4.1.0+incompatible
Repository: https://github.com/fusionfoundation/go-fusion.git
Documentation: pkg.go.dev

# Functions

ArchiveVersion holds the textual version string used for Geth archives.
DAODrainList is the list of accounts whose full balances will be moved into a refund contract at the beginning of the dao-fork block.
No description provided by the author

# Constants

BloomBitsBlocks is the number of blocks a single bloom bit section vector contains on the server side.
BloomBitsBlocksClient is the number of blocks a single bloom bit section vector contains on the light client side.
BloomConfirms is the number of confirmation blocks before a bloom section is considered probably final and its rotated bits are calculated.
BloomTrieFrequency is the block frequency for creating BloomTrie on both server/client sides.
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.
CheckpointFrequency is the block frequency for creating checkpoint.
CheckpointProcessConfirmations is the number before a checkpoint is generated.
CHTFrequency is the block frequency for creating CHTs.
.
Once per CREATE2 operation.
.
Once per CREATE operation & contract-creation transaction.
Elliptic curve sender recovery gas price.
Duration between proof-of-work epochs.
These are the multipliers for ether denominations.
Times ceil(log256(exponent)) for the EXP instruction.
Once per EXP instruction.
No description provided by the author
The bound divisor of the gas limit, used in update calculations.
Gas limit of the Genesis block.
These are the multipliers for ether denominations.
HelperTrieConfirmations is the number of confirmations before a client is expected to have the given HelperTrie available.
HelperTrieProcessConfirmations is the number of confirmations before a HelperTrie is generated.
Base price for a data copy operation.
Per-work price for a data copy operation.
ImmutabilityThreshold is the number of blocks after which a chain segment is considered immutable (i.e.
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.
Once per SSTORE operation from clean non-zero.
Once per SSTORE operation for clearing an originally existing storage slot.
Once per SSTORE operation from dirty.
Once per SSTORE operation from clean zero.
Once per SSTORE operation if the value doesn't change.
Once per SSTORE operation for resetting to the original zero value.
Once per SSTORE operation for resetting to the original non-zero value.
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.
Major version component of the current release.
Version metadata to append to the version string.
Minor version component of the current release.
Patch version component of the current release.
These are the multipliers for ether denominations.

# 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.
CheckpointOracles associates each known checkpoint oracles with the genesis hash of the chain it belongs to.
DAOForkBlockExtra is the block header extra-data field to set for the DAO fork point and a number of consecutive blocks to allow fast/light syncers to correctly pick the side they want ("dao-hard-fork").
DAOForkExtraRange is the number of consecutive blocks from the DAO fork point to override the extra-data in to prevent no-fork attacks.
DAORefundContract is the address of the refund contract to send DAO balances to.
DevnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the Develop test network.
DevnetChainConfig is the chain parameters to run a node on the develop network.
The bound divisor of the difficulty, used in the update calculations.
DiscoveryV5Bootnodes are the enode URLs of the P2P bootstrap nodes for the experimental RLPx v5 topic-discovery network.
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
GasTableConstantinople contain the gas re-prices for the constantinople phase.
GasTableEIP150 contain the gas re-prices for the EIP150 phase.
GasTableEIP158 contain the gas re-prices for the EIP155/EIP158 phase.
GasTableHomestead contain the gas prices for the homestead phase.
Difficulty of the Genesis block.
GoerliBootnodes are the enode URLs of the P2P bootstrap nodes running on the Görli test network.
GoerliChainConfig contains the chain parameters to run a node on the Görli test network.
GoerliCheckpointOracle contains a set of configs for the Goerli test network oracle.
Genesis hashes to enforce below configs on.
GoerliTrustedCheckpoint contains the light client trusted checkpoint for the Görli test network.
These DNS names provide bootstrap connectivity for public testnets and the mainnet.
MainnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the main Ethereum network.
MainnetChainConfig is the chain parameters to run a node on the main network.
MainnetCheckpointOracle contains a set of configs for the main network oracle.
Genesis hashes to enforce below configs on.
MainnetTrustedCheckpoint contains the light client trusted checkpoint for the main network.
The minimum that the difficulty may ever be.
RinkebyBootnodes are the enode URLs of the P2P bootstrap nodes running on the Rinkeby test network.
RinkebyChainConfig contains the chain parameters to run a node on the Rinkeby test network.
RinkebyCheckpointOracle contains a set of configs for the Rinkeby test network oracle.
Genesis hashes to enforce below configs on.
RinkebyTrustedCheckpoint contains the light client trusted checkpoint for the Rinkeby test network.
No description provided by the author
TestnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the Ropsten test network.
TestnetChainConfig contains the chain parameters to run a node on the Ropsten test network.
TestnetCheckpointOracle contains a set of configs for the Ropsten test network oracle.
Genesis hashes to enforce below configs on.
TestnetTrustedCheckpoint contains the light client trusted checkpoint for the Ropsten test network.
No description provided by the author
TrustedCheckpoints associates each known checkpoint with the genesis hash of the chain it belongs to.
Version holds the textual version string.
VersionWithMeta holds the textual version string including the metadata.

# Structs

ChainConfig is the core config which determines the blockchain settings.
CheckpointOracleConfig represents a set of checkpoint contract(which acts as an oracle) config which used for light client checkpoint syncing.
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.
DaTongConfig is the consensus engine configs for proof-of-stake based sealing.
EthashConfig is the consensus engine configs for proof-of-work based sealing.
GasTable organizes gas prices for different ethereum phases.
Rules wraps ChainConfig and is merely syntactic sugar or can be used for functions that do not have or require information about the block.
TrustedCheckpoint represents a set of post-processed trie roots (CHT and BloomTrie) associated with the appropriate section index and head hash.