relayer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BSCRelayer

type BSCRelayer struct {
	Listener           *listener.BSCListener
	GreenfieldExecutor *executor.GreenfieldExecutor
	// contains filtered or unexported fields
}

func NewBSCRelayer

func NewBSCRelayer(listener *listener.BSCListener, greenfieldExecutor *executor.GreenfieldExecutor,
	bscExecutor *executor.BSCExecutor, voteProcessor *vote.BSCVoteProcessor,
	bscAssembler *assembler.BSCAssembler,
) *BSCRelayer

func (*BSCRelayer) AssemblePackagesLoop

func (r *BSCRelayer) AssemblePackagesLoop()

func (*BSCRelayer) ClaimRewardLoop

func (r *BSCRelayer) ClaimRewardLoop()

func (*BSCRelayer) CollectVotesLoop

func (r *BSCRelayer) CollectVotesLoop()

func (*BSCRelayer) MonitorEventsLoop

func (r *BSCRelayer) MonitorEventsLoop()

MonitorEventsLoop will monitor cross chain events for every block and persist into DB

func (*BSCRelayer) PurgeLoop

func (r *BSCRelayer) PurgeLoop()

func (*BSCRelayer) SignAndBroadcastVoteLoop

func (r *BSCRelayer) SignAndBroadcastVoteLoop()

func (*BSCRelayer) Start

func (r *BSCRelayer) Start()

func (*BSCRelayer) UpdateCachedLatestValidatorsLoop

func (r *BSCRelayer) UpdateCachedLatestValidatorsLoop()

func (*BSCRelayer) UpdateClientLoop

func (r *BSCRelayer) UpdateClientLoop()

type GreenfieldRelayer

type GreenfieldRelayer struct {
	Listener           *listener.GreenfieldListener
	GreenfieldExecutor *executor.GreenfieldExecutor
	// contains filtered or unexported fields
}

func NewGreenfieldRelayer

func NewGreenfieldRelayer(listener *listener.GreenfieldListener, greenfieldExecutor *executor.GreenfieldExecutor, bscExecutor *executor.BSCExecutor, voteProcessor *vote.GreenfieldVoteProcessor, greenfieldAssembler *assembler.GreenfieldAssembler,
) *GreenfieldRelayer

func (*GreenfieldRelayer) AssembleTransactionsLoop

func (r *GreenfieldRelayer) AssembleTransactionsLoop()

func (*GreenfieldRelayer) CollectVotesLoop

func (r *GreenfieldRelayer) CollectVotesLoop()

func (*GreenfieldRelayer) MonitorEventsLoop

func (r *GreenfieldRelayer) MonitorEventsLoop()

MonitorEventsLoop will monitor cross chain events for every block and persist into DB

func (*GreenfieldRelayer) PurgeLoop

func (r *GreenfieldRelayer) PurgeLoop()

func (*GreenfieldRelayer) SignAndBroadcastLoop

func (r *GreenfieldRelayer) SignAndBroadcastLoop()

func (*GreenfieldRelayer) Start

func (r *GreenfieldRelayer) Start()

func (*GreenfieldRelayer) UpdateCachedLatestValidatorsLoop

func (r *GreenfieldRelayer) UpdateCachedLatestValidatorsLoop()

Jump to

Keyboard shortcuts

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