Skip to content

Commit 7192cc2

Browse files
authored
fix(doc): add max retries to example config (#332)
1 parent 41c228f commit 7192cc2

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

config.example.toml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,15 @@ min_bid_eth = 0.0
4949
# to force local building and miniminzing the risk of missed slots. See also the timing games section below
5050
# OPTIONAL, DEFAULT: 2000
5151
late_in_slot_time_ms = 2000
52-
# Whether to enable extra validation of get_header responses, if this is enabled you need to set `rpc_url`
52+
# Whether to enable extra validation of get_header responses, if this is enabled `rpc_url` must also be set
5353
# OPTIONAL, DEFAULT: false
5454
extra_validation_enabled = false
5555
# Execution Layer RPC url to use for extra validation
5656
# OPTIONAL
5757
rpc_url = "https://ethereum-holesky-rpc.publicnode.com"
58+
# Maximum number of retries for validator registrations per relay
59+
# OPTIONAL, DEFAULT: 3
60+
register_validator_retry_limit = 3
5861

5962
# The PBS module needs one or more [[relays]] as defined below.
6063
[[relays]]
@@ -114,23 +117,25 @@ validator_pubkeys = [
114117
"0x80c7f782b2467c5898c5516a8b6595d75623960b4afc4f71ee07d40985d20e117ba35e7cd352a3e75fb85a8668a3b745",
115118
"0xa119589bb33ef52acbb8116832bec2b58fca590fe5c85eac5d3230b44d5bc09fe73ccd21f88eab31d6de16194d17782e",
116119
]
117-
# Path to a file containing a list of validator pubkeys or details of a registry to load keys from.
118-
# Supported registries:
119-
# - Lido: NodeOperatorsRegistry
120-
# - SSV: SSV API
121-
# OPTIONAL
122-
loader = "./tests/data/mux_keys.example.json"
123-
# URL to HTTP endpoint returning JSON list of validator pubkeys
124-
# Example response:
120+
# Loader for validator pubkeys. Three types of loaders are supported:
121+
# - File: path to a file containing a list of validator pubkeys in JSON format
122+
# - URL: URL to an HTTP endpoint returning a list of validator pubkeys in JSON format
123+
# - Registry: details of a registry to load keys from. Supported registries:
124+
# - Lido: NodeOperatorsRegistry
125+
# - SSV: SSV API
126+
#
127+
# Example JSON list:
125128
# [
126129
# "0x80c7f782b2467c5898c5516a8b6595d75623960b4afc4f71ee07d40985d20e117ba35e7cd352a3e75fb85a8668a3b745",
127130
# "0xa119589bb33ef52acbb8116832bec2b58fca590fe5c85eac5d3230b44d5bc09fe73ccd21f88eab31d6de16194d17782e"
128131
#]
132+
# OPTIONAL
133+
loader = "./tests/data/mux_keys.example.json"
129134
# loader = { url = "http://localhost:8000/keys" }
130135
# loader = { registry = "lido", node_operator_id = 8 }
131136
# loader = { registry = "ssv", node_operator_id = 8 }
132-
timeout_get_header_ms = 900
133137
late_in_slot_time_ms = 1500
138+
timeout_get_header_ms = 900
134139
# For each mux, one or more [[mux.relays]] can be defined, which will be used for the matching validator pubkeys
135140
# Only the relays defined here will be used, and the relays defined in the main [[relays]] config will be ignored
136141
# The fields specified here are the same as in [[relays]] (headers, get_params, enable_timing_games, target_first_request_ms, frequency_get_header_ms)

0 commit comments

Comments
 (0)