validator: Trusted validators are now called known validators
This commit is contained in:
committed by
Trent Nelson
parent
169ded9a70
commit
e0bc5fa690
@@ -205,11 +205,11 @@ health-check mechanism for use by load balancers or other network
|
||||
infrastructure. This request will always return a HTTP 200 OK response with a body of
|
||||
"ok", "behind" or "unknown" based on the following conditions:
|
||||
|
||||
1. If one or more `--trusted-validator` arguments are provided to `solana-validator`, "ok" is returned
|
||||
1. If one or more `--known-validator` arguments are provided to `solana-validator`, "ok" is returned
|
||||
when the node has within `HEALTH_CHECK_SLOT_DISTANCE` slots of the highest
|
||||
trusted validator, otherwise "behind". "unknown" is returned when no slot
|
||||
information from trusted validators is not yet available.
|
||||
2. "ok" is always returned if no trusted validators are provided.
|
||||
known validator, otherwise "behind". "unknown" is returned when no slot
|
||||
information from known validators is not yet available.
|
||||
2. "ok" is always returned if no known validators are provided.
|
||||
|
||||
## JSON RPC API Reference
|
||||
|
||||
@@ -1195,10 +1195,10 @@ Result:
|
||||
|
||||
Returns the current health of the node.
|
||||
|
||||
If one or more `--trusted-validator` arguments are provided to
|
||||
If one or more `--known-validator` arguments are provided to
|
||||
`solana-validator`, "ok" is returned when the node has within
|
||||
`HEALTH_CHECK_SLOT_DISTANCE` slots of the highest trusted validator, otherwise
|
||||
an error is returned. "ok" is always returned if no trusted validators are
|
||||
`HEALTH_CHECK_SLOT_DISTANCE` slots of the highest known validator, otherwise
|
||||
an error is returned. "ok" is always returned if no known validators are
|
||||
provided.
|
||||
|
||||
#### Parameters:
|
||||
|
Reference in New Issue
Block a user