sync

package
v0.0.0-...-7251441 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package sync ...

Index

Constants

View Source
const (
	SeqTypeAdd = int32(1)
	SeqTypeDel = int32(2)
)

SeqType

Variables

This section is empty.

Functions

func HandleRequest

func HandleRequest(body []byte) error

HandleRequest ...

Types

type EVMTxLogs

type EVMTxLogs struct {
	// contains filtered or unexported fields
}

EVMTxLogs ...

func NewSyncTxReceipts

func NewSyncTxReceipts(db dbm.DB) *EVMTxLogs

NewSyncTxReceipts ...

func StartSyncEvmTxLogs

func StartSyncEvmTxLogs(cfg *relayerTypes.SyncTxReceiptConfig, db dbm.DB) *EVMTxLogs

StartSyncTxReceipt ...

func (*EVMTxLogs) GetNextValidEvmTxLogs

func (syncTx *EVMTxLogs) GetNextValidEvmTxLogs(height int64) (*types.EVMTxLogPerBlk, error)

GetNextValidTxReceipts ...

func (*EVMTxLogs) GetTxLogs

func (syncTx *EVMTxLogs) GetTxLogs(height int64) (*types.TxReceipts4SubscribePerBlk, error)

GetTxReceipts ...

func (*EVMTxLogs) LoadLastBlockHeight

func (syncTx *EVMTxLogs) LoadLastBlockHeight() (int64, error)

LoadLastBlockHeight ...

func (*EVMTxLogs) SaveAndSyncTxs2Relayer

func (syncTx *EVMTxLogs) SaveAndSyncTxs2Relayer()

SaveAndSyncTxs2Relayer save block to db

func (*EVMTxLogs) Stop

func (syncTx *EVMTxLogs) Stop()

Stop ...

Jump to

Keyboard shortcuts

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