null

package
v0.8.14 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventSink

func NewEventSink() indexer.EventSink

Types

type EventSink

type EventSink struct{}

EventSink implements a no-op indexer.

func (*EventSink) GetTxByHash

func (nes *EventSink) GetTxByHash(hash []byte) (*abci.TxResult, error)

func (*EventSink) HasBlock

func (nes *EventSink) HasBlock(h int64) (bool, error)

func (*EventSink) IndexBlockEvents

func (nes *EventSink) IndexBlockEvents(bh types.EventDataNewBlockHeader) error

func (*EventSink) IndexTxEvents

func (nes *EventSink) IndexTxEvents(results []*abci.TxResult) error

func (*EventSink) SearchBlockEvents

func (nes *EventSink) SearchBlockEvents(ctx context.Context, q *query.Query) ([]int64, error)

func (*EventSink) SearchTxEvents

func (nes *EventSink) SearchTxEvents(ctx context.Context, q *query.Query) ([]*abci.TxResult, error)

func (*EventSink) Stop

func (nes *EventSink) Stop() error

func (*EventSink) Type

func (nes *EventSink) Type() indexer.EventSinkType

Jump to

Keyboard shortcuts

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