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: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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