Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMajorityRule ¶
func CheckMajorityRule(cert nodeinfo.Certificate, pop census.OnlinePopulation) (int, error)
CheckMajorityRule returns error if MajorityRule check not passed, also returns active discovery nodes count
func CheckMinRole ¶
func CheckMinRole(cert nodeinfo.Certificate, nodes census.OnlinePopulation) error
CheckMinRole returns true if MinRole check passed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.