Documentation ¶
Index ¶
Constants ¶
View Source
const ( IgnoredTimeGap = 1800 BatchSize = 100 SleepMillisecondBetweenBatchTrackTx = 500 SleepMillisecondBetweenEachTrackTx = 10 HeightBehindThreshold = 10 )
View Source
const (
AutomaticClaimPeriod = 60 * time.Second
)
View Source
const (
MaxBatchSize = 30
)
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) WatchBcValidatorSetChange ¶
func (r *Relayer) WatchBcValidatorSetChange()
Click to show internal directories.
Click to hide internal directories.