diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md index 0c25dab951..721978f917 100644 --- a/book/src/SUMMARY.md +++ b/book/src/SUMMARY.md @@ -12,6 +12,7 @@ * [Local Testnets](./local-testnets.md) * [API](./api.md) * [HTTP (RESTful JSON)](./http.md) + * [/node](./http/node.md) * [/beacon](./http/beacon.md) * [/validator](./http/validator.md) * [/consensus](./http/consensus.md) diff --git a/book/src/http/node.md b/book/src/http/node.md index 801ec7d0e8..ae370cbe98 100644 --- a/book/src/http/node.md +++ b/book/src/http/node.md @@ -8,6 +8,7 @@ HTTP Path | Description | | --- | -- | [`/node/version`](#nodeversion) | Get the node's version. [`/node/syncing`](#nodesyncing) | Get the node's syncing status. +[`/node/health`](#nodehealth) | Get the node's health. ## `/node/version` diff --git a/book/src/http_advanced.md b/book/src/http_advanced.md deleted file mode 100644 index 5dad7cab67..0000000000 --- a/book/src/http_advanced.md +++ /dev/null @@ -1 +0,0 @@ -# /advanced diff --git a/book/src/http_beacon.md b/book/src/http_beacon.md deleted file mode 100644 index dd0313133d..0000000000 --- a/book/src/http_beacon.md +++ /dev/null @@ -1 +0,0 @@ -# /beacon diff --git a/book/src/http_consensus.md b/book/src/http_consensus.md deleted file mode 100644 index 2d8b80aa12..0000000000 --- a/book/src/http_consensus.md +++ /dev/null @@ -1 +0,0 @@ -# /consensus diff --git a/book/src/http_network.md b/book/src/http_network.md deleted file mode 100644 index e224ebc3a5..0000000000 --- a/book/src/http_network.md +++ /dev/null @@ -1 +0,0 @@ -# /network diff --git a/book/src/http_spec.md b/book/src/http_spec.md deleted file mode 100644 index dc94c2005b..0000000000 --- a/book/src/http_spec.md +++ /dev/null @@ -1 +0,0 @@ -# /spec diff --git a/book/src/http_validator.md b/book/src/http_validator.md deleted file mode 100644 index 29c0bac2e7..0000000000 --- a/book/src/http_validator.md +++ /dev/null @@ -1 +0,0 @@ -# /validator diff --git a/book/src/key-managment.md b/book/src/key-managment.md index e38e61be4b..ea06b8bc97 100644 --- a/book/src/key-managment.md +++ b/book/src/key-managment.md @@ -37,12 +37,12 @@ keypairs. Creating a single validator looks like this: 1. Create a **wallet** and record the **mnemonic**: - `lighthouse account wallet create --name wally --passphrase-file wally.pass` 1. Create the voting and withdrawal **keystores** for one validator: - - `lighthouse account validator create --wallet-name wally --wallet-passphrase wally.pass` + - `lighthouse account validator create --wallet-name wally --wallet-passphrase wally.pass --count 1` In step (1), we created a wallet in `~/.lighthouse/wallets` with the name `mywallet`. We encrypted this using a pre-defined password in the -`mywallet.pass` file. Then, in step (2), we created a new validator in the +`mywallet.pass` file. Then, in step (2), we created one new validator in the `~/.lighthouse/validators` directory using `mywallet` (unlocking it with `mywallet.pass`) and storing the passwords to the validators voting key in `~/.lighthouse/secrets`. diff --git a/book/src/validator-create.md b/book/src/validator-create.md index 683c9b1d73..17f2326acd 100644 --- a/book/src/validator-create.md +++ b/book/src/validator-create.md @@ -1,14 +1,14 @@ # Create a validator Validators are fundamentally represented by a BLS keypair. In Lighthouse, we -use a [wallet](./wallet-create) to generate these keypairs. Once a wallet +use a [wallet](./wallet-create.md) to generate these keypairs. Once a wallet exists, the `lighthouse account validator create` command is used to generate the BLS keypair and all necessary information to submit a validator deposit and have that validator operate in the `lighthouse validator_client`. ## Usage -To create a validator from a [wallet](./wallet-create), use the `lighthouse +To create a validator from a [wallet](./wallet-create.md), use the `lighthouse account validator create` command: ```bash @@ -57,7 +57,7 @@ OPTIONS: ## Example The example assumes that the `wally` wallet was generated from the -[wallet](./wallet-create) example. +[wallet](./wallet-create.md) example. ```bash lighthouse account wallet validator --name wally --wallet-password wally.pass