Documentation ¶
Index ¶
- func MakeBLSKey(t *testing.T) crypto.PrivateKey
- func MakeBlock(t *testing.T, options ...func(*model.Block)) *model.Block
- func MakeQC(t *testing.T, options ...func(*flow.QuorumCertificate)) *flow.QuorumCertificate
- func WithBlockProposer(proposerID flow.Identifier) func(*model.Block)
- func WithBlockView(view uint64) func(*model.Block)
- func WithParentBlock(parent *model.Block) func(*model.Block)
- func WithParentSigners(signerIDs []flow.Identifier) func(*model.Block)
- func WithQCBlock(block *model.Block) func(*flow.QuorumCertificate)
- func WithQCSigners(signerIDs []flow.Identifier) func(*flow.QuorumCertificate)
- func WithQCView(view uint64) func(*flow.QuorumCertificate)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBLSKey ¶
func MakeBLSKey(t *testing.T) crypto.PrivateKey
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 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.
Click to show internal directories.
Click to hide internal directories.