relayer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: LGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IgnoredTimeGap       = 1800
	BatchSize            = 100
	WaitSecondForTrackTx = 10
)
View Source
const (
	AutomaticClaimPeriod = 60 * time.Second
)
View Source
const (
	RetryInterval = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DoubleSignMonitor

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

type Relayer

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

func NewRelayer

func NewRelayer(db *gorm.DB, cfg *config.Config, bbcExecutor *executor.BBCExecutor, bscExecutor *executor.BSCExecutor) *Relayer

func (*Relayer) Start

func (r *Relayer) Start(startHeight uint64, curValidatorsHash cmn.HexBytes)

Jump to

Keyboard shortcuts

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