Documentation ¶
Index ¶
- type SpecTest
- func Encoding() *SpecTest
- func HasPartialQuorum() *SpecTest
- func HasPartialQuorum2f1() *SpecTest
- func HasQuorum() *SpecTest
- func HasQuorum3f1() *SpecTest
- func NoPartialQuorum() *SpecTest
- func NoPartialQuorumDuplicate() *SpecTest
- func NoQuorum() *SpecTest
- func NoQuorumDuplicate() *SpecTest
- func PartialQuorumWithDuplicate() *SpecTest
- func QuorumWithDuplicate() *SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecTest ¶
func HasPartialQuorum ¶
func HasPartialQuorum() *SpecTest
HasPartialQuorum tests msg with unique f+1 signers
func HasPartialQuorum2f1 ¶
func HasPartialQuorum2f1() *SpecTest
HasPartialQuorum2f1 tests msg with unique 2f+1 signers
func NoPartialQuorum ¶
func NoPartialQuorum() *SpecTest
NoPartialQuorum tests msg with < unique f+1 signers
func NoPartialQuorumDuplicate ¶
func NoPartialQuorumDuplicate() *SpecTest
NoPartialQuorumDuplicate tests msg with < unique f+1 signers (but f+1 signers including duplicates)
func NoQuorumDuplicate ¶
func NoQuorumDuplicate() *SpecTest
NoQuorumDuplicate tests msg with < unique 2f+1 signers (but 2f+1 signers including duplicates)
func PartialQuorumWithDuplicate ¶
func PartialQuorumWithDuplicate() *SpecTest
PartialQuorumWithDuplicate tests msg with unique f+1 signers (but also including duplicates)
func QuorumWithDuplicate ¶
func QuorumWithDuplicate() *SpecTest
QuorumWithDuplicate tests msg with unique 2f+1 signers (but also including duplicates)
Click to show internal directories.
Click to hide internal directories.