Versions in this module Expand all Collapse all v0 v0.47.3 Aug 22, 2024 Changes in this version + const DefaultIAVLCacheSize + func LoadStore(db dbm.DB, logger log.Logger, key types.StoreKey, id types.CommitID, ...) (types.CommitKVStore, error) + func LoadStoreWithInitialVersion(db dbm.DB, logger log.Logger, key types.StoreKey, id types.CommitID, ...) (types.CommitKVStore, error) + type Store struct + func UnsafeNewStore(tree *iavl.MutableTree) *Store + func (st *Store) CacheWrap() types.CacheWrap + func (st *Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap + func (st *Store) Commit() types.CommitID + func (st *Store) Delete(key []byte) + func (st *Store) DeleteVersions(versions ...int64) error + func (st *Store) Export(version int64) (*iavl.Exporter, error) + func (st *Store) Get(key []byte) []byte + func (st *Store) GetAllVersions() []int + func (st *Store) GetImmutable(version int64) (*Store, error) + func (st *Store) GetPruning() pruningtypes.PruningOptions + func (st *Store) GetStoreType() types.StoreType + func (st *Store) Has(key []byte) (exists bool) + func (st *Store) Import(version int64) (*iavl.Importer, error) + func (st *Store) Iterator(start, end []byte) types.Iterator + func (st *Store) LastCommitID() types.CommitID + func (st *Store) LazyLoadVersionForOverwriting(targetVersion int64) (int64, error) + func (st *Store) LoadVersionForOverwriting(targetVersion int64) (int64, error) + func (st *Store) Query(req abci.RequestQuery) (res abci.ResponseQuery) + func (st *Store) ReverseIterator(start, end []byte) types.Iterator + func (st *Store) Set(key, value []byte) + func (st *Store) SetInitialVersion(version int64) + func (st *Store) SetPruning(_ pruningtypes.PruningOptions) + func (st *Store) VersionExists(version int64) bool + type Tree interface + AvailableVersions func() []int + DeleteVersion func(version int64) error + DeleteVersions func(versions ...int64) error + Get func(key []byte) ([]byte, error) + GetImmutable func(version int64) (*iavl.ImmutableTree, error) + GetVersioned func(key []byte, version int64) ([]byte, error) + Has func(key []byte) (bool, error) + Hash func() ([]byte, error) + Iterator func(start, end []byte, ascending bool) (types.Iterator, error) + LazyLoadVersionForOverwriting func(targetVersion int64) (int64, error) + LoadVersionForOverwriting func(targetVersion int64) (int64, error) + Remove func(key []byte) ([]byte, bool, error) + SaveVersion func() ([]byte, int64, error) + Set func(key, value []byte) (bool, error) + SetInitialVersion func(version uint64) + Version func() int64 + VersionExists func(version int64) bool