Versions in this module Expand all Collapse all v0 v0.47.0 Feb 1, 2022 Changes in this version + var ErrMaximumHeight = errors.New("maximum block height reached") + var ErrReadOnly = errors.New("cannot modify read-only store") + var ErrVersionDoesNotExist = errors.New("version does not exist") + func ErrStoreNotFound(skey string) error + type Store struct + InitialVersion uint64 + PersistentCache types.MultiStorePersistentCache + Pruning types.PruningOptions + StateCommitmentDB dbm.DBConnection + func NewStore(db dbm.DBConnection, opts StoreConfig) (ret *Store, err error) + func (rs *Store) CacheMultiStore() types.CacheMultiStore + func (rs *Store) GetKVStore(skey types.StoreKey) types.KVStore + func (rs *Store) GetVersion(version int64) (types.BasicMultiStore, error) + func (rs *Store) Query(req abci.RequestQuery) (res abci.ResponseQuery) + func (rs *Store) Restore(height uint64, format uint32, chunks <-chan io.ReadCloser, ...) error + func (rs *Store) SetInitialVersion(version uint64) error + func (rs *Store) Snapshot(height uint64, format uint32) (<-chan io.ReadCloser, error) + func (s *Store) Close() error + func (s *Store) Commit() types.CommitID + func (s *Store) GetPruning() types.PruningOptions + func (s *Store) LastCommitID() types.CommitID + func (s *Store) SetPruning(po types.PruningOptions) + func (tlm Store) AddListeners(skey types.StoreKey, listeners []types.WriteListener) + func (tlm Store) ListeningEnabled(key types.StoreKey) bool + func (tlm Store) SetTraceContext(tc types.TraceContext) + func (tlm Store) SetTracer(w io.Writer) + func (tlm Store) TracingEnabled() bool + type StoreConfig struct + InitialVersion uint64 + PersistentCache types.MultiStorePersistentCache + Pruning types.PruningOptions + StateCommitmentDB dbm.DBConnection + Upgrades []types.StoreUpgrades + func DefaultStoreConfig() StoreConfig + func (pr *StoreConfig) RegisterSubstore(key string, typ types.StoreType) error + func (tlm StoreConfig) AddListeners(skey types.StoreKey, listeners []types.WriteListener) + func (tlm StoreConfig) ListeningEnabled(key types.StoreKey) bool + func (tlm StoreConfig) SetTraceContext(tc types.TraceContext) + func (tlm StoreConfig) SetTracer(w io.Writer) + func (tlm StoreConfig) TracingEnabled() bool + type StoreSchema map[string]types.StoreType