Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lamport ¶
type Lamport uint32
Lamport numeration.
func BytesToLamport ¶
BytesToLamport converts bytes to block index.
type Validator ¶
type Validator uint32
Validator numeration.
func BytesToValidator ¶
BytesToValidator converts bytes to validator index.
type ValidatorID ¶
type ValidatorID uint32
ValidatorID numeration.
func BytesToValidatorID ¶
func BytesToValidatorID(b []byte) ValidatorID
BytesToValidatorID converts bytes to validator index.
func (ValidatorID) Bytes ¶
func (s ValidatorID) Bytes() []byte
Bytes gets the byte representation of the index.
Click to show internal directories.
Click to hide internal directories.