mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-27 01:33:33 +00:00
Minor documentation fixes (#1297)
## Issue Addressed N/A ## Proposed Changes - Fix a wrong command in the validator generation example. - Replace occurrences of 'passphrase' with 'password'. This is mostly because I felt that there was a lot of mixing of the two phrases in the documentation and the actual commands which is a bit confusing. Picked 'password' everywhere because it felt more appropriate but I don't mind changing it to 'passphrase' as long it's consistent everywhere.
This commit is contained in:
@@ -88,7 +88,7 @@ validator](./validator-create.md). A two-step example follows:
|
||||
Create a wallet with:
|
||||
|
||||
```bash
|
||||
lighthouse --testnet medalla account wallet create --name my-validators --passphrase-file my-validators.pass
|
||||
lighthouse --testnet medalla account wallet create --name my-validators --password-file my-validators.pass
|
||||
```
|
||||
|
||||
The output will look like this:
|
||||
@@ -124,7 +124,7 @@ used to restore your validator if there is a data loss.
|
||||
Create a validator from the wallet with:
|
||||
|
||||
```bash
|
||||
lighthouse --testnet medalla account validator create --wallet-name my-validators --wallet-passphrase my-validators.pass --count 1
|
||||
lighthouse --testnet medalla account validator create --wallet-name my-validators --wallet-password my-validators.pass --count 1
|
||||
```
|
||||
|
||||
The output will look like this:
|
||||
|
||||
@@ -35,9 +35,9 @@ items, starting at one easy-to-backup mnemonic and ending with multiple
|
||||
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`
|
||||
- `lighthouse account wallet create --name wally --password-file wally.pass`
|
||||
1. Create the voting and withdrawal **keystores** for one validator:
|
||||
- `lighthouse account validator create --wallet-name wally --wallet-passphrase wally.pass --count 1`
|
||||
- `lighthouse account validator create --wallet-name wally --wallet-password wally.pass --count 1`
|
||||
|
||||
|
||||
In step (1), we created a wallet in `~/.lighthouse/wallets` with the name
|
||||
|
||||
@@ -17,7 +17,7 @@ lighthouse account validator create --help
|
||||
Creates new validators from an existing EIP-2386 wallet using the EIP-2333 HD key derivation scheme.
|
||||
|
||||
USAGE:
|
||||
lighthouse account_manager validator create [FLAGS] [OPTIONS] --wallet-name <WALLET_NAME> --wallet-passphrase <WALLET_PASSWORD_PATH>
|
||||
lighthouse account_manager validator create [FLAGS] [OPTIONS] --wallet-name <WALLET_NAME> --wallet-password <WALLET_PASSWORD_PATH>
|
||||
|
||||
FLAGS:
|
||||
-h, --help Prints help information
|
||||
@@ -56,7 +56,7 @@ OPTIONS:
|
||||
The path where the validator directories will be created. Defaults to ~/.lighthouse/validators
|
||||
|
||||
--wallet-name <WALLET_NAME> Use the wallet identified by this name
|
||||
--wallet-passphrase <WALLET_PASSWORD_PATH>
|
||||
--wallet-password <WALLET_PASSWORD_PATH>
|
||||
A path to a file containing the password which will unlock the wallet.
|
||||
```
|
||||
|
||||
@@ -66,12 +66,12 @@ The example assumes that the `wally` wallet was generated from the
|
||||
[wallet](./wallet-create.md) example.
|
||||
|
||||
```bash
|
||||
lighthouse --testnet medalla account validator create --name wally --wallet-passphrase wally.pass --count 1
|
||||
lighthouse --testnet medalla account validator create --name wally --wallet-password wally.pass --count 1
|
||||
```
|
||||
|
||||
This command will:
|
||||
|
||||
- Derive a new BLS keypair from `wally`, updating it so that it generates a
|
||||
- Derive a single new BLS keypair from `wally`, updating it so that it generates a
|
||||
new key next time.
|
||||
- Create a new directory in `~/.lighthouse/validators` containing:
|
||||
- An encrypted keystore containing the validators voting keypair.
|
||||
|
||||
@@ -25,7 +25,7 @@ lighthouse account wallet create --help
|
||||
Creates a new HD (hierarchical-deterministic) EIP-2386 wallet.
|
||||
|
||||
USAGE:
|
||||
lighthouse account_manager wallet create [OPTIONS] --name <WALLET_NAME> --passphrase-file <WALLET_PASSWORD_PATH>
|
||||
lighthouse account_manager wallet create [OPTIONS] --name <WALLET_NAME> --password-file <WALLET_PASSWORD_PATH>
|
||||
|
||||
FLAGS:
|
||||
-h, --help Prints help information
|
||||
@@ -39,7 +39,7 @@ OPTIONS:
|
||||
--name <WALLET_NAME>
|
||||
The wallet will be created with this name. It is not allowed to create two wallets with the same name for
|
||||
the same --base-dir.
|
||||
--passphrase-file <WALLET_PASSWORD_PATH>
|
||||
--password-file <WALLET_PASSWORD_PATH>
|
||||
A path to a file containing the password which will unlock the wallet. If the file does not exist, a random
|
||||
password will be generated and saved at that path. To avoid confusion, if the file does not already exist it
|
||||
must include a '.pass' suffix.
|
||||
@@ -61,7 +61,7 @@ Creates a new wallet named `wally` with a randomly generated password saved
|
||||
to `./wallet.pass`:
|
||||
|
||||
```bash
|
||||
lighthouse account wallet create --name wally --passphrase-file wally.pass
|
||||
lighthouse account wallet create --name wally --password-file wally.pass
|
||||
```
|
||||
|
||||
> Notes:
|
||||
|
||||
Reference in New Issue
Block a user