Skip to content

Commit 2d10fa7

Browse files
Sequencer comments addressed
[ci] Signed-off-by: Pasindu Tennage <pasindu.tennage@digitalasset.com>
1 parent b9fa4f5 commit 2d10fa7

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

apps/app/src/pack/examples/sv-helm/validator-values.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,32 +39,32 @@ scanClient:
3939
synchronizer:
4040
connectionType: "bft"
4141

42-
# synchronizer configuration configures how the validator's participant connects to the synchronizer.
42+
# synchronizer configuration enables to configure how the validator's participant connects to the synchronizer.
43+
# synchronizer configuration has three modes of operation.
4344

4445
# Mode 1: bft (Byzantine Fault Tolerance)
45-
# Uses all possible synchronizer connections provided by the scan service.
46+
# Uses all available synchronizer connections provided by the scan service.
4647
# Responses are validated against the network's f+1 fault tolerance logic.
4748

4849
# synchronizer:
4950
# connectionType: "bft"
5051

51-
# Mode 2: bft-Custom
52+
# Mode 2: bft-custom
5253
# Connects only to sequencers operated by the specific SVs listed in 'svNames'.
5354
# 'threshold' defines the minimum number of matching responses required for validation.
5455

5556
# synchronizer:
5657
# connectionType: "bft-custom"
57-
# svNames: ["TRUSTED_SV_1", "TRUSTED_SV_2"]
58-
# threshold: 2
58+
# svNames: ["TRUSTED_SV"] # replace with trusted SV name(s)
59+
# threshold: <TRUST_THRESHOLD> # replace with the integer number of matching responses required for validation
5960

6061
# Mode 3: trust-Single
6162
# Connects to a single specified synchronizer URL.
62-
# Trust-Single makes you dependent on a single SV; if it is malicious or down,
63-
# you will be unable to use the network.
63+
# trust-single makes you dependent on a single SV; if it is malicious or down, you will be unable to use the network.
6464

6565
#synchronizer:
66-
# connectionType: "trust-single"
67-
# url: "TRUSTED_SYNCHRONIZER_URL"
66+
# connectionType: "trust-single"
67+
# url: "TRUSTED_SYNCHRONIZER_SEQUENCER_URL" # replace with the trusted synchronizer sequencer url
6868

6969
# SYNCHRONIZER_CONFIGURATION_END
7070

docs/src/validator_operator/validator_helm.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ To configure the validator app, please modify the file ``splice-node/examples/sv
382382
You need to configure how your validator connects to the network's scan services by defining a ``scanClient`` block in your ``validator-values.yaml``.
383383
There are three modes of ``scanClient``:
384384

385-
- ``bft``: (default type) connects to all scans and validates via $f+1$ agreement.
385+
- ``bft``: (default mode) connects to all scans and validates via majority agreement.
386386
- ``bft-custom``: connects to a specific list of trusted SVs and validates against a custom threshold. Replace ``TRUSTED_SV`` with the super validator name(s) you trust. Replace ``TRUST_THRESHOLD`` with an integer representing the number of scan responses that need to agree for a response to be considered valid.
387387
- ``trust-single``: connects to one specific trusted scan.
388388

@@ -392,19 +392,20 @@ There are three modes of ``scanClient``:
392392
- Replace ``OPERATOR_WALLET_USER_ID`` with the user ID in your IAM that you want to use to log into the wallet as the validator operator party. Note that this should be the full user id, e.g., ``auth0|43b68e1e4978b000cefba352``, *not* only the suffix ``43b68e1e4978b000cefba352``
393393
- Replace ``YOUR_CONTACT_POINT`` by a slack user name or email address that can be used by node operators to contact you in case there are issues with your node. Note that this contact information will be publicly visible. If you do not want to share contact information, you can put an empty string.
394394
- Update the `auth.jwksUrl` entry to point to your auth provider's JWK set document by replacing ``OIDC_AUTHORITY_URL`` with your auth provider's OIDC URL, as explained above.
395+
395396
Detailed configuration examples and instructions for each mode are provided directly within the comments of the ``validator-values.yaml`` file.
396397

397398
.. literalinclude:: ../../../apps/app/src/pack/examples/sv-helm/validator-values.yaml
398399
:language: yaml
399400
:start-after: SCAN_CLIENT_CONFIGURATION_START
400401
:end-before: SCAN_CLIENT_CONFIGURATION_END
401402

402-
You can configure how your validator's participant connects to the network synchronizer by defining a synchronizer config in your ``validator-values.yaml``.
403-
This supports three modes:
403+
You need to configure how your validator's participant connects to the network synchronizer by defining a ``synchronizer`` config in your ``validator-values.yaml``.
404+
``synchronizer`` supports three modes of operation:
404405

405-
- ``bft``: connects to all available sequencers and validates responses via $f+1$ agreement.
406-
- ``bft-custom``: connects only to specific sequencers from your trusted ``svNames`` using a custom ``threshold``.
407-
- ``trust-single``: connects to one specific url.
406+
- ``bft``: (default mode) connects to all available sequencers and validates responses via majority agreement.
407+
- ``bft-custom``: connects only to specific sequencers from your trusted ``svNames`` using a custom ``threshold``. Replace ``TRUSTED_SV`` with the super validator name(s) you trust. Replace ``TRUST_THRESHOLD`` with an integer representing the number of sequencer responses that need to agree for a response to be considered valid.
408+
- ``trust-single``: connects to one specific url. Replace ``TRUSTED_SYNCHRONIZER_SEQUENCER_URL`` with the URL of the sequencer you trust.
408409

409410
Each synchronizer configuration mode is documented with examples in the ``validator-values.yaml``.
410411

0 commit comments

Comments
 (0)