Skip to content

Commit

Permalink
docs: Removes --halt-on-known-validators-accounts-hash-mismatch menti…
Browse files Browse the repository at this point in the history
…ons (anza-xyz#2155)
  • Loading branch information
brooksprumo authored Jul 17, 2024
1 parent d809bd9 commit 150f4d7
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs/src/operations/guides/validator-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,17 +260,15 @@ Read more about [creating and managing a vote account](./vote-accounts.md).

## Known validators

If you know and respect other validator operators, you can specify this on the command line with the `--known-validator <PUBKEY>`
argument to `agave-validator`. You can specify multiple ones by repeating the argument `--known-validator <PUBKEY1> --known-validator <PUBKEY2>`.
This has two effects, one is when the validator is booting with `--only-known-rpc`, it will only ask that set of
known nodes for downloading genesis and snapshot data. Another is that in combination with the `--halt-on-known-validators-accounts-hash-mismatch` option,
it will monitor the merkle root hash of the entire accounts state of other known 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 known
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.
If you know and respect other validator operators, you can specify this on the
command line with the `--known-validator <PUBKEY>` argument to
`agave-validator`. You can specify multiple ones by repeating the argument
`--known-validator <PUBKEY1> --known-validator <PUBKEY2>`. This has the effect
that when the validator is booting with `--only-known-rpc`, it will only ask
that set of known nodes for downloading genesis and snapshot data.

It is highly recommended you use this option to prevent malicious snapshot
state download.

## Connect Your Validator

Expand Down

0 comments on commit 150f4d7

Please sign in to comment.