keeper

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitKVStore

type CommitKVStore struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(m codec.Codec, storeKey sdk.StoreKey) CommitKVStore

func (CommitKVStore) Abort

func (s CommitKVStore) Abort(ctx sdk.Context, id []byte) error

func (CommitKVStore) Commit

func (s CommitKVStore) Commit(ctx sdk.Context, id []byte) error

func (CommitKVStore) CommitImmediately

func (s CommitKVStore) CommitImmediately(ctx sdk.Context)

func (CommitKVStore) Delete

func (s CommitKVStore) Delete(ctx sdk.Context, key []byte)

func (CommitKVStore) Get

func (s CommitKVStore) Get(ctx sdk.Context, key []byte) []byte

func (CommitKVStore) Has

func (s CommitKVStore) Has(ctx sdk.Context, key []byte) bool

func (CommitKVStore) KVStore

func (s CommitKVStore) KVStore(ctx sdk.Context) sdk.KVStore

func (CommitKVStore) Precommit

func (s CommitKVStore) Precommit(ctx sdk.Context, id []byte) error

func (CommitKVStore) Prefix

func (s CommitKVStore) Prefix(prefix []byte) types.KVStoreI

func (CommitKVStore) Set

func (s CommitKVStore) Set(ctx sdk.Context, key, value []byte)

type LockStore

type LockStore interface {
	Lock(ctx sdk.Context, key []byte)
	Unlock(ctx sdk.Context, key []byte)
	IsLocked(ctx sdk.Context, key []byte) bool

	Prefix(prefix []byte) LockStore
}

Jump to

Keyboard shortcuts

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