Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Eligibility ¶ added in v1.3.4
type Eligibility byte
Eligibility represents ability to participate in EPoS auction that occurs just once an epoch on beaconchain
const ( // Nil is a default state that represents a no-op Nil Eligibility = iota // Active means allowed in epos auction Active // Inactive means validator did not sign enough over 66% // of the time in an epoch and so they are removed from // the possibility of being in the epos auction, which happens // only once an epoch and only // by beaconchain, aka shard.BeaconChainShardID Inactive // Banned records whether this validator is banned // from the network because they double-signed // it can never be undone Banned )
func (Eligibility) String ¶ added in v1.3.4
func (e Eligibility) String() string
type SlotOrder ¶
type SlotOrder struct { Stake *big.Int SpreadAmong []shard.BlsPublicKey }
SlotOrder ..
type SlotPurchase ¶
type SlotPurchase struct { common.Address `json:"slot-owner"` shard.BlsPublicKey `json:"bls-public-key"` numeric.Dec `json:"eposed-stake"` }
SlotPurchase ..
Click to show internal directories.
Click to hide internal directories.