Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconConfig ¶
type BeaconConfig struct { Endpoint string `mapstructure:"endpoint"` StateEndpoint string `mapstructure:"stateEndpoint"` Spec SpecSettings `mapstructure:"spec"` DataStore DataStore `mapstructure:"datastore"` }
func (BeaconConfig) Validate ¶
func (b BeaconConfig) Validate() error
type Config ¶
type Config struct { Source SourceConfig `mapstructure:"source"` Sink SinkConfig `mapstructure:"sink"` }
type ParachainConfig ¶
type ParachainConfig struct { Endpoint string `mapstructure:"endpoint"` MaxWatchedExtrinsics int64 `mapstructure:"maxWatchedExtrinsics"` // The max number of header in the FinalizedBeaconStateBuffer on-chain. // https://github.com/paritytech/polkadot-sdk/blob/master/bridges/snowbridge/pallets/ethereum-client/src/types.rs#L23 HeaderRedundancy uint64 `mapstructure:"headerRedundancy"` }
func (ParachainConfig) Validate ¶
func (p ParachainConfig) Validate() error
type SinkConfig ¶
type SinkConfig struct { Parachain ParachainConfig `mapstructure:"parachain"` UpdateSlotInterval uint64 `mapstructure:"updateSlotInterval"` }
type SourceConfig ¶
type SourceConfig struct {
Beacon BeaconConfig `mapstructure:"beacon"`
}
Click to show internal directories.
Click to hide internal directories.