createValidatorto register itself as a candidate validator and set the following parameters:
rewardTo, the account that receives the validator's reward
introduction, a short UTF8 string (no longer than 32 bytes) describing the validator, whose tailing bytes are zeros.
pubkey, an ed25519 pubkey for which the coinbase transactions' outputs can vote.
createValidatoragain. Instead, it can use
introduction, but the
pubkeycannot be changed.
retireto mark its status as "retiring". The votes to a retiring validator is not counted when electing the next quorum.
sumVotingPowerfunction to sum all the voting power owned by the address set specified in
addrList. It also returns the total voting power owned by all the active validators. These two parameters are returned as
sumVotingPowerto decide whether the votes are enough. In such a way, the validator set acts as Supreme Court to decide some cases finally.
decreaseMinGasPrice) function, respectively. A qualified EOA is a validator or a validator's
rewardToaccount. This method may cause chaos of meaningless rising and falling.
rewardToaccounts. Instead, they are pending till the next epoch's end. That is, the rewards gained in epoch N will be given to a validator's
rewardToaccount at the end of epoch N+1.