null

package
v0.26.2-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 4 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) (*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(q *query.Query) ([]*types.TxResult, error)

Jump to

Keyboard shortcuts

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