Skip to content

Commit b9fa4f5

Browse files
Fixed scan comments
[ci] Signed-off-by: Pasindu Tennage <pasindu.tennage@digitalasset.com>
1 parent ed47f12 commit b9fa4f5

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
11
# SCAN_CLIENT_CONFIGURATION_START
22
scanClient:
33
scanType: "bft"
4-
seedUrls: ["TRUSTED_SCAN_URL"] # replace with actual scan seed url
4+
seedUrls: ["TRUSTED_SCAN_URL"] # replace with scan seed url. Supports multiple urls, separated by comma.
55

66
# scanClient denotes how the validator makes connections to scan service and supports three modes of operation.
7+
78
# Mode 1: bft (Byzantine Fault Tolerance)
89
# Connects to all available scans in the network. It validates responses by ensuring
910
# at least f+1 matching responses are received.
1011

1112
# scanClient:
1213
# scanType: "bft"
13-
# seedUrls: ["TRUSTED_SCAN_URL"] # replace with actual seed scan url(s).
14+
# seedUrls: ["TRUSTED_SCAN_URL"] # replace with scan seed url(s). Supports multiple urls, separated by comma.
1415

1516
# Mode 2: bft-custom
16-
# A specialized version of BFT where you specify a subset of trusted SVs.
17+
# A specialized version of bft where you specify a subset of trusted SVs.
1718
# The validator connects only to the scans of the SVs listed in 'svNames'.
1819
# 'threshold' defines how many identical responses are required to consider the scan responses valid.
1920

2021
# scanClient:
2122
# scanType: "bft-custom"
22-
# svNames: ["TRUSTED_SV_1", "TRUSTED_SV_2"] # replace with actual SV names
23-
# seedUrls: ["TRUSTED_SCAN_URL_1", "TRUSTED_SCAN_URL_2"] # replace with actual seed scan urls
24-
# threshold: 2
23+
# svNames: ["TRUSTED_SV"] # replace with trusted SV names(s)
24+
# seedUrls: ["TRUSTED_SCAN_URL"] # replace with actual scan seed urls(s)
25+
# threshold: <TRUST_THRESHOLD> # replace with the integer number of matching responses required for validation
2526

2627
# Mode 3: trust-single
2728
# Connects to a single trusted scan address.
28-
# This means that you depend on that single SV and if it is broken or
29-
# malicious you will be unable to use the network so usually you want to default to not enabling this
29+
# This means that you depend on that single SV and if it is broken or # malicious you will be unable to use the network.
30+
# Hence, usually you want to default to not enabling this
3031

3132
# scanClient:
3233
# scanType: "trust-single"
33-
# scanAddress: "TRUSTED_SCAN_URL" # replace with the actual trusted scan url
34+
# scanAddress: "TRUSTED_SCAN_URL" # replace with the trusted scan url
35+
3436
# SCAN_CLIENT_CONFIGURATION_END
3537

3638
# SYNCHRONIZER_CONFIGURATION_START

docs/src/validator_operator/validator_helm.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,19 +379,19 @@ Additionally, please modify the file ``splice-node/examples/sv-helm/standalone-p
379379

380380
To configure the validator app, please modify the file ``splice-node/examples/sv-helm/validator-values.yaml`` as follows:
381381

382+
You need to configure how your validator connects to the network's scan services by defining a ``scanClient`` block in your ``validator-values.yaml``.
383+
There are three modes of ``scanClient``:
384+
385+
- ``bft``: (default type) connects to all scans and validates via $f+1$ agreement.
386+
- ``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.
387+
- ``trust-single``: connects to one specific trusted scan.
388+
389+
- For each scanClient type, replace ``TRUSTED_SCAN_URL`` with a URL of a Scan you host or trust that is reachable by your Validator. For example, the GSF scan URL, |gsf_scan_url|. For ``bft-custom`` and ``bft`` modes of ``scanClient``, you can specify more than one scan seed URL by separating them with commas.
382390
- If you want to configure the audience for the Validator app backend API, replace ``OIDC_AUTHORITY_VALIDATOR_AUDIENCE`` in the `auth.audience` entry with audience for the Validator app backend API. e.g. ``https://validator.example.com/api``.
383391
- If you want to configure the audience for the Ledger API, set the ``audience`` field in the `splice-app-validator-ledger-api-auth` k8s secret with the audience for the Ledger API. e.g. ``https://ledger_api.example.com``.
384392
- 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``
385393
- 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.
386394
- 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.
387-
388-
You can configure how your validator connects to the network's scan services by defining a ``scanClient`` block in your ``validator-values.yaml``.
389-
There are three modes available:
390-
391-
- ``bft``: connects to all scans and validates via $f+1$ agreement.
392-
- ``bft-custom``: connects to a specific list of trusted SVs and validates against a custom threshold.
393-
- ``trust-single``: connects to one specific trusted scan.
394-
395395
Detailed configuration examples and instructions for each mode are provided directly within the comments of the ``validator-values.yaml`` file.
396396

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

0 commit comments

Comments
 (0)