Documentation ¶
Index ¶
Constants ¶
View Source
const BlocksPerQuery = 4096
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Source SourceConfig `mapstructure:"source"` Sink SinkConfig `mapstructure:"sink"` InstantVerification bool `mapstructure:"instantVerification"` Schedule ScheduleConfig `mapstructure:"schedule"` OFAC config.OFACConfig `mapstructure:"ofac"` }
type ContractsConfig ¶
type ContractsConfig struct {
Gateway string `mapstructure:"Gateway"`
}
type ScheduleConfig ¶
type ScheduleConfig struct { // ID of current relayer, starting from 0 ID uint64 `mapstructure:"id"` // Number of total count of all relayers TotalRelayerCount uint64 `mapstructure:"totalRelayerCount"` // Sleep interval(in seconds) to check if message(nonce) has already been relayed SleepInterval uint64 `mapstructure:"sleepInterval"` }
func (ScheduleConfig) Validate ¶
func (r ScheduleConfig) Validate() error
type SinkConfig ¶
type SinkConfig struct { Parachain beaconconf.ParachainConfig `mapstructure:"parachain"` SS58Prefix uint8 `mapstructure:"ss58Prefix"` }
type SourceConfig ¶
type SourceConfig struct { Ethereum config.EthereumConfig `mapstructure:"ethereum"` Contracts ContractsConfig `mapstructure:"contracts"` ChannelID ChannelID `mapstructure:"channel-id"` Beacon beaconconf.BeaconConfig `mapstructure:"beacon"` }
Click to show internal directories.
Click to hide internal directories.