# Functions
Check if the key is valid(key is not nil).
Check if the value is valid(value is not nil).
----------------------------------------.
DefaultGasConfig returns a default gas config for KVStores.
Compare two stores, return either the first key/value pair at which they differ and whether or not they are equal, skipping value comparison for a set of provided prefixes.
InclusiveEndBytes returns the []byte that would end a range query such that the input would be included.
NewGasMeter returns a reference to a new basicGasMeter.
NewInfiniteGasMeter returns a reference to a new infiniteGasMeter.
NewPassthroughGasMeter has a head basicGasMeter, but also passes through consumption to a base basicGasMeter.
No description provided by the author
NewStoreKey returns a new pointer to a StoreKey.
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.
Iterator over all the keys with a certain prefix in ascending order.
Iterator over all the keys with a certain prefix in descending order.
# 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.
# Variables
PruneEverything means all saved states will be deleted, storing only the current state.
PruneNothing means all historic states will be saved, nothing will be deleted.
PruneSyncable means only those states not needed for state syncing will be deleted (keeps last 100 + every 10000th).
# Structs
CommitID contains the tree version number and its merkle root.
GasConfig defines gas cost for each operation on KVStores.
GasOverflowException defines an error thrown when an action results gas consumption unsigned integer overflow.
OutOfGasException defines an error thrown when an action results in out of gas.
PruningOptions specifies how old states will be deleted over time where KeepRecent can be used with KeepEvery to create a pruning "strategy".
(Global) Store options are used to construct new stores.
# Interfaces
A non-cache MultiStore.
Stores of MultiStore must implement CommitStore.
Something that can persist to disk.
Write through all caches.
GasMeter interface to track gas consumption.
No description provided by the author
Useful for debugging.
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.
Write throgh.
# Type aliases
Used by MultiStores to mount a new store.
Gas measured by the SDK.
Alias iterator to db's Iterator for convenience.
No description provided by the author