tendermint: github.com/tendermint/tendermint/state/txindex/null Index | Files

package null

import "github.com/tendermint/tendermint/state/txindex/null"

Index

Package Files

null.go

type TxIndex Uses

type TxIndex struct{}

TxIndex acts as a /dev/null.

func (*TxIndex) AddBatch Uses

func (txi *TxIndex) AddBatch(batch *txindex.Batch) error

AddBatch is a noop and always returns nil.

func (*TxIndex) Get Uses

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

Get on a TxIndex is disabled and panics when invoked.

func (*TxIndex) Index Uses

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

Index is a noop and always returns nil.

func (*TxIndex) Search Uses

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

Package null imports 4 packages (graph) and is imported by 10 packages. Updated 2018-07-02. Refresh now. Tools for package owners.