Files
lighthouse/book/src
Geoffry Song 2cc20101d4 Wallet creation: Make mnemonic length configurable, default to 24 words. (#1697)
## Issue Addressed

Fixes #1665.

## Proposed Changes

`lighthouse account_manager wallet create` now generates a 24-word
mnemonic. The user can override this by passing `--mnemonic-length 12`
(or another legal bip39 length).

## Additional Info

CLI `--help`:
```
        --mnemonic-length <MNEMONIC_LENGTH>       The number of words to use for the mnemonic phrase. [default: 24]
```

In case of an invalid argument:
```
% lighthouse account_manager wallet create --mnemonic-length 25
error: Invalid value for '--mnemonic-length <MNEMONIC_LENGTH>': Mnemonic length must be one of 12, 15, 18, 21, 24
```
2020-10-02 07:51:50 +00:00
..
2019-10-02 11:04:56 +10:00
2020-04-15 17:46:03 +10:00
2020-01-03 10:45:53 +11:00
2020-07-07 17:28:59 +10:00
2020-04-16 20:31:43 +10:00
2020-08-06 04:29:21 +00:00
2020-09-08 12:17:51 +00:00
2020-05-18 21:24:23 +10:00
2020-09-08 12:17:51 +00:00
2020-03-05 10:12:34 +11:00