Documentation
¶
Overview ¶
Package validator implements utility functions regarding BFT validators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeValidatorsHash ¶
func ComputeValidatorsHash(validators []HashValidator, certificateThreshold uint64) ([]byte, error)
func NewHashValidator ¶
Types ¶
type BlockSlot ¶
type BlockSlot struct {
// contains filtered or unexported fields
}
func NewBlockSlot ¶
func (*BlockSlot) GetSlotNumber ¶
func (*BlockSlot) GetSlotTime ¶
type HashValidator ¶
type HashValidators ¶
type HashValidators []HashValidator
Click to show internal directories.
Click to hide internal directories.