null

package
v100.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxIndex

type TxIndex struct{}

TxIndex acts as a /dev/null.

func (*TxIndex) AddBatch

func (*TxIndex) AddBatch(_ *txindex.Batch) error

AddBatch is a noop and always returns nil.

func (*TxIndex) Get

func (*TxIndex) Get(_ []byte) (*abci.TxResult, error)

Get on a TxIndex is disabled and panics when invoked.

func (*TxIndex) GetRetainHeight

func (*TxIndex) GetRetainHeight() (int64, error)

func (*TxIndex) Index

func (*TxIndex) Index(_ *abci.TxResult) error

Index is a noop and always returns nil.

func (*TxIndex) Prune

func (*TxIndex) Prune(_ int64) (numPruned, newRetainHeight int64, err error)

func (*TxIndex) Search

func (*TxIndex) SetLogger

func (*TxIndex) SetLogger(log.Logger)

func (*TxIndex) SetRetainHeight

func (*TxIndex) SetRetainHeight(_ int64) error

Jump to

Keyboard shortcuts

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