Skip to content

Commit f14d58d

Browse files
committed
Improve docs
1 parent c73c063 commit f14d58d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

book/src/api-vc-endpoints.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,13 @@ For more inormation about how to interpret the beacon node health, see [Fallback
832832
| Required Headers | [`Authorization`](./api-vc-auth-header.md) |
833833
| Typical Responses | 200, 400 |
834834

835+
Command:
836+
```bash
837+
DATADIR=/var/lib/lighthouse
838+
curl -X GET http://localhost:5062/lighthouse/beacon/health \
839+
-H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" | jq
840+
```
841+
835842
### Example Response Body
836843

837844
```json

book/src/redundancy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ can be disabled using the `--broadcast none` flag for `lighthouse vc`.
7777

7878
Since v6.0.0, the validator client will be more aggressive in switching to a fallback node. To do this,
7979
it uses the concept of "Health". Every slot, the validator client checks each connected beacon node
80-
to determine which node is the "Healthiest". In general, the validator client will prefer nodes
80+
to determine which node is the "Healthiest". In general, the validator client will prefer nodes
8181
which are synced, have synced execution layers and which are not currently optimisitically
8282
syncing.
8383

0 commit comments

Comments
 (0)