Documentation ¶
Overview ¶
Package sync ...
Index ¶
- Constants
- func HandleRequest(body []byte) error
- type EVMTxLogs
- func (syncTx *EVMTxLogs) GetNextValidEvmTxLogs(height int64) (*types.EVMTxLogPerBlk, error)
- func (syncTx *EVMTxLogs) GetTxLogs(height int64) (*types.TxReceipts4SubscribePerBlk, error)
- func (syncTx *EVMTxLogs) LoadLastBlockHeight() (int64, error)
- func (syncTx *EVMTxLogs) SaveAndSyncTxs2Relayer()
- func (syncTx *EVMTxLogs) Stop()
Constants ¶
View Source
const ( SeqTypeAdd = int32(1) SeqTypeDel = int32(2) )
SeqType
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EVMTxLogs ¶
type EVMTxLogs struct {
// contains filtered or unexported fields
}
EVMTxLogs ...
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 ¶
LoadLastBlockHeight ...
func (*EVMTxLogs) SaveAndSyncTxs2Relayer ¶
func (syncTx *EVMTxLogs) SaveAndSyncTxs2Relayer()
SaveAndSyncTxs2Relayer save block to db
Click to show internal directories.
Click to hide internal directories.