helper

package
v0.22.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 9 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(t *testing.T, options ...func(*model.Block)) *model.Block

func MakeQC

func MakeQC(t *testing.T, options ...func(*flow.QuorumCertificate)) *flow.QuorumCertificate

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(signerIDs []flow.Identifier) func(*model.Block)

func WithQCBlock

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

func WithQCSigners

func WithQCSigners(signerIDs []flow.Identifier) func(*flow.QuorumCertificate)

func WithQCView

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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