null

package
v0.14.0-dev.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 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