partialsigcontainer

package
v0.3.7-b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duplicate

func Duplicate() tests.SpecTest

func DuplicateQuorum

func DuplicateQuorum() tests.SpecTest

func Invalid

func Invalid() tests.SpecTest

func OneSignature

func OneSignature() tests.SpecTest

func Quorum

func Quorum() tests.SpecTest

Types

type PartialSigContainerTest

type PartialSigContainerTest struct {
	Name            string
	Quorum          uint64
	ValidatorPubKey []byte
	SignatureMsgs   []*types.PartialSignatureMessage
	ExpectedError   string
	ExpectedResult  []byte
	ExpectedQuorum  bool
}

func (*PartialSigContainerTest) GetPostState

func (test *PartialSigContainerTest) GetPostState() (interface{}, error)

func (*PartialSigContainerTest) Run

func (test *PartialSigContainerTest) Run(t *testing.T)

func (*PartialSigContainerTest) TestName

func (test *PartialSigContainerTest) TestName() string

Jump to

Keyboard shortcuts

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