store

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First(st KVStore, start, end []byte) (kv cmn.KVPair, ok bool)

Gets the first item.

func Last

func Last(st KVStore, start, end []byte) (kv cmn.KVPair, ok bool)

Gets the last item. `end` is exclusive.

func NewCacheKVStore

func NewCacheKVStore(parent KVStore) *cacheKVStore

func NewCommitMultiStore

func NewCommitMultiStore(db dbm.DB) *rootMultiStore

Types

type CacheKVStore

type CacheKVStore = types.CacheKVStore

type CacheMultiStore

type CacheMultiStore = types.CacheMultiStore

type CacheWrap

type CacheWrap = types.CacheWrap

type CacheWrapper

type CacheWrapper = types.CacheWrapper

type CommitID

type CommitID = types.CommitID

type CommitKVStore added in v0.11.0

type CommitKVStore = types.CommitKVStore

type CommitMultiStore

type CommitMultiStore = types.CommitMultiStore

type CommitStore

type CommitStore = types.CommitStore

func LoadIAVLStore

func LoadIAVLStore(db dbm.DB, id CommitID) (CommitStore, error)

type Committer

type Committer = types.Committer

type Iterator

type Iterator = types.Iterator

type KVStore

type KVStore = types.KVStore

type MultiStore

type MultiStore = types.MultiStore

type Queryable

type Queryable = types.Queryable

type Store

type Store = types.Store

Import cosmos-sdk/types/store.go for convenience.

type StoreKey

type StoreKey = types.StoreKey

type StoreType

type StoreType = types.StoreType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL