Add --no-untrusted-rpc to docs (#8935)

automerge
This commit is contained in:
sakridge 2020-03-18 09:40:51 -07:00 committed by GitHub
parent de6ef68571
commit c638e83bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -153,13 +153,16 @@ solana create-vote-account ~/vote-account-keypair.json ~/validator-keypair.json
If you know and trust other validator nodes, you can specify this on the command line with the `--trusted-validator <PUBKEY>`
argument to `solana-validator`. You can specify multiple ones by repeating the argument `--trusted-validator <PUBKEY1> --trusted-validator <PUBKEY2>`.
This has two effects, one is when the validator is booting, it will only ask that set of trusted nodes for downloading genesis and
snapshots. Another is that in combination with the `--halt-on-trusted-validator-hash-mismatch` option, it will monitor the merkle
root hash of the entire accounts state of other trusted nodes on gossip and if the hashes produce any mismatch, the validator will
halt the node to prevent the validator from voting or processing potentially incorrect state values. At the moment, the slot that
This has two effects, one is when the validator is booting with `--no-untrusted-rpc`, it will only ask that set of
trusted nodes for downloading genesis and snapshot data. Another is that in combination with the `--halt-on-trusted-validator-hash-mismatch` option,
it will monitor the merkle root hash of the entire accounts state of other trusted nodes on gossip and if the hashes produce any mismatch,
the validator will halt the node to prevent the validator from voting or processing potentially incorrect state values. At the moment, the slot that
the validator publishes the hash on is tied to the snapshot interval. For the feature to be effective, all validators in the trusted
set should be set to the same snapshot interval value or multiples of the same.
It is highly recommended you use these options to prevent malicious snapshot state download or
account state divergence.
## Connect Your Validator
Connect to a testnet cluster by running: