null

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 5 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 (txi *TxIndex) AddBatch(batch *txindex.Batch) error

AddBatch is a noop and always returns nil.

func (*TxIndex) Get

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

Get on a TxIndex is disabled and panics when invoked.

func (*TxIndex) Index

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

Index is a noop and always returns nil.

func (*TxIndex) Search

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

Jump to

Keyboard shortcuts

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