# Functions
ArchiveVersion holds the textual version string used for Quai archives.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is TimeFactor*TimeFactor*common.NumZonesInRegion*common.NumRegionsInPrime.
This is TimeFactor*common.NumZonesInRegion.
SSTORE_CLEARS_SCHEDULE is defined as SSTORE_RESET_GAS + ACCESS_LIST_STORAGE_KEY_COST Which becomes: 5000 - 2100 + 1900 = 4800.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Bounds the amount the base fee can change between blocks.
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.
Free gas given at beginning of call.
Paid for CALL when the value transfer is non-zero.
CHTFrequency is the block frequency for creating CHTs.
Different Network names.
A conversion requires a single coincident Dom confirmation.
.
Once per CREATE2 operation.
CreateBySelfdestructGas is used when the refunded account is one that does not exist.
.
Once per CREATE operation & contract-creation transaction.
The default lockup byte for coinbase rewards.
Different Network names.
Elliptic curve sender recovery gas price.
Bounds the maximum gas limit a block may have.
Duration between proof-of-work epochs.
These are the multipliers for ether denominations.
Per ETX generated by opETX or normal cross-chain transfer.
Minimum possible cross-prime ETX limit.
The maximum fraction of transactions for cross-prime ETXs.
The maximum fraction of transactions for cross-region ETXs.
Minimum possible cross-region ETX limit.
state used by a simple etx.
was raised to 50.
Once per EXP instruction.
Extcodecopy has a dynamic AND a static cost.
FullImmutabilityThreshold is the number of blocks after which a chain segment is considered immutable (i.e.
Different Network names.
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.
Initial base fee for blocks.
Initial state fee for blocks.
Once per JUMPDEST operation.
Different Network names.
LightImmutabilityThreshold is the number of blocks after which a header chain segment is considered immutable for light client(i.e.
Different Network names.
Per byte in a LOG* operation's data.
Per LOG* operation.
Multiplied by the * of the LOG*, per LOG transaction.
Maximum number of attempts to grind an address to a valid one.
Maximum base fee for blocks.
Maximum bytecode to permit for a contract.
Maximum number of elements in a coinbase tranche.
No description provided by the author
Multiplied with the minimum ETX gas for inbound ETXs (Block gas limit / MinimumEtxGasDivisor) * MaximumEtxGasMultiplier.
Maximum size extra data may be after Genesis.
No description provided by the author
Times the address of the (highest referenced byte in memory + 1).
These counts are used in the case where tx is not eligible to be started.
The divisor for the minimum gas for inbound ETXs (Block gas limit / MinimumEtxGasDivisor).
No description provided by the author
Different Network names.
Percent Gas used threshold at which the gas limit adjusts.
Percent Gas used threshold at which the gas limit adjusts.
The gas used to convert Qi to Quai.
Divisor for the quadratic particle of the memory cost equation.
The Refund Quotient is the cap on how much of the used gas can be refunded.
Base price for a RIPEMD160 operation.
Per-word price for a RIPEMD160 operation.
Cost of SELFDESTRUCT.
Refunded following a selfdestruct 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.
This is only used in the Qi tx processing.
Maximum size of VM stack allowed.
Maximum the StateCeil may ever be.
The bound divisor of the gas limit, used in update calculations.
Once per operation, for a selection of them.
This is the smoothing factor (range 0-10) used by each zone in its low-pass filter to gather a long running average of the zone's security efficiency score.
This is the threshold (range 0-100) above which the score will begin the tree expansion decision process.
Once all chains have confirmed above TREE_EXPANSION_THRESHOLD, this is the number of consecutive prime blocks that must remain above the threshold to confirm the decision to expand the tree.
Once the network has confirmed the decision to expand the tree, this is the number of prime blocks to wait until the expansion is activated.
Per address specified in access list.
Per storage key specified in access list.
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.
These are the multipliers for ether denominations.
# Variables
Genesis hashes to enforce below configs on.
AllProgpowProtocolChanges contains every protocol change introduced and accepted by the Quai core developers into the Progpow consensus.
No description provided by the author
No description provided by the author
No description provided by the author
Blake3GenesisHashes.
No description provided by the author
Genesis hashes to enforce below configs on.
No description provided by the author
Genesis hashes to enforce below configs on.
No description provided by the author
Genesis hashes to enforce below configs on.
No description provided by the author
Genesis hashes to enforce below configs on.
BlocksPerDay is the number of blocks per day assuming 5 second block time.
No description provided by the author
No description provided by the author
BlocksPerYear is the number of blocks per year assuming 5 secs blocks.
No description provided by the author
The height at which the coinbase lockup precompile is enabled.
No description provided by the author
This is in order of prime blocks.
No description provided by the author
This is the factor that divides the log of the change in the difficulty.
This is the number of blocks over which the average has to be taken.
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
This is the initial exchange rate in Qi per Quai in Its/Qit.
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
No description provided by the author
No description provided by the author
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
No description provided by the author
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
No description provided by the author
No description provided by the author
The first value represents the multiplier that represents interest rate for the first year, the second value represents the terminal rate these values are divided by 100,000 to get the final values.
No description provided by the author
Max lockup byte allowed in the transactions for coinbase.
Max time difference between the blocks to 100 secs.
No description provided by the author
No description provided by the author
No description provided by the author
0.000000001 Quai.
The alpha value for the quai to qi conversion.
No description provided by the author
The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
No description provided by the author
ColosseumChainConfig is the chain parameters to run a node on the Colosseum network.
Progpow GenesisHashes.
GardenChainConfig contains the chain parameters to run a node on the Garden test network.
Genesis hashes to enforce below configs on.
LighthouseChainConfig contains the chain parameters to run a node on the Lighthouse test network.
Genesis hashes to enforce below configs on.
LocalChainConfig contains the chain parameters to run a node on the Local test network.
Genesis hashes to enforce below configs on.
OrchardChainConfig contains the chain parameters to run a node on the Orchard test network.
Genesis hashes to enforce below configs on.
UNUSED Is the starting "historical conversion" in Qits for 10,000 Qi we need 10,000*1e3.
UNUSED Is the starting "historical conversion" in Qits for 10,000 Quai we need 10,000*1e3.
Starting conversion flow amount in Quai.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default value in bits lower than the target.
Number of blocks upto which the work shares can be referenced and this is protocol enforced.
Number of bits lower than the target that the default consensus engine uses.
# Structs
Blake3powConfig is the consensus engine configs for proof-of-work based sealing.
Version contains software version data parsed from the VERSION file.
ChainConfig is the core config which determines the blockchain settings.
ConfigCompatError is raised if the locally-stored blockchain is initialised with a ChainConfig that would alter the past.
ProgpowConfig is the consensus engine configs for proof-of-work based sealing.
Rules wraps ChainConfig and is merely syntactic sugar or can be used for functions that do not have or require information about the block.