1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-19 04:50:02 +02:00

app/config/config.go: Adding ShipConfig.Chain

This commit is contained in:
Henrik Hautakoski 2023-05-15 15:28:38 +02:00
parent ae5dabff36
commit e0f7e3b4e9
2 changed files with 5 additions and 0 deletions

View file

@ -30,6 +30,7 @@ type ShipConfig struct {
MaxMessagesInFlight uint32 `yaml:"max_messages_in_flight"` MaxMessagesInFlight uint32 `yaml:"max_messages_in_flight"`
StartBlockNum uint32 `yaml:"start_block_num"` StartBlockNum uint32 `yaml:"start_block_num"`
EndBlockNum uint32 `yaml:"end_block_num"` EndBlockNum uint32 `yaml:"end_block_num"`
Chain string `yaml:"chain"`
} }
type Config struct { type Config struct {

View file

@ -29,6 +29,10 @@ ship:
# Url to ship api. # Url to ship api.
url: "ws://127.0.0.1:8089" url: "ws://127.0.0.1:8089"
# Name of chain. Note that this is just a name to be used in channel namespace.
# If unset, chain id from api is used.
# chain: wax
# Fetch irreversible blocks only # Fetch irreversible blocks only
# irreversible_only: true # irreversible_only: true