package
0.29.6-upgrade-to-badger-v3
Repository: https://github.com/koko1123/flow-go-1.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

EjectPanic simply panics, crashing the program.
EjectTrueRandom relies on a random generator to pick a random entity to eject from the entity set.
EjectTrueRandomFast checks if the map size is beyond the threshold size, and will iterate through them and eject unneeded entries if that is the case.
NewAssignments creates a new memory pool for Assignments.
NewBackend creates a new memory pool backend.
No description provided by the author
NewBlocks creates a new memory pool for blocks.
NewChunkDataPacks creates a new memory pool for ChunkDataPacks.
No description provided by the author
No description provided by the author
NewCollections creates a new memory pool for collection.
NewGuarantees creates a new memory pool for collection guarantees.
NewIdentifierMap creates a new memory pool for IdMapEntity.
NewIdentifiers creates a new memory pool for identifiers.
NewIncorporatedResultSeals creates a mempool for the incorporated result seals.
No description provided by the author
NewPendingReceipts creates a new memory pool for execution receipts.
No description provided by the author
NewReceipts creates a new memory pool for execution receipts.
NewResults creates a new memory pool for execution results.
NewTimes creates a new memory pool for times.
NewTransactions creates a new memory pool for transactions.
NewTransactionTimings creates a new memory pool for transaction timings.
WithBackData sets the underlying backdata of the backend.
WithEject can be provided to the backend on creation in order to set a custom eject function to pick the entity to be evicted upon overflow, as well as hooking into it for additional cleanup work.
WithLimit can be provided to the backend on creation in order to set a point where it's time to check for ejection conditions.

# Structs

Assignments implements the chunk assignment memory pool.
Backend provides synchronized access to a backdata.
BlockByCollectionBackdata contains all the collections is being requested, for each collection it stores the blocks that contains the collection.
Hold all the missing collections.
Blocks implements the blocks memory pool.
ChunkDataPacks implements the ChunkDataPack memory pool.
ChunkRequests is an implementation of in-memory storage for maintaining chunk requests data objects.
ChunkStatuses is an implementation of in-memory storage for maintaining the chunk status data objects.
Collections implements a mempool storing collections.
Guarantees implements the collections memory pool of the consensus nodes, used to store collection guarantees and to generate block payloads.
IdentifierMap represents a concurrency-safe memory pool for IdMapEntity.
Identifiers represents a concurrency-safe memory pool for IDs.
IncorporatedResultSeals implements the incorporated result seals memory pool of the consensus nodes, used to store seals that need to be added to blocks.
LRUEjector provides a swift FIFO ejection functionality.
PendingReceipts stores pending receipts indexed by the id.
No description provided by the author
QueuesBackdata is mempool map for ingestion.Queues (head Node ID -> Queues).
Receipts implements the execution receipts memory pool of the consensus node, used to store execution receipts and to generate block seals.
Results implements the execution results memory pool of the consensus node, used to store execution results and to generate block seals.
No description provided by the author
Times implements the times memory pool used to store time.Times for an idetifier to track transaction metrics in access nodes.
Transactions implements the transactions memory pool of the consensus nodes, used to store transactions and to generate block payloads.
TransactionTimings implements the transaction timings memory pool of access nodes, used to store transaction timings to report the timing of individual transactions.

# Type aliases

BatchEjectFunc implements an ejection policy to remove elements when the mempool exceeds its specified capacity.
No description provided by the author
OptionFunc is a function that can be provided to the backend on creation in order to set a certain custom option.