# Functions
No description provided by the author
addLog let the result add to event.
addLog let the result add to event.
No description provided by the author
Calculate the P value of the binomial distribution Parameter: The total weight of the election.
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
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
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
Getting the global EconomicModel single instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Determine whether the block height belongs to the last block at the end of the year according to the passed blockNumber.
gets block average pack time (millisecond) from snapshot db.
gets block average pack time (millisecond) from snapshot db.
No description provided by the author
No description provided by the author
No description provided by the author
*****
* Common configure
******/.
No description provided by the author
No description provided by the author
*****
* Reward config
******/.
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
*****
* Inner Account Config
******/.
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
set the value by genesis block.
No description provided by the author
No description provided by the author
No description provided by the author
*****
* Slashing config
******/.
*****
* Staking configure
******/.
saves block average pack time (millisecond) to snapshot db.
Stored the height of the block that was actually issuance.
Store the expected time for increase issuance.
No description provided by the author
No description provided by the author
func TextProposalVote_ConsensusRounds() uint64 {
return ec.Gov.TextProposalVoteDurationSeconds / (Interval() * ec.Common.PerRoundBlocks * ec.Common.MaxConsensusVals)
}*/.
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
# Constants
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
plugin rule key.
PhoenixChain default main net flag.
PhoenixChain default test net flag.
PhoenixChain default unit test.
plugin rule key.
No description provided by the author
When electing consensus nodes, it is used to calculate the P value of the binomial distribution.
No description provided by the author
No description provided by the author
plugin rule key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The maximum time range for the cumulative number of zero blocks (No more than 64).
No description provided by the author
plugin rule key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
plugin rule key.
plugin rule key.
plugin rule key.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
10 PHC.
1W PHC.
No description provided by the author
hard code genesis staking balance 25W PHC.
No description provided by the author
No description provided by the author
10W.
1000W PHC.
# Interfaces
StateDB is an Plugin database for full state querying.