From ba32a0700ef757c9c13179dec9fd6035885568d1 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 8 Dec 2023 13:43:52 +0400 Subject: [PATCH] config/ir: Adjust `morph.consensus` section docs In 1a5bb64c41573d176abfb7aa6ab6f1f82864a025 `endpoint.client` section was replaced by `endpoints` but `consensus` continued to refer the old one. Also mention local consensus option in the `morph.endpoints` itself. Signed-off-by: Leonard Lyubich --- config/example/ir.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/example/ir.yaml b/config/example/ir.yaml index 901259da49a..45fd530c102 100644 --- a/config/example/ir.yaml +++ b/config/example/ir.yaml @@ -14,12 +14,12 @@ morph: dial_timeout: 5s # Timeout for RPC client connection to sidechain reconnections_number: 5 # number of reconnection attempts reconnections_delay: 5s # time delay b/w reconnection attempts - endpoints: # List of websocket RPC endpoints in sidechain + endpoints: # List of websocket RPC endpoints in sidechain. May be omitted if 'consensus' is configured - wss://sidechain1.fs.neo.org:30333/ws - wss://sidechain2.fs.neo.org:30333/ws validators: # List of hex-encoded 33-byte public keys of sidechain validators to vote for at application startup; can be omitted if equals `consensus.committee` - 0283120f4c8c1fc1d792af5063d2def9da5fddc90bc1384de7fcfdda33c3860170 - consensus: # Local consensus launch mode activated only when 'endpoint.client' is unset. + consensus: # Local consensus launch mode activated only when 'endpoints' is unset. magic: 15405 # Network magic. Must be unsigned integer in range [1:4294967295] committee: # Hex-encoded public keys of the initial committee - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2