null

package
v0.33.9 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 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) DeleteFromHeight

func (txi *TxIndex) DeleteFromHeight(ctx context.Context, height int64) error

func (*TxIndex) Get

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

Get on a TxIndex is disabled and panics when invoked.

func (*TxIndex) Index

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

Index is a noop and always returns nil.

func (*TxIndex) Search

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

Jump to

Keyboard shortcuts

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