quorum

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcByzMaxWeight added in v0.6.0

func CalcByzMaxWeight(committeeWeights []primitives.MemberWeight) uint

func CalcQuorumWeight added in v0.4.0

func CalcQuorumWeight(committeeWeights []primitives.MemberWeight) uint

func GetWeights added in v0.4.0

func GetWeights(members []interfaces.CommitteeMember) []primitives.MemberWeight

func HasHonest added in v0.6.0

func HasHonest(committeeSubset []primitives.MemberId, allCommitteeMembers []interfaces.CommitteeMember) (bool, uint, uint)

func IsQuorum added in v0.4.0

func IsQuorum(committeeSubset []primitives.MemberId, allCommitteeMembers []interfaces.CommitteeMember) (bool, uint, uint)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL