relayer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RelayerStartAborted = fmt.Errorf("getting start block aborted by relayer application terminating signal")

Functions

This section is empty.

Types

type App

type App struct {
	*shutter.Shutter
	// contains filtered or unexported fields
}

func New

func New(config *Config) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	SourcesAddr      []string
	GRPCListenAddr   string
	MergerAddr       string
	BufferSize       int
	MaxDrift         time.Duration
	MaxSourceLatency time.Duration
	MinStartOffset   uint64
	InitTime         time.Duration
	SourceStoreURL   string
}

Jump to

Keyboard shortcuts

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