Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DoublesignBit is set if validator has a confirmed pair of fork events DoublesignBit = uint64(1 << 7) OkStatus = uint64(0) )
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
Weight *big.Int
PubKey validatorpk.PubKey
}
Validator is the node-side representation of Driver validator
type ValidatorAndID ¶
type ValidatorAndID struct {
ValidatorID idx.ValidatorID
Validator Validator
}
ValidatorAndID is pair Validator + ValidatorID
Click to show internal directories.
Click to hide internal directories.