prefix

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0, UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

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 convenience or safety

func New

func New(parent types.Store, prefix []byte) Store

func (Store) CacheWrap

func (s Store) CacheWrap() types.Store

Implements Store

func (Store) Delete

func (s Store) Delete(key []byte)

Implements Store

func (Store) Get

func (s Store) Get(key []byte) []byte

Implements Store

func (Store) Has

func (s Store) Has(key []byte) bool

Implements Store

func (Store) Iterator

func (s Store) Iterator(start, end []byte) types.Iterator

Implements Store Check https://github.com/tendermint/classic/blob/master/libs/db/prefix_db.go#L106

func (Store) ReverseIterator

func (s Store) ReverseIterator(start, end []byte) types.Iterator

Implements Store Check https://github.com/tendermint/classic/blob/master/libs/db/prefix_db.go#L129

func (Store) Set

func (s Store) Set(key, value []byte)

Implements Store

func (Store) Write

func (s Store) Write()

Implements Store

Jump to

Keyboard shortcuts

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