Skip to content

Commit

Permalink
Add liveness check instructions (Consensys#253)
Browse files Browse the repository at this point in the history
* Add  CLI option to disable built-in slashing protection for external signers.

Signed-off-by: Byron Gravenorst <[email protected]>

* Add instructions to connect to mainnet.

Signed-off-by: Byron Gravenorst <[email protected]>

* updating submodule to latest

* Add instructions to connect to mainnet.

Signed-off-by: Byron Gravenorst <[email protected]>

* Fix markdown issue.

Signed-off-by: Byron Gravenorst <[email protected]>

* Add liveness check instructions.

Add liveness check instructions.

* Update Run-Teku.md

* Update Run-Teku.md
  • Loading branch information
bgravenorst authored Feb 5, 2021
1 parent 3b95256 commit 096ceaa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/HowTo/Get-Started/Run-Teku.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,31 @@ Specify the beacon chain client using the
[`--beacon-node-api-endpoint`](../../Reference/CLI/Subcommands/Validator-Client.md#beacon-node-api-endpoint)
option.

## Confirm Teku is running

Use the [`/liveness`](https://consensys.github.io/teku/#operation/getTekuV1AdminLiveness) endpoint
to check whether the node is up.

The endpoint returns the status `200 OK` if the node is up or syncing.

!!! example

=== "curl HTTP request"

```bash
curl -I -X GET "http://192.10.10.101:5051/teku/v1/admin/liveness"
```

=== "Result"

```bash
HTTP/1.1 200 OK
Date: Fri, 05 Feb 2021 03:58:30 GMT
Server: Javalin
Content-Type: application/json
Cache-Control: max-age=0
Content-Length: 0
```
<!-- links -->
[validator clients]: #start-the-validator
[running beacon node]: #start-the-beacon-chain-client
Expand Down

0 comments on commit 096ceaa

Please sign in to comment.