statesyncrelayer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateSyncRelayer

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

func NewRelayer

func NewRelayer(
	dataDir string,
	rpcEndpoint string,
	stateReceiverAddr ethgo.Address,
	stateReceiverTrackerStartBlock uint64,
	logger hcf.Logger,
	key ethgo.Key,
) *StateSyncRelayer

func (*StateSyncRelayer) AddLog

func (r *StateSyncRelayer) AddLog(log *ethgo.Log)

func (*StateSyncRelayer) Start

func (r *StateSyncRelayer) Start() error

func (*StateSyncRelayer) Stop

func (r *StateSyncRelayer) Stop()

Stop function is used to tear down all the allocated resources

Jump to

Keyboard shortcuts

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