@ -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>`
|
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>`.
|
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
|
This has two effects, one is when the validator is booting with `--no-untrusted-rpc`, it will only ask that set of
|
||||||
snapshots. Another is that in combination with the `--halt-on-trusted-validator-hash-mismatch` option, it will monitor the merkle
|
trusted nodes for downloading genesis and snapshot data. Another is that in combination with the `--halt-on-trusted-validator-hash-mismatch` option,
|
||||||
root hash of the entire accounts state of other trusted nodes on gossip and if the hashes produce any mismatch, the validator will
|
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,
|
||||||
halt the node to prevent the validator from voting or processing potentially incorrect state values. At the moment, the slot that
|
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
|
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.
|
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 Your Validator
|
||||||
|
|
||||||
Connect to a testnet cluster by running:
|
Connect to a testnet cluster by running:
|
||||||
|
Reference in New Issue
Block a user