# Packages
Package archive is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package stock is a generated GoMock package.
No description provided by the author
Code generated by MockGen.
# Functions
GetComposedProof computes the root proof a composed snapshot would have if its sub-snapshots would exhibit the provided proofs.
NewComposedSnapshot creates a snapshot by combining the provided snapshots.
No description provided by the author
OpenLevelDb opens the LevelDB connection and provides it wrapped in memory-footprint-reporting object.
SplitCompositeData divides the provided view of snapshot data in a list of views of the sub-snapshots contained in a composed snapshot and their respective part counts.
SplitCompositeMetaData divides the provided meta data in a list of meta data for sub-snapshots.
ToDBKey converts the input key to its respective table space key.
# Constants
AccountArchiveKey is a tablespace for archive account states.
AccountHashArchiveKey is a tablespace for archive account hashes.
AccountStoreKey is a tablespace for accounts states.
AddressIndexKey is a tablespace for address index.
AddressSlotMultiMapKey is a tablespace for slots-used-by-address multimap.
BalanceArchiveKey is a tablespace for archive balances.
BalanceStoreKey is a tablespace for balances.
BlockArchiveKey is a tablespace for archive mapping from block numbers to block hashes.
CodeArchiveKey is a tablespace for archive codes of contracts.
CodeHashStoreKey is a tablespace for store of codes hashes.
DepotCodeKey is a tablespace for code depot.
HashKey is a sub-tablespace for a hash tree.
KeyIndexKey is a tablespace for key index.
NonceArchiveKey is a tablespace for archive nonces.
NonceStoreKey is a tablespace for nonces.
ReincarnationStoreKey is a tablespace for accounts reincarnations counters.
SlotLocIndexKey is a tablespace for slot index.
StorageArchiveKey is a tablespace for storage slots values.
ValueStoreKey is a tablespace for slot values.
# Variables
An error that implementations may return if snapshots are not supported.
# Structs
ComposedSnapshot implements a Snapshot comprised of a list of sub-snapshots.
LevelDbMemoryFootprintWrapper is a LevelDB wrapper adding a memory footprint providing method.
LevelDbTransactionMemoryFootprintWrapper is a LevelDB transaction wrapper adding a memory footprint method.
# Interfaces
LevelDB is an interface missing in original LevelDB design.
LevelDBReader is an interface missing in original LevelDB design.
Part is a chunk of data of a data structure's snapshot.
Proof is a piece of information that can be used to certify the content of a Part or an entire snapshot.
Snapshots capture a state of a single or a set of data structures at a moment in time for future reference.
Snapshotable is an interface to be implemented by data structure to support integration into the snapshotting infrastructure.
SnapshotData is a type-erased view on a snapshot that is intended to be used for syncing data between data structure instances.
SnapshotVerifier provides abstract means for verifying individual parts of a snapshot.
# Type aliases
DbKey expects max size of the 36B key plus at most two bytes for the table prefix (e.g.
TableSpace divide key-value storage into spaces by adding a prefix to the key.