Remove outdated cli options from docs (#802)

This commit is contained in:
Pawan Dhananjay 2020-01-15 10:30:32 +05:30 committed by Paul Hauner
parent 13e74e5352
commit 0e3e2bbbe7

View File

@ -71,13 +71,11 @@ $ lighthouse bn testnet --spec minimal -f file ssz /tmp/genesis.ssz
To start a brand-new validator client (with no history) use: To start a brand-new validator client (with no history) use:
```bash ```bash
$ lighthouse vc testnet -b insecure 0 8 $ lighthouse vc testnet insecure 0 8
``` ```
> Notes: > Notes:
> >
> - The `-b` flag means the validator client will "bootstrap" specs and config
> from the beacon node.
> - The `insecure` command dictates that the [interop keypairs](https://github.com/ethereum/eth2.0-pm/tree/6e41fcf383ebeb5125938850d8e9b4e9888389b4/interop/mocked_start#pubkeyprivkey-generation) > - The `insecure` command dictates that the [interop keypairs](https://github.com/ethereum/eth2.0-pm/tree/6e41fcf383ebeb5125938850d8e9b4e9888389b4/interop/mocked_start#pubkeyprivkey-generation)
> will be used. > will be used.
> - The `0 8` indicates that this validator client should manage 8 validators, > - The `0 8` indicates that this validator client should manage 8 validators,
@ -127,20 +125,6 @@ the `--boot-nodes` command.
$ lighthouse bn --boot-nodes -IW4QB2Hi8TPuEzQ41Cdf1r2AUU1FFVFDBJdJyOkWk2qXpZfFZQy2YnJIyoT_5fnbtrXUouoskmydZl4pIg90clIkYUDgmlwhH8AAAGDdGNwgiMog3VkcIIjKIlzZWNwMjU2azGhAjg0-DsTkQynhJCRnLLttBK1RS78lmUkLa-wgzAi-Ob5 $ lighthouse bn --boot-nodes -IW4QB2Hi8TPuEzQ41Cdf1r2AUU1FFVFDBJdJyOkWk2qXpZfFZQy2YnJIyoT_5fnbtrXUouoskmydZl4pIg90clIkYUDgmlwhH8AAAGDdGNwgiMog3VkcIIjKIlzZWNwMjU2azGhAjg0-DsTkQynhJCRnLLttBK1RS78lmUkLa-wgzAi-Ob5
``` ```
### Avoid port clashes when starting nodes
Starting a second Lighthouse node on the same machine will fail due to TCP/UDP
port collisions. Use the `-b` (`--port-bump`) flag to increase all listening
ports by some `n`.
#### Example:
Increase all ports by `10` (using multiples of `10` is recommended).
```bash
$ lighthouse bn -b 10
```
### Start a testnet with a custom slot time ### Start a testnet with a custom slot time
Lighthouse can run at quite low slot times when there are few validators (e.g., Lighthouse can run at quite low slot times when there are few validators (e.g.,