From df261398b101756941add6f8bbed17052b71ad6a Mon Sep 17 00:00:00 2001 From: eltitanb Date: Tue, 8 Jul 2025 10:02:04 +0100 Subject: [PATCH 1/2] add doc --- config.example.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.example.toml b/config.example.toml index 176b6b31..c566cfe5 100644 --- a/config.example.toml +++ b/config.example.toml @@ -55,6 +55,9 @@ extra_validation_enabled = false # Execution Layer RPC url to use for extra validation # OPTIONAL rpc_url = "https://ethereum-holesky-rpc.publicnode.com" +# Maximum number of retries for validator registrations per relay +# OPTIONAL, DEFAULT: 3 +register_validator_retry_limit = 3 # The PBS module needs one or more [[relays]] as defined below. [[relays]] @@ -129,8 +132,8 @@ loader = "./tests/data/mux_keys.example.json" # loader = { url = "http://localhost:8000/keys" } # loader = { registry = "lido", node_operator_id = 8 } # loader = { registry = "ssv", node_operator_id = 8 } -timeout_get_header_ms = 900 late_in_slot_time_ms = 1500 +timeout_get_header_ms = 900 # For each mux, one or more [[mux.relays]] can be defined, which will be used for the matching validator pubkeys # Only the relays defined here will be used, and the relays defined in the main [[relays]] config will be ignored # The fields specified here are the same as in [[relays]] (headers, get_params, enable_timing_games, target_first_request_ms, frequency_get_header_ms) From ee0df35be672f6752c96133805589e5c912e4483 Mon Sep 17 00:00:00 2001 From: eltitanb Date: Tue, 8 Jul 2025 10:18:26 +0100 Subject: [PATCH 2/2] tidy up loader doc --- config.example.toml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config.example.toml b/config.example.toml index c566cfe5..f6784d19 100644 --- a/config.example.toml +++ b/config.example.toml @@ -49,7 +49,7 @@ min_bid_eth = 0.0 # to force local building and miniminzing the risk of missed slots. See also the timing games section below # OPTIONAL, DEFAULT: 2000 late_in_slot_time_ms = 2000 -# Whether to enable extra validation of get_header responses, if this is enabled you need to set `rpc_url` +# Whether to enable extra validation of get_header responses, if this is enabled `rpc_url` must also be set # OPTIONAL, DEFAULT: false extra_validation_enabled = false # Execution Layer RPC url to use for extra validation @@ -117,18 +117,20 @@ validator_pubkeys = [ "0x80c7f782b2467c5898c5516a8b6595d75623960b4afc4f71ee07d40985d20e117ba35e7cd352a3e75fb85a8668a3b745", "0xa119589bb33ef52acbb8116832bec2b58fca590fe5c85eac5d3230b44d5bc09fe73ccd21f88eab31d6de16194d17782e", ] -# Path to a file containing a list of validator pubkeys or details of a registry to load keys from. -# Supported registries: -# - Lido: NodeOperatorsRegistry -# - SSV: SSV API -# OPTIONAL -loader = "./tests/data/mux_keys.example.json" -# URL to HTTP endpoint returning JSON list of validator pubkeys -# Example response: +# Loader for validator pubkeys. Three types of loaders are supported: +# - File: path to a file containing a list of validator pubkeys in JSON format +# - URL: URL to an HTTP endpoint returning a list of validator pubkeys in JSON format +# - Registry: details of a registry to load keys from. Supported registries: +# - Lido: NodeOperatorsRegistry +# - SSV: SSV API +# +# Example JSON list: # [ # "0x80c7f782b2467c5898c5516a8b6595d75623960b4afc4f71ee07d40985d20e117ba35e7cd352a3e75fb85a8668a3b745", # "0xa119589bb33ef52acbb8116832bec2b58fca590fe5c85eac5d3230b44d5bc09fe73ccd21f88eab31d6de16194d17782e" #] +# OPTIONAL +loader = "./tests/data/mux_keys.example.json" # loader = { url = "http://localhost:8000/keys" } # loader = { registry = "lido", node_operator_id = 8 } # loader = { registry = "ssv", node_operator_id = 8 }