Documentation ¶
Index ¶
- type Approvals
- func (_m *Approvals) Add(approval *flow.ResultApproval) (bool, error)
- func (_m *Approvals) All() []*flow.ResultApproval
- func (_m *Approvals) ByChunk(resultID flow.Identifier, chunkIndex uint64) map[flow.Identifier]*flow.ResultApproval
- func (_m *Approvals) RemApproval(approval *flow.ResultApproval) (bool, error)
- func (_m *Approvals) RemChunk(resultID flow.Identifier, chunkIndex uint64) (bool, error)
- func (_m *Approvals) Size() uint
- type Assignments
- func (_m *Assignments) Add(assignmentFingerprint flow.Identifier, assignment *chunks.Assignment) bool
- func (_m *Assignments) All() []*chunks.Assignment
- func (_m *Assignments) ByID(assignmentID flow.Identifier) (*chunks.Assignment, bool)
- func (_m *Assignments) Has(assignmentID flow.Identifier) bool
- func (_m *Assignments) Rem(assignmentID flow.Identifier) bool
- func (_m *Assignments) Size() uint
- type Blocks
- func (_m *Blocks) Add(block *flow.Block) bool
- func (_m *Blocks) All() []*flow.Block
- func (_m *Blocks) ByID(blockID flow.Identifier) (*flow.Block, bool)
- func (_m *Blocks) Has(blockID flow.Identifier) bool
- func (_m *Blocks) Hash() flow.Identifier
- func (_m *Blocks) Rem(blockID flow.Identifier) bool
- func (_m *Blocks) Size() uint
- type ChunkDataPacks
- func (_m *ChunkDataPacks) Add(cdp *flow.ChunkDataPack) bool
- func (_m *ChunkDataPacks) All() []*flow.ChunkDataPack
- func (_m *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, bool)
- func (_m *ChunkDataPacks) Has(chunkID flow.Identifier) bool
- func (_m *ChunkDataPacks) Hash() flow.Identifier
- func (_m *ChunkDataPacks) Rem(chunkID flow.Identifier) bool
- func (_m *ChunkDataPacks) Size() uint
- type Collections
- func (_m *Collections) Add(coll *flow.Collection) bool
- func (_m *Collections) All() []*flow.Collection
- func (_m *Collections) ByID(collID flow.Identifier) (*flow.Collection, bool)
- func (_m *Collections) Has(collID flow.Identifier) bool
- func (_m *Collections) Hash() flow.Identifier
- func (_m *Collections) Rem(collID flow.Identifier) bool
- func (_m *Collections) Size() uint
- type Deltas
- func (_m *Deltas) Add(delta *messages.ExecutionStateDelta) bool
- func (_m *Deltas) All() []*messages.ExecutionStateDelta
- func (_m *Deltas) ByBlockID(blockID flow.Identifier) (*messages.ExecutionStateDelta, bool)
- func (_m *Deltas) Has(blockID flow.Identifier) bool
- func (_m *Deltas) Hash() flow.Identifier
- func (_m *Deltas) Limit() uint
- func (_m *Deltas) Rem(blockID flow.Identifier) bool
- func (_m *Deltas) Size() uint
- type ExecutionTree
- func (_m *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
- func (_m *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
- func (_m *ExecutionTree) LowestHeight() uint64
- func (_m *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
- func (_m *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, ...) ([]*flow.ExecutionReceipt, error)
- func (_m *ExecutionTree) Size() uint
- type Guarantees
- func (_m *Guarantees) Add(guarantee *flow.CollectionGuarantee) bool
- func (_m *Guarantees) All() []*flow.CollectionGuarantee
- func (_m *Guarantees) ByID(collID flow.Identifier) (*flow.CollectionGuarantee, bool)
- func (_m *Guarantees) Has(collID flow.Identifier) bool
- func (_m *Guarantees) Hash() flow.Identifier
- func (_m *Guarantees) Rem(collID flow.Identifier) bool
- func (_m *Guarantees) Size() uint
- type IdentifierMap
- func (_m *IdentifierMap) Append(key flow.Identifier, id flow.Identifier) error
- func (_m *IdentifierMap) Get(key flow.Identifier) ([]flow.Identifier, bool)
- func (_m *IdentifierMap) Has(key flow.Identifier) bool
- func (_m *IdentifierMap) Keys() ([]flow.Identifier, bool)
- func (_m *IdentifierMap) Rem(key flow.Identifier) bool
- func (_m *IdentifierMap) RemIdFromKey(key flow.Identifier, id flow.Identifier) error
- func (_m *IdentifierMap) Size() uint
- type Identifiers
- type IncorporatedResultSeals
- func (_m *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
- func (_m *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
- func (_m *IncorporatedResultSeals) ByID(_a0 flow.Identifier) (*flow.IncorporatedResultSeal, bool)
- func (_m *IncorporatedResultSeals) Clear()
- func (_m *IncorporatedResultSeals) Limit() uint
- func (_m *IncorporatedResultSeals) RegisterEjectionCallbacks(callbacks ...mempool.OnEjection)
- func (_m *IncorporatedResultSeals) Rem(incorporatedResultID flow.Identifier) bool
- func (_m *IncorporatedResultSeals) Size() uint
- type IncorporatedResults
- func (_m *IncorporatedResults) Add(result *flow.IncorporatedResult) (bool, error)
- func (_m *IncorporatedResults) All() []*flow.IncorporatedResult
- func (_m *IncorporatedResults) ByResultID(resultID flow.Identifier) (*flow.ExecutionResult, map[flow.Identifier]*flow.IncorporatedResult, bool)
- func (_m *IncorporatedResults) Rem(incorporatedResult *flow.IncorporatedResult) bool
- func (_m *IncorporatedResults) Size() uint
- type ReceiptDataPacks
- func (_m *ReceiptDataPacks) Add(rdp *verification.ReceiptDataPack) bool
- func (_m *ReceiptDataPacks) All() []*verification.ReceiptDataPack
- func (_m *ReceiptDataPacks) Get(rdpID flow.Identifier) (*verification.ReceiptDataPack, bool)
- func (_m *ReceiptDataPacks) Has(rdpID flow.Identifier) bool
- func (_m *ReceiptDataPacks) Rem(rdpID flow.Identifier) bool
- func (_m *ReceiptDataPacks) Size() uint
- type ResultDataPacks
- func (_m *ResultDataPacks) Add(result *verification.ResultDataPack) bool
- func (_m *ResultDataPacks) Get(resultID flow.Identifier) (*verification.ResultDataPack, bool)
- func (_m *ResultDataPacks) Has(resultID flow.Identifier) bool
- func (_m *ResultDataPacks) Rem(resultID flow.Identifier) bool
- func (_m *ResultDataPacks) Size() uint
- type Results
- func (_m *Results) Add(result *flow.ExecutionResult) bool
- func (_m *Results) All() []*flow.ExecutionResult
- func (_m *Results) ByID(resultID flow.Identifier) (*flow.ExecutionResult, bool)
- func (_m *Results) Has(resultID flow.Identifier) bool
- func (_m *Results) Rem(resultID flow.Identifier) bool
- func (_m *Results) Size() uint
- type TransactionTimings
- func (_m *TransactionTimings) Add(tx *flow.TransactionTiming) bool
- func (_m *TransactionTimings) Adjust(txID flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
- func (_m *TransactionTimings) All() []*flow.TransactionTiming
- func (_m *TransactionTimings) ByID(txID flow.Identifier) (*flow.TransactionTiming, bool)
- func (_m *TransactionTimings) Rem(txID flow.Identifier) bool
- type Transactions
- func (_m *Transactions) Add(tx *flow.TransactionBody) bool
- func (_m *Transactions) All() []*flow.TransactionBody
- func (_m *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, bool)
- func (_m *Transactions) Clear()
- func (_m *Transactions) Has(txID flow.Identifier) bool
- func (_m *Transactions) Hash() flow.Identifier
- func (_m *Transactions) Rem(txID flow.Identifier) bool
- func (_m *Transactions) Size() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Approvals ¶
Approvals is an autogenerated mock type for the Approvals type
func (*Approvals) Add ¶
func (_m *Approvals) Add(approval *flow.ResultApproval) (bool, error)
Add provides a mock function with given fields: approval
func (*Approvals) All ¶
func (_m *Approvals) All() []*flow.ResultApproval
All provides a mock function with given fields:
func (*Approvals) ByChunk ¶ added in v0.9.6
func (_m *Approvals) ByChunk(resultID flow.Identifier, chunkIndex uint64) map[flow.Identifier]*flow.ResultApproval
ByChunk provides a mock function with given fields: resultID, chunkIndex
func (*Approvals) RemApproval ¶ added in v0.11.0
func (_m *Approvals) RemApproval(approval *flow.ResultApproval) (bool, error)
RemApproval provides a mock function with given fields: approval
type Assignments ¶
Assignments is an autogenerated mock type for the Assignments type
func (*Assignments) Add ¶
func (_m *Assignments) Add(assignmentFingerprint flow.Identifier, assignment *chunks.Assignment) bool
Add provides a mock function with given fields: assignmentFingerprint, assignment
func (*Assignments) All ¶
func (_m *Assignments) All() []*chunks.Assignment
All provides a mock function with given fields:
func (*Assignments) ByID ¶
func (_m *Assignments) ByID(assignmentID flow.Identifier) (*chunks.Assignment, bool)
ByID provides a mock function with given fields: assignmentID
func (*Assignments) Has ¶
func (_m *Assignments) Has(assignmentID flow.Identifier) bool
Has provides a mock function with given fields: assignmentID
func (*Assignments) Rem ¶
func (_m *Assignments) Rem(assignmentID flow.Identifier) bool
Rem provides a mock function with given fields: assignmentID
func (*Assignments) Size ¶
func (_m *Assignments) Size() uint
Size provides a mock function with given fields:
type Blocks ¶
Blocks is an autogenerated mock type for the Blocks type
func (*Blocks) Has ¶
func (_m *Blocks) Has(blockID flow.Identifier) bool
Has provides a mock function with given fields: blockID
func (*Blocks) Hash ¶
func (_m *Blocks) Hash() flow.Identifier
Hash provides a mock function with given fields:
type ChunkDataPacks ¶
ChunkDataPacks is an autogenerated mock type for the ChunkDataPacks type
func (*ChunkDataPacks) Add ¶
func (_m *ChunkDataPacks) Add(cdp *flow.ChunkDataPack) bool
Add provides a mock function with given fields: cdp
func (*ChunkDataPacks) All ¶
func (_m *ChunkDataPacks) All() []*flow.ChunkDataPack
All provides a mock function with given fields:
func (*ChunkDataPacks) ByChunkID ¶
func (_m *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, bool)
ByChunkID provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Has ¶
func (_m *ChunkDataPacks) Has(chunkID flow.Identifier) bool
Has provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Hash ¶
func (_m *ChunkDataPacks) Hash() flow.Identifier
Hash provides a mock function with given fields:
func (*ChunkDataPacks) Rem ¶
func (_m *ChunkDataPacks) Rem(chunkID flow.Identifier) bool
Rem provides a mock function with given fields: chunkID
func (*ChunkDataPacks) Size ¶
func (_m *ChunkDataPacks) Size() uint
Size provides a mock function with given fields:
type Collections ¶
Collections is an autogenerated mock type for the Collections type
func (*Collections) Add ¶
func (_m *Collections) Add(coll *flow.Collection) bool
Add provides a mock function with given fields: coll
func (*Collections) All ¶
func (_m *Collections) All() []*flow.Collection
All provides a mock function with given fields:
func (*Collections) ByID ¶
func (_m *Collections) ByID(collID flow.Identifier) (*flow.Collection, bool)
ByID provides a mock function with given fields: collID
func (*Collections) Has ¶
func (_m *Collections) Has(collID flow.Identifier) bool
Has provides a mock function with given fields: collID
func (*Collections) Hash ¶
func (_m *Collections) Hash() flow.Identifier
Hash provides a mock function with given fields:
func (*Collections) Rem ¶
func (_m *Collections) Rem(collID flow.Identifier) bool
Rem provides a mock function with given fields: collID
func (*Collections) Size ¶
func (_m *Collections) Size() uint
Size provides a mock function with given fields:
type Deltas ¶ added in v0.10.0
Deltas is an autogenerated mock type for the Deltas type
func (*Deltas) Add ¶ added in v0.10.0
func (_m *Deltas) Add(delta *messages.ExecutionStateDelta) bool
Add provides a mock function with given fields: delta
func (*Deltas) All ¶ added in v0.10.0
func (_m *Deltas) All() []*messages.ExecutionStateDelta
All provides a mock function with given fields:
func (*Deltas) ByBlockID ¶ added in v0.10.1
func (_m *Deltas) ByBlockID(blockID flow.Identifier) (*messages.ExecutionStateDelta, bool)
ByBlockID provides a mock function with given fields: blockID
func (*Deltas) Has ¶ added in v0.10.0
func (_m *Deltas) Has(blockID flow.Identifier) bool
Has provides a mock function with given fields: blockID
func (*Deltas) Hash ¶ added in v0.10.0
func (_m *Deltas) Hash() flow.Identifier
Hash provides a mock function with given fields:
type ExecutionTree ¶ added in v0.14.0
ExecutionTree is an autogenerated mock type for the ExecutionTree type
func (*ExecutionTree) AddReceipt ¶ added in v0.14.0
func (_m *ExecutionTree) AddReceipt(receipt *flow.ExecutionReceipt, block *flow.Header) (bool, error)
AddReceipt provides a mock function with given fields: receipt, block
func (*ExecutionTree) AddResult ¶ added in v0.14.0
func (_m *ExecutionTree) AddResult(result *flow.ExecutionResult, block *flow.Header) error
AddResult provides a mock function with given fields: result, block
func (*ExecutionTree) LowestHeight ¶ added in v0.14.0
func (_m *ExecutionTree) LowestHeight() uint64
LowestHeight provides a mock function with given fields:
func (*ExecutionTree) PruneUpToHeight ¶ added in v0.14.0
func (_m *ExecutionTree) PruneUpToHeight(newLowestHeight uint64) error
PruneUpToHeight provides a mock function with given fields: newLowestHeight
func (*ExecutionTree) ReachableReceipts ¶ added in v0.14.0
func (_m *ExecutionTree) ReachableReceipts(resultID flow.Identifier, blockFilter mempool.BlockFilter, receiptFilter mempool.ReceiptFilter) ([]*flow.ExecutionReceipt, error)
ReachableReceipts provides a mock function with given fields: resultID, blockFilter, receiptFilter
func (*ExecutionTree) Size ¶ added in v0.14.0
func (_m *ExecutionTree) Size() uint
Size provides a mock function with given fields:
type Guarantees ¶
Guarantees is an autogenerated mock type for the Guarantees type
func (*Guarantees) Add ¶
func (_m *Guarantees) Add(guarantee *flow.CollectionGuarantee) bool
Add provides a mock function with given fields: guarantee
func (*Guarantees) All ¶
func (_m *Guarantees) All() []*flow.CollectionGuarantee
All provides a mock function with given fields:
func (*Guarantees) ByID ¶
func (_m *Guarantees) ByID(collID flow.Identifier) (*flow.CollectionGuarantee, bool)
ByID provides a mock function with given fields: collID
func (*Guarantees) Has ¶
func (_m *Guarantees) Has(collID flow.Identifier) bool
Has provides a mock function with given fields: collID
func (*Guarantees) Hash ¶
func (_m *Guarantees) Hash() flow.Identifier
Hash provides a mock function with given fields:
func (*Guarantees) Rem ¶
func (_m *Guarantees) Rem(collID flow.Identifier) bool
Rem provides a mock function with given fields: collID
func (*Guarantees) Size ¶
func (_m *Guarantees) Size() uint
Size provides a mock function with given fields:
type IdentifierMap ¶
IdentifierMap is an autogenerated mock type for the IdentifierMap type
func (*IdentifierMap) Append ¶
func (_m *IdentifierMap) Append(key flow.Identifier, id flow.Identifier) error
Append provides a mock function with given fields: key, id
func (*IdentifierMap) Get ¶
func (_m *IdentifierMap) Get(key flow.Identifier) ([]flow.Identifier, bool)
Get provides a mock function with given fields: key
func (*IdentifierMap) Has ¶
func (_m *IdentifierMap) Has(key flow.Identifier) bool
Has provides a mock function with given fields: key
func (*IdentifierMap) Keys ¶
func (_m *IdentifierMap) Keys() ([]flow.Identifier, bool)
Keys provides a mock function with given fields:
func (*IdentifierMap) Rem ¶
func (_m *IdentifierMap) Rem(key flow.Identifier) bool
Rem provides a mock function with given fields: key
func (*IdentifierMap) RemIdFromKey ¶
func (_m *IdentifierMap) RemIdFromKey(key flow.Identifier, id flow.Identifier) error
RemIdFromKey provides a mock function with given fields: key, id
func (*IdentifierMap) Size ¶
func (_m *IdentifierMap) Size() uint
Size provides a mock function with given fields:
type Identifiers ¶
Identifiers is an autogenerated mock type for the Identifiers type
func (*Identifiers) Add ¶
func (_m *Identifiers) Add(id flow.Identifier) bool
Add provides a mock function with given fields: id
func (*Identifiers) All ¶
func (_m *Identifiers) All() flow.IdentifierList
All provides a mock function with given fields:
func (*Identifiers) Has ¶
func (_m *Identifiers) Has(id flow.Identifier) bool
Has provides a mock function with given fields: id
func (*Identifiers) Rem ¶
func (_m *Identifiers) Rem(id flow.Identifier) bool
Rem provides a mock function with given fields: id
func (*Identifiers) Size ¶
func (_m *Identifiers) Size() uint
Size provides a mock function with given fields:
type IncorporatedResultSeals ¶ added in v0.11.0
IncorporatedResultSeals is an autogenerated mock type for the IncorporatedResultSeals type
func (*IncorporatedResultSeals) Add ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) Add(irSeal *flow.IncorporatedResultSeal) (bool, error)
Add provides a mock function with given fields: irSeal
func (*IncorporatedResultSeals) All ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) All() []*flow.IncorporatedResultSeal
All provides a mock function with given fields:
func (*IncorporatedResultSeals) ByID ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) ByID(_a0 flow.Identifier) (*flow.IncorporatedResultSeal, bool)
ByID provides a mock function with given fields: _a0
func (*IncorporatedResultSeals) Clear ¶ added in v0.13.0
func (_m *IncorporatedResultSeals) Clear()
Clear provides a mock function with given fields:
func (*IncorporatedResultSeals) Limit ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) Limit() uint
Limit provides a mock function with given fields:
func (*IncorporatedResultSeals) RegisterEjectionCallbacks ¶ added in v0.13.0
func (_m *IncorporatedResultSeals) RegisterEjectionCallbacks(callbacks ...mempool.OnEjection)
RegisterEjectionCallbacks provides a mock function with given fields: callbacks
func (*IncorporatedResultSeals) Rem ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) Rem(incorporatedResultID flow.Identifier) bool
Rem provides a mock function with given fields: incorporatedResultID
func (*IncorporatedResultSeals) Size ¶ added in v0.11.0
func (_m *IncorporatedResultSeals) Size() uint
Size provides a mock function with given fields:
type IncorporatedResults ¶ added in v0.11.0
IncorporatedResults is an autogenerated mock type for the IncorporatedResults type
func (*IncorporatedResults) Add ¶ added in v0.11.0
func (_m *IncorporatedResults) Add(result *flow.IncorporatedResult) (bool, error)
Add provides a mock function with given fields: result
func (*IncorporatedResults) All ¶ added in v0.11.0
func (_m *IncorporatedResults) All() []*flow.IncorporatedResult
All provides a mock function with given fields:
func (*IncorporatedResults) ByResultID ¶ added in v0.11.0
func (_m *IncorporatedResults) ByResultID(resultID flow.Identifier) (*flow.ExecutionResult, map[flow.Identifier]*flow.IncorporatedResult, bool)
ByResultID provides a mock function with given fields: resultID
func (*IncorporatedResults) Rem ¶ added in v0.11.0
func (_m *IncorporatedResults) Rem(incorporatedResult *flow.IncorporatedResult) bool
Rem provides a mock function with given fields: incorporatedResult
func (*IncorporatedResults) Size ¶ added in v0.11.0
func (_m *IncorporatedResults) Size() uint
Size provides a mock function with given fields:
type ReceiptDataPacks ¶
ReceiptDataPacks is an autogenerated mock type for the ReceiptDataPacks type
func (*ReceiptDataPacks) Add ¶
func (_m *ReceiptDataPacks) Add(rdp *verification.ReceiptDataPack) bool
Add provides a mock function with given fields: rdp
func (*ReceiptDataPacks) All ¶
func (_m *ReceiptDataPacks) All() []*verification.ReceiptDataPack
All provides a mock function with given fields:
func (*ReceiptDataPacks) Get ¶
func (_m *ReceiptDataPacks) Get(rdpID flow.Identifier) (*verification.ReceiptDataPack, bool)
Get provides a mock function with given fields: rdpID
func (*ReceiptDataPacks) Has ¶
func (_m *ReceiptDataPacks) Has(rdpID flow.Identifier) bool
Has provides a mock function with given fields: rdpID
func (*ReceiptDataPacks) Rem ¶
func (_m *ReceiptDataPacks) Rem(rdpID flow.Identifier) bool
Rem provides a mock function with given fields: rdpID
func (*ReceiptDataPacks) Size ¶
func (_m *ReceiptDataPacks) Size() uint
Size provides a mock function with given fields:
type ResultDataPacks ¶
ResultDataPacks is an autogenerated mock type for the ResultDataPacks type
func (*ResultDataPacks) Add ¶
func (_m *ResultDataPacks) Add(result *verification.ResultDataPack) bool
Add provides a mock function with given fields: result
func (*ResultDataPacks) Get ¶
func (_m *ResultDataPacks) Get(resultID flow.Identifier) (*verification.ResultDataPack, bool)
Get provides a mock function with given fields: resultID
func (*ResultDataPacks) Has ¶
func (_m *ResultDataPacks) Has(resultID flow.Identifier) bool
Has provides a mock function with given fields: resultID
func (*ResultDataPacks) Rem ¶
func (_m *ResultDataPacks) Rem(resultID flow.Identifier) bool
Rem provides a mock function with given fields: resultID
func (*ResultDataPacks) Size ¶
func (_m *ResultDataPacks) Size() uint
Size provides a mock function with given fields:
type Results ¶
Results is an autogenerated mock type for the Results type
func (*Results) Add ¶
func (_m *Results) Add(result *flow.ExecutionResult) bool
Add provides a mock function with given fields: result
func (*Results) All ¶
func (_m *Results) All() []*flow.ExecutionResult
All provides a mock function with given fields:
func (*Results) ByID ¶
func (_m *Results) ByID(resultID flow.Identifier) (*flow.ExecutionResult, bool)
ByID provides a mock function with given fields: resultID
func (*Results) Has ¶
func (_m *Results) Has(resultID flow.Identifier) bool
Has provides a mock function with given fields: resultID
type TransactionTimings ¶
TransactionTimings is an autogenerated mock type for the TransactionTimings type
func (*TransactionTimings) Add ¶
func (_m *TransactionTimings) Add(tx *flow.TransactionTiming) bool
Add provides a mock function with given fields: tx
func (*TransactionTimings) Adjust ¶
func (_m *TransactionTimings) Adjust(txID flow.Identifier, f func(*flow.TransactionTiming) *flow.TransactionTiming) (*flow.TransactionTiming, bool)
Adjust provides a mock function with given fields: txID, f
func (*TransactionTimings) All ¶
func (_m *TransactionTimings) All() []*flow.TransactionTiming
All provides a mock function with given fields:
func (*TransactionTimings) ByID ¶
func (_m *TransactionTimings) ByID(txID flow.Identifier) (*flow.TransactionTiming, bool)
ByID provides a mock function with given fields: txID
func (*TransactionTimings) Rem ¶
func (_m *TransactionTimings) Rem(txID flow.Identifier) bool
Rem provides a mock function with given fields: txID
type Transactions ¶
Transactions is an autogenerated mock type for the Transactions type
func (*Transactions) Add ¶
func (_m *Transactions) Add(tx *flow.TransactionBody) bool
Add provides a mock function with given fields: tx
func (*Transactions) All ¶
func (_m *Transactions) All() []*flow.TransactionBody
All provides a mock function with given fields:
func (*Transactions) ByID ¶
func (_m *Transactions) ByID(txID flow.Identifier) (*flow.TransactionBody, bool)
ByID provides a mock function with given fields: txID
func (*Transactions) Clear ¶ added in v0.11.0
func (_m *Transactions) Clear()
Clear provides a mock function with given fields:
func (*Transactions) Has ¶
func (_m *Transactions) Has(txID flow.Identifier) bool
Has provides a mock function with given fields: txID
func (*Transactions) Hash ¶
func (_m *Transactions) Hash() flow.Identifier
Hash provides a mock function with given fields:
func (*Transactions) Rem ¶
func (_m *Transactions) Rem(txID flow.Identifier) bool
Rem provides a mock function with given fields: txID
func (*Transactions) Size ¶
func (_m *Transactions) Size() uint
Size provides a mock function with given fields: