# Functions
Check if the key is valid(key is not nil).
Check if the value is valid(value is not nil).
CommitmentOpDecoder takes a merkle.ProofOp and attempts to decode it into a CommitmentOp ProofOperator The proofOp.Data is just a marshalled CommitmentProof.
----------------------------------------.
DiffKVStores compares two KVstores and returns all the key/value pairs that differ from one another.
InclusiveEndBytes returns the []byte that would end a range query such that the input would be included.
KVGasConfig returns a default gas config for KVStores.
Iterator over all the keys with a certain prefix in ascending order.
KVStorePrefixIteratorPaginated returns iterator over items in the selected page.
Iterator over all the keys with a certain prefix in descending order.
KVStoreReversePrefixIteratorPaginated returns iterator over items in the selected page.
NewGasMeter returns a reference to a new basicGasMeter.
No description provided by the author
NewInfiniteGasMeter returns a reference to a new infiniteGasMeter.
NewKVStoreKey returns a new pointer to a KVStoreKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewStoreKVPairWriteListener wraps creates a StoreKVPairWriteListener with a provdied io.Writer and codec.BinaryCodec.
Constructs new TransientStoreKey Must return a pointer according to the ocap principle.
PrefixEndBytes returns the []byte that would end a range query for all []byte with a certain prefix Deals with last byte of prefix being FF without overflowing.
TransientGasConfig returns a default gas config for TransientStores.
# Constants
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
Gas consumption descriptors.
No description provided by the author
No description provided by the author
Pruning option string constants.
Pruning option string constants.
Pruning option string constants.
Pruning option string constants.
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
nolint.
No description provided by the author
# Variables
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
No description provided by the author
No description provided by the author
PruneDefault defines a pruning strategy where the last 100 heights are kept in addition to every 10000th and where to-be pruned heights are pruned at every 10th height.
PruneEverything defines a pruning strategy where all committed heights are deleted, storing only the current height and where to-be pruned heights are pruned at every 10th height.
PruneNothing defines a pruning strategy where all heights are kept on disk.
# Structs
CommitID defines the committment information when a specific store is committed.
CommitInfo defines commit information used by the multi-store when committing a version/height.
CommitmentOp implements merkle.ProofOperator by wrapping an ics23 CommitmentProof It also contains a Key field to determine which key the proof is proving.
ErrorGasOverflow defines an error thrown when an action results gas consumption unsigned integer overflow.
ErrorOutOfGas defines an error thrown when an action results in out of gas.
GasConfig defines gas cost for each operation on KVStores.
KVStoreKey is used for accessing substores.
MemoryStoreKey defines a typed key to be used with an in-memory KVStore.
PaginatedIterator is a wrapper around Iterator that iterates over values starting for given page and limit.
PruningOptions defines the pruning strategy used when determining which heights are removed from disk when committing state.
StoreInfo defines store-specific commit information.
StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and Deletes
Since: cosmos-sdk 0.43.
StoreKVPairWriteListener is used to configure listening to a KVStore by writing out length-prefixed protobuf encoded StoreKVPairs to an underlying io.Writer.
StoreRename defines a name change of a sub-store.
StoreUpgrades defines a series of transformations to apply the multistore db upon load.
TransientStoreKey is used for indexing transient stores in a MultiStore.
# Interfaces
No description provided by the author
CacheKVStore cache-wraps a KVStore.
No description provided by the author
From MultiStore.CacheMultiStore()....
CacheWrap makes the most appropriate cache-wrap.
No description provided by the author
Stores of MultiStore must implement CommitStore.
A non-cache MultiStore.
No description provided by the author
Stores of MultiStore must implement CommitStore.
something that can persist to disk.
GasMeter interface to track gas consumption.
KVStore is a simple interface to get/set data.
No description provided by the author
MultiStorePersistentCache defines an interface which provides inter-block (persistent) caching capabilities for multiple CommitKVStores based on StoreKeys.
Queryable allows a Store to expose internal state to the abci.Query interface.
No description provided by the author
StoreKey is a key used to index stores in a MultiStore.
WriteListener interface for streaming data out from a listenkv.Store.
# Type aliases
Gas measured by the SDK.
Alias iterator to db's Iterator for convenience.
key-value result for iterator queries.
No description provided by the author
kind of store.
TraceContext contains TraceKVStore context data.
No description provided by the author
No description provided by the author