null

package
v0.38.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 15

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 (txi *TxIndex) AddBatch(_ *txindex.Batch) error

AddBatch is a noop and always returns nil.

func (*TxIndex) Get

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

Get on a TxIndex is disabled and panics when invoked.

func (*TxIndex) Index

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

Index is a noop and always returns nil.

func (*TxIndex) Search

func (txi *TxIndex) Search(_ context.Context, _ *query.Query) ([]*abci.TxResult, error)

func (*TxIndex) SetLogger added in v0.38.0

func (txi *TxIndex) SetLogger(log.Logger)

Jump to

Keyboard shortcuts

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