Documentation ¶
Index ¶
- type MatchingCore
- type SealingCore
- type SealingObservation
- func (_m *SealingObservation) ApprovalsMissing(ir *flow.IncorporatedResult, ...)
- func (_m *SealingObservation) ApprovalsRequested(ir *flow.IncorporatedResult, requestCount uint)
- func (_m *SealingObservation) Complete()
- func (_m *SealingObservation) QualifiesForEmergencySealing(ir *flow.IncorporatedResult, emergencySealable bool)
- type SealingTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchingCore ¶
MatchingCore is an autogenerated mock type for the MatchingCore type
func NewMatchingCore ¶
func NewMatchingCore(t mockConstructorTestingTNewMatchingCore) *MatchingCore
NewMatchingCore creates a new instance of MatchingCore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MatchingCore) OnBlockFinalization ¶
func (_m *MatchingCore) OnBlockFinalization() error
OnBlockFinalization provides a mock function with given fields:
func (*MatchingCore) ProcessReceipt ¶
func (_m *MatchingCore) ProcessReceipt(receipt *flow.ExecutionReceipt) error
ProcessReceipt provides a mock function with given fields: receipt
type SealingCore ¶
SealingCore is an autogenerated mock type for the SealingCore type
func NewSealingCore ¶
func NewSealingCore(t mockConstructorTestingTNewSealingCore) *SealingCore
NewSealingCore creates a new instance of SealingCore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SealingCore) ProcessApproval ¶
func (_m *SealingCore) ProcessApproval(approval *flow.ResultApproval) error
ProcessApproval provides a mock function with given fields: approval
func (*SealingCore) ProcessFinalizedBlock ¶
func (_m *SealingCore) ProcessFinalizedBlock(finalizedBlockID flow.Identifier) error
ProcessFinalizedBlock provides a mock function with given fields: finalizedBlockID
func (*SealingCore) ProcessIncorporatedResult ¶
func (_m *SealingCore) ProcessIncorporatedResult(result *flow.IncorporatedResult) error
ProcessIncorporatedResult provides a mock function with given fields: result
type SealingObservation ¶
SealingObservation is an autogenerated mock type for the SealingObservation type
func NewSealingObservation ¶
func NewSealingObservation(t mockConstructorTestingTNewSealingObservation) *SealingObservation
NewSealingObservation creates a new instance of SealingObservation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SealingObservation) ApprovalsMissing ¶
func (_m *SealingObservation) ApprovalsMissing(ir *flow.IncorporatedResult, chunksWithMissingApprovals map[uint64]flow.IdentifierList)
ApprovalsMissing provides a mock function with given fields: ir, chunksWithMissingApprovals
func (*SealingObservation) ApprovalsRequested ¶
func (_m *SealingObservation) ApprovalsRequested(ir *flow.IncorporatedResult, requestCount uint)
ApprovalsRequested provides a mock function with given fields: ir, requestCount
func (*SealingObservation) Complete ¶
func (_m *SealingObservation) Complete()
Complete provides a mock function with given fields:
func (*SealingObservation) QualifiesForEmergencySealing ¶
func (_m *SealingObservation) QualifiesForEmergencySealing(ir *flow.IncorporatedResult, emergencySealable bool)
QualifiesForEmergencySealing provides a mock function with given fields: ir, emergencySealable
type SealingTracker ¶
SealingTracker is an autogenerated mock type for the SealingTracker type
func NewSealingTracker ¶
func NewSealingTracker(t mockConstructorTestingTNewSealingTracker) *SealingTracker
NewSealingTracker creates a new instance of SealingTracker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SealingTracker) NewSealingObservation ¶
func (_m *SealingTracker) NewSealingObservation(finalizedBlock *flow.Header, seal *flow.Seal, sealedBlock *flow.Header) consensus.SealingObservation
NewSealingObservation provides a mock function with given fields: finalizedBlock, seal, sealedBlock