Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsensusData ¶
type ConsensusData struct {
Consensus, State []byte
}
type ConsensusValidation ¶
type ConsensusValidation struct {
// contains filtered or unexported fields
}
func NewConsensusValidation ¶
func NewConsensusValidation(size, tolerate int) *ConsensusValidation
func (*ConsensusValidation) Complete ¶
func (c *ConsensusValidation) Complete(iter *ConsensusValidationIteration) error
func (*ConsensusValidation) Next ¶
func (c *ConsensusValidation) Next() *ConsensusValidationIteration
type ConsensusValidationIteration ¶
type ConsensusValidationIteration struct {
// contains filtered or unexported fields
}
func (*ConsensusValidationIteration) OnData ¶
func (iter *ConsensusValidationIteration) OnData(id int, data *ConsensusData)
type SyncValidation ¶
type SyncValidation struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.