forward

package
v0.1.199 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	*task.Task
}

func NewController

func NewController(config *config.Config) (self *Controller, err error)

type Sequencer

type Sequencer struct {
	*task.Task

	// Current Syncer's block height
	Output chan uint64
	// contains filtered or unexported fields
}

Produces current syncer's height

func NewSequencer

func NewSequencer(config *config.Config) (self *Sequencer)

func (*Sequencer) WithDB

func (self *Sequencer) WithDB(db *gorm.DB) *Sequencer

func (*Sequencer) WithInitStartHeight

func (self *Sequencer) WithInitStartHeight(db *gorm.DB) *Sequencer

func (*Sequencer) WithMonitor

func (self *Sequencer) WithMonitor(monitor monitoring.Monitor) *Sequencer

Jump to

Keyboard shortcuts

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