Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basis ¶
type ThresholdPolicy ¶
type ThresholdPolicy interface { Threshold() int Validators() int // Set the number of validators required for consensus // The parameter must be a strictly positive integer SetValidators(int) Connected() int // Set the number of currently connected nodes // The parameter must be a strictly positive integer SetConnected(int) }
Click to show internal directories.
Click to hide internal directories.