core

package
v0.0.0-...-8201b66 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Eth       ethereum.Config  `mapstructure:"ethereum"`
	Parachain parachain.Config `mapstructure:"parachain"`
	// 	Relaychain           relaychain.Config `mapstructure:"relaychain"`
	// 	BeefyRelayerDatabase store.Config      `mapstructure:"database"`
	Workers WorkerConfig `mapstructure:"workers"`
}

func LoadConfig

func LoadConfig() (*Config, error)

type Relay

type Relay struct{}

func (*Relay) Run

func (re *Relay) Run() error

type WorkerConfig

type WorkerConfig struct {
	// 	ParachainCommitmentRelayer workers.WorkerConfig `mapstructure:"parachaincommitmentrelayer"`
	// 	BeefyRelayer               workers.WorkerConfig `mapstructure:"beefyrelayer"`
	EthRelayer workers.WorkerConfig `mapstructure:"ethrelayer"`
}

Jump to

Keyboard shortcuts

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