package
0.38.0-preview.0
Repository: https://github.com/onflow/flow-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package mocks is a generated GoMock package.
No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Variables

ErrAlreadyExists is returned when an insert attempts to set the value for a key that already exists.
ErrDataMismatch is returned when a repeatable insert operation attempts to insert a different value for the same key.
ErrHeightNotIndexed is returned when data that is indexed sequentially is queried by a given block height and that data is unavailable.
ErrNotBootstrapped is returned when the database has not been bootstrapped.
ErrNotFound is returned when a retrieved key does not exist in the database.

# Structs

All includes all the storage modules.
StoredChunkDataPack is an in-storage representation of chunk data pack.

# Interfaces

BatchStorage serves as an abstraction over batch storage, adding ability to add ability to add extra callbacks which fire after the batch is successfully flushed.
Blocks represents persistent storage for blocks.
ChunkDataPacks represents persistent storage for chunk data packs.
No description provided by the author
No description provided by the author
ClusterPayloads handles storing and retrieving payloads for collection node cluster consensus.
Collections represents persistent storage for collections.
Commits represents persistent storage for state commitments.
ComputationResultUploadStatus interface defines storage operations for upload status of given ComputationResult instance: - false as upload not completed - true as upload completed.
ConsumerProgress reads and writes the last processed index of the job in the job queue.
DKGState is the storage interface for storing all artifacts and state related to the DKG process, including the latest state of a running or completed DKG, and computed beacon keys.
No description provided by the author
EpochProtocolStateEntries represents persistent, fork-aware storage for the Epoch-related sub-state of the overall of the overall Protocol State (KV Store).
No description provided by the author
Events represents persistent storage for events.
ExecutionReceipts holds and indexes Execution Receipts.
No description provided by the author
Guarantees represents persistent storage for collection guarantees.
Headers represents persistent storage for blocks.
HeightIndex defines methods for indexing height.
No description provided by the author
Ledger takes care of storing registers (key, value pairs) providing proof of correctness we aim to store a state of the order of 10^10 registers with up to 1M historic state versions.
LedgerVerifier should be designed as an standalone package to verify proofs of storage.
LightTransactionResults represents persistent storage for light transaction result.
MyExecutionReceipts reuses the storage.ExecutionReceipts API, but doesn't expose them.
Payloads represents persistent storage for payloads.
ProtocolKVStore persists different snapshots of key-value stores [KV-stores].
QuorumCertificates represents storage for Quorum Certificates.
RegisterIndex defines methods for the register index.
No description provided by the author
SafeBeaconKeys is a safe way to access beacon keys.
Seals represents persistent storage for seals.
No description provided by the author
No description provided by the author
TransactionResults represents persistent storage for transaction result.
Transactions represents persistent storage for transactions.
VersionBeacons represents persistent storage for Version Beacons.