sync

package
v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 17 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 TxReceipts

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

TxReceipts ...

func NewSyncTxReceipts

func NewSyncTxReceipts(db dbm.DB) *TxReceipts

NewSyncTxReceipts ...

func StartSyncTxReceipt

func StartSyncTxReceipt(cfg *relayerTypes.SyncTxReceiptConfig, db dbm.DB) *TxReceipts

StartSyncTxReceipt ...

func (*TxReceipts) GetNextValidTxReceipts

func (syncTx *TxReceipts) GetNextValidTxReceipts(height int64) (*types.TxReceipts4SubscribePerBlk, error)

GetNextValidTxReceipts ...

func (*TxReceipts) GetTxReceipts

func (syncTx *TxReceipts) GetTxReceipts(height int64) (*types.TxReceipts4SubscribePerBlk, error)

GetTxReceipts ...

func (*TxReceipts) LoadLastBlockHeight

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

LoadLastBlockHeight ...

func (*TxReceipts) SaveAndSyncTxs2Relayer

func (syncTx *TxReceipts) SaveAndSyncTxs2Relayer()

SaveAndSyncTxs2Relayer save block to db

func (*TxReceipts) Stop

func (syncTx *TxReceipts) Stop()

Stop ...

Jump to

Keyboard shortcuts

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