Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
macladson committed Jan 9, 2025
1 parent dcbccf9 commit 9e2de0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions book/src/api-vc-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,13 @@ For more inormation about how to interpret the beacon node health, see [Fallback
| Required Headers | [`Authorization`](./api-vc-auth-header.md) |
| Typical Responses | 200, 400 |

Command:
```bash
DATADIR=/var/lib/lighthouse
curl -X GET http://localhost:5062/lighthouse/beacon/health \
-H "Authorization: Bearer $(cat ${DATADIR}/validators/api-token.txt)" | jq
```

### Example Response Body

```json
Expand Down
2 changes: 1 addition & 1 deletion book/src/redundancy.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ can be disabled using the `--broadcast none` flag for `lighthouse vc`.

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

Expand Down

0 comments on commit 9e2de0f

Please sign in to comment.