cosmos-sdk: github.com/cosmos/cosmos-sdk/store Index | Files | Directories

package store

import "github.com/cosmos/cosmos-sdk/store"

Index

Package Files

firstlast.go reexport.go store.go

Constants

const (
    PruningStrategyNothing    = "nothing"
    PruningStrategyEverything = "everything"
    PruningStrategySyncable   = "syncable"
)

Pruning strategies that may be provided to a KVStore to enable pruning.

Variables

var (
    PruneNothing    = types.PruneNothing
    PruneEverything = types.PruneEverything
    PruneSyncable   = types.PruneSyncable
)

nolint - reexport

func First Uses

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

Gets the first item.

func Last Uses

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

Gets the last item. `end` is exclusive.

func NewCommitKVStoreCacheManager Uses

func NewCommitKVStoreCacheManager() types.MultiStorePersistentCache

func NewCommitMultiStore Uses

func NewCommitMultiStore(db dbm.DB) types.CommitMultiStore

type CacheKVStore Uses

type CacheKVStore = types.CacheKVStore

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

type CacheMultiStore Uses

type CacheMultiStore = types.CacheMultiStore

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

type CacheWrap Uses

type CacheWrap = types.CacheWrap

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

type CacheWrapper Uses

type CacheWrapper = types.CacheWrapper

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

type CommitID Uses

type CommitID = types.CommitID

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

type CommitKVStore Uses

type CommitKVStore = types.CommitKVStore

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

type CommitMultiStore Uses

type CommitMultiStore = types.CommitMultiStore

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

type CommitStore Uses

type CommitStore = types.CommitStore

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

type Committer Uses

type Committer = types.Committer

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

type Gas Uses

type Gas = stypes.Gas

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

type GasConfig Uses

type GasConfig = stypes.GasConfig

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

type GasMeter Uses

type GasMeter = types.GasMeter

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

type Iterator Uses

type Iterator = types.Iterator

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

type KVPair Uses

type KVPair = types.KVPair

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

type KVStore Uses

type KVStore = types.KVStore

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

type MultiStore Uses

type MultiStore = types.MultiStore

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

type PruningOptions Uses

type PruningOptions = types.PruningOptions

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

func NewPruningOptionsFromString Uses

func NewPruningOptionsFromString(strategy string) (opt PruningOptions)

type Queryable Uses

type Queryable = types.Queryable

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

type Store Uses

type Store = types.Store

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

type StoreKey Uses

type StoreKey = types.StoreKey

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

type StoreType Uses

type StoreType = types.StoreType

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

type TraceContext Uses

type TraceContext = types.TraceContext

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

Directories

PathSynopsis
cache
cachekv
cachemulti
dbadapter
errors
gaskv
iavl
list
prefix
queue
rootmulti
tracekv
transient
types

Package store imports 6 packages (graph) and is imported by 25 packages. Updated 2019-11-07. Refresh now. Tools for package owners.