execution

package
v0.0.0-...-2eef473 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: LGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const BlocksPerQuery = 4096

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelID

type ChannelID [32]byte

type Config

type Config struct {
	Source SourceConfig `mapstructure:"source"`
	Sink   SinkConfig   `mapstructure:"sink"`
}

type ContractsConfig

type ContractsConfig struct {
	Gateway string `mapstructure:"Gateway"`
}

type Relay

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

func NewRelay

func NewRelay(
	config *Config,
	keypair *sr25519.Keypair,
) *Relay

func (*Relay) Start

func (r *Relay) Start(ctx context.Context, eg *errgroup.Group) error

type SinkConfig

type SinkConfig struct {
	Parachain config.ParachainConfig `mapstructure:"parachain"`
}

type SourceConfig

type SourceConfig struct {
	Ethereum  config.EthereumConfig   `mapstructure:"ethereum"`
	Contracts ContractsConfig         `mapstructure:"contracts"`
	ChannelID ChannelID               `mapstructure:"channel-id"`
	Beacon    beaconconf.BeaconConfig `mapstructure:"beacon"`
}

Jump to

Keyboard shortcuts

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