package
0.0.0-20220621030607-452a266fee1e
Repository: https://github.com/smartmeshfoundation/spectrum.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
genesis node do not can be nomination.
No description provided by the author
依据vrf,依据上一块的状态来选取下一轮的出块地址 */.
DAODrainList is the list of accounts whose full balances will be moved into a refund contract at the beginning of the dao-fork block.
add by liangc : 22-01-29.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
skip verify difficulty on this old hardfork block number.
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
if input num less then nr001block ,enable new role for chief.tx's gaspool.
new_rule_002 to change block period SIP002Block must big then zero.
add by liangc : 18-09-13 : incompatible HomesteadSigner begin at this number.
add by liangc : 22-01-29.
add by liangc : 19-05-31 : for smc-1.0.0 may be discard.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PocDeposit poc质押操作.
PocGetAll 获取poc status.
POCInfo: poc地址.
PocStart 因为错过出块被拉黑以后,在一个epoch之后需要手工恢复出块资格.
PocStop 因为不想参与挖矿,准备撤回抵押.
PocWithdraw 在停止PocStop两周后,可以从poc合约中撤回押金到自己账户.
PocWithdrawSurplus 因为手工调用Poc Withdraw合约,一次性抵押过多,后续可以选择撤回多余的抵押.
No description provided by the author
No description provided by the author
called by chief.GetStatus.
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

No description provided by the author
No description provided by the author
The cost of a BALANCE operation after Tangerine.
The cost of a BALANCE operation.
BloomBitsBlocks is the number of blocks a single bloom bit section vector contains.
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.
Static portion of gas for CALL-derivates after EIP 150 (Tangerine).
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.
No description provided by the author
.
Once per CREATE2 operation.
No description provided by the author
.
Once per CREATE operation & contract-creation transaction.
No description provided by the author
Elliptic curve sender recovery gas price.
No description provided by the author
Duration between proof-of-work epochs.
No description provided by the author
was raised to 50 during Eip158 (Spurious Dragon).
was set to 10 in Frontier.
Times ceil(log256(exponent)) for the EXP instruction.
Once per EXP instruction.
No description provided by the author
No description provided by the author
Cost of EXTCODEHASH (introduced in Constantinople).
Cost of EXTCODESIZE after EIP 150 (Tangerine).
Cost of EXTCODESIZE before EIP 150 (Tangerine).
No description provided by the author
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).
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.
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
Divisor for the quadratic particle of the memory cost equation.
Base price for a RIPEMD160 operation.
Per-word price for a RIPEMD160 operation.
Cost of SELFDESTRUCT post EIP 150 (Tangerine).
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.
No description provided by the author
Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added.
No description provided by the author
Cost of SLOAD after EIP 2200 (part of Istanbul).
No description provided by the author
Once per SSTORE operation if the zeroness doesn't change.
Once per SSTORE operation for clearing an originally existing storage slot.
Once per SSTORE operation if the zeroness changes to zero.
Once per SSTORE operation if the zeroness changes from zero.
Once per SSTORE operation from clean non-zero to something else.
Minimum gas required to be present for an SSTORE call, not consumed.
Once per SLOAD operation.
Once per SSTORE operation from clean zero to non-zero.
Maximum size of VM stack allowed.
Refunded following a suicide operation.
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
DevnetChainConfig contains the chain parameters to run a node on the Ropsten test network.
No description provided by the author
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.
The bound divisor of the gas limit, used in update calculations.
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.
Gas limit of the Genesis block.
No description provided by the author
No description provided by the author
No description provided by the author
close at tribeService.
No description provided by the author
MainnetChainConfig is the chain parameters to run a node on the main network.
enforce below configs on.
No description provided by the author
Minimum the gas limit may ever be.
The minimum that the difficulty may ever be.
PocService 用于poc 服务.
No description provided by the author
No description provided by the author
Minimum gas limit after hardfork.
No description provided by the author
The artificial target.
No description provided by the author
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
close at tribe.init.
Version holds the textual version string.

# Structs

ChainConfig is the core config which determines the blockchain settings.
No description provided by the author
clone from chief.getStatus return struct for return to tribe by channel.
clone from chief.getVolunteers return struct for return to tribe by channel append by vsn 0.0.6.
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
chief service message box obj.
No description provided by the author
PocStatus Poc状态.
Rules wraps ChainConfig and is merely syntatic sugar or can be used for functions that do not have or require information about the block.
TribeConfig is the consensus engine configs.

# Type aliases

No description provided by the author