Documentation ¶
Index ¶
- type Store
- func (s Store) CacheWrap() types.CacheWrap
- func (s Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) types.CacheWrap
- func (s Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (s Store) Delete(key []byte)
- func (s Store) Get(key []byte) []byte
- func (s Store) GetStoreType() types.StoreType
- func (s Store) Has(key []byte) bool
- func (s Store) Iterator(start, end []byte) types.Iterator
- func (s Store) ReverseIterator(start, end []byte) types.Iterator
- func (s Store) Set(key, value []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is similar with tendermint/tendermint/libs/db/prefix_db both gives access only to the limited subset of the store for convinience or safety
func (Store) CacheWrapWithListeners ¶ added in v0.46.0
func (s Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) types.CacheWrap
CacheWrapWithListeners implements the CacheWrapper interface.
func (Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements the KVStore interface.
func (Store) Iterator ¶
Implements KVStore Check https://github.com/tendermint/tendermint/blob/master/libs/db/prefix_db.go#L106
func (Store) ReverseIterator ¶
ReverseIterator implements KVStore Check https://github.com/tendermint/tendermint/blob/master/libs/db/prefix_db.go#L129
Click to show internal directories.
Click to hide internal directories.