Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2022 Changes in this version + func LoadStore(db dbm.DB, id types.CommitID, lazyLoading bool) (types.CommitKVStore, error) + func LoadStoreWithInitialVersion(db dbm.DB, id types.CommitID, lazyLoading bool, initialVersion uint64) (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) GetImmutable(version int64) (*Store, error) + func (st *Store) GetPruning() types.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) Query(req msm.RequestQuery) (res msm.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(_ types.PruningOptions) + func (st *Store) VersionExists(version int64) bool + type Tree interface + DeleteVersion func(version int64) error + DeleteVersions func(versions ...int64) error + Get func(key []byte) (index int64, value []byte) + GetImmutable func(version int64) (*iavl.ImmutableTree, error) + GetVersioned func(key []byte, version int64) (int64, []byte) + GetVersionedWithProof func(key []byte, version int64) ([]byte, *iavl.RangeProof, error) + Has func(key []byte) bool + Hash func() []byte + Remove func(key []byte) ([]byte, bool) + SaveVersion func() ([]byte, int64, error) + Set func(key, value []byte) bool + SetInitialVersion func(version uint64) + Version func() int64 + VersionExists func(version int64) bool