helper

package
v0.26.8 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: AGPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeBLSKey

func MakeBLSKey(t *testing.T) crypto.PrivateKey

func MakeBlock

func MakeBlock(options ...func(*model.Block)) *model.Block

func MakeProposal added in v0.23.9

func MakeProposal(options ...func(*model.Proposal)) *model.Proposal

func MakeQC

func MakeQC(options ...func(*flow.QuorumCertificate)) *flow.QuorumCertificate

func MakeRandomBeaconReconstructor added in v0.23.9

func MakeRandomBeaconReconstructor(minRequiredShares int) *mocks.RandomBeaconReconstructor

func MakeWeightedSignatureAggregator added in v0.23.9

func MakeWeightedSignatureAggregator(sigWeight uint64) *mocks.WeightedSignatureAggregator

func WithBlock added in v0.23.9

func WithBlock(block *model.Block) func(*model.Proposal)

func WithBlockProposer

func WithBlockProposer(proposerID flow.Identifier) func(*model.Block)

func WithBlockView

func WithBlockView(view uint64) func(*model.Block)

func WithParentBlock

func WithParentBlock(parent *model.Block) func(*model.Block)

func WithParentSigners

func WithParentSigners(signerIndices []byte) func(*model.Block)

func WithQCBlock

func WithQCBlock(block *model.Block) func(*flow.QuorumCertificate)

func WithQCSigners

func WithQCSigners(signerIndices []byte) func(*flow.QuorumCertificate)

func WithQCView

func WithQCView(view uint64) func(*flow.QuorumCertificate)

func WithSigData added in v0.23.9

func WithSigData(sigData []byte) func(*model.Proposal)

Types

This section is empty.

Jump to

Keyboard shortcuts

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