Documentation ¶
Index ¶
- func NewEventSink(store dbm.DB) indexer.EventSink
- type EventSink
- func (kves *EventSink) GetTxByHash(hash []byte) (*abci.TxResult, error)
- func (kves *EventSink) HasBlock(h int64) (bool, error)
- func (kves *EventSink) IndexBlockEvents(bh types.EventDataNewBlockHeader) error
- func (kves *EventSink) IndexTxEvents(results []*abci.TxResult) error
- func (kves *EventSink) SearchBlockEvents(ctx context.Context, q *query.Query) ([]int64, error)
- func (kves *EventSink) SearchTxEvents(ctx context.Context, q *query.Query) ([]*abci.TxResult, error)
- func (kves *EventSink) Stop() error
- func (kves *EventSink) Type() indexer.EventSinkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventSink ¶
type EventSink struct {
// contains filtered or unexported fields
}
The EventSink is an aggregator for redirecting the call path of the tx/block kvIndexer. For the implementation details please see the kv.go in the indexer/block and indexer/tx folder.
func (*EventSink) GetTxByHash ¶
func (*EventSink) IndexBlockEvents ¶
func (kves *EventSink) IndexBlockEvents(bh types.EventDataNewBlockHeader) error
func (*EventSink) IndexTxEvents ¶
func (*EventSink) SearchBlockEvents ¶
func (*EventSink) SearchTxEvents ¶
func (*EventSink) Type ¶
func (kves *EventSink) Type() indexer.EventSinkType
Click to show internal directories.
Click to hide internal directories.