Documentation
¶
Index ¶
- type Indexer
- func (x *Indexer) DeleteTipBlock(blk *block.Block) error
- func (x *Indexer) GetEvmTransferByActionHash(actionHash hash.Hash256) (*systemlogpb.ActionEvmTransfer, error)
- func (x *Indexer) GetEvmTransferByBlockHeight(blockHeight uint64) (*systemlogpb.BlockEvmTransfer, error)
- func (x *Indexer) PutBlock(blk *block.Block) error
- func (x *Indexer) Start(ctx context.Context) error
- func (x *Indexer) Stop(ctx context.Context) error
- func (x *Indexer) TipHeight() (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer is the indexer for system log
func (*Indexer) DeleteTipBlock ¶
DeleteTipBlock deletes a block's evm transfer
func (*Indexer) GetEvmTransferByActionHash ¶
func (x *Indexer) GetEvmTransferByActionHash(actionHash hash.Hash256) (*systemlogpb.ActionEvmTransfer, error)
GetEvmTransferByActionHash queries evm transfers by action hash
func (*Indexer) GetEvmTransferByBlockHeight ¶
func (x *Indexer) GetEvmTransferByBlockHeight(blockHeight uint64) (*systemlogpb.BlockEvmTransfer, error)
GetEvmTransferByBlockHeight queries evm transfers by block height
Click to show internal directories.
Click to hide internal directories.