Documentation ¶
Index ¶
- func MakeBLSKey(t *testing.T) crypto.PrivateKey
- func MakeBlock(options ...func(*model.Block)) *model.Block
- func MakeProposal(options ...func(*model.Proposal)) *model.Proposal
- func MakeQC(options ...func(*flow.QuorumCertificate)) *flow.QuorumCertificate
- func MakeRandomBeaconReconstructor(minRequiredShares int) *mocks.RandomBeaconReconstructor
- func MakeWeightedSignatureAggregator(sigWeight uint64) *mocks.WeightedSignatureAggregator
- func WithBlock(block *model.Block) func(*model.Proposal)
- 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)
- func WithSigData(sigData []byte) func(*model.Proposal)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBLSKey ¶
func MakeBLSKey(t *testing.T) crypto.PrivateKey
func MakeProposal ¶ added in v0.23.9
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 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)
func WithSigData ¶ added in v0.23.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.