lighthouse/book/src
Paul Hauner 1373dcf076 Add validator-manager (#3502)
## Issue Addressed

Addresses #2557

## Proposed Changes

Adds the `lighthouse validator-manager` command, which provides:

- `lighthouse validator-manager create`
    - Creates a `validators.json` file and a `deposits.json` (same format as https://github.com/ethereum/staking-deposit-cli)
- `lighthouse validator-manager import`
    - Imports validators from a `validators.json` file to the VC via the HTTP API.
- `lighthouse validator-manager move`
    - Moves validators from one VC to the other, utilizing only the VC API.

## Additional Info

In 98bcb947c I've reduced some VC `ERRO` and `CRIT` warnings to `WARN` or `DEBG` for the case where a pubkey is missing from the validator store. These were being triggered when we removed a validator but still had it in caches. It seems to me that `UnknownPubkey` will only happen in the case where we've removed a validator, so downgrading the logs is prudent. All the logs are `DEBG` apart from attestations and blocks which are `WARN`. I thought having *some* logging about this condition might help us down the track.

In 856cd7e37d I've made the VC delete the corresponding password file when it's deleting a keystore. This seemed like nice hygiene. Notably, it'll only delete that password file after it scans the validator definitions and finds that no other validator is also using that password file.
2023-08-08 00:03:22 +00:00
..
css Make API friendly to block explorers (#702) 2019-12-19 11:45:28 +11:00
imgs Minor revision in Lighthouse book (#4385) 2023-06-13 13:12:56 +00:00
js Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
LaTeX Minor revision in Lighthouse book (#4385) 2023-06-13 13:12:56 +00:00
advanced_database.md Update Lighthouse book FAQ (#4510) 2023-07-31 23:51:38 +00:00
advanced_metrics.md Configurable monitoring endpoint frequency (#3530) 2022-09-05 08:29:00 +00:00
advanced_networking.md Update Lighthouse book FAQ (#4510) 2023-07-31 23:51:38 +00:00
advanced-datadir.md Fixing a few typos / documentation (#3531) 2022-09-05 04:50:48 +00:00
advanced-proposer-only.md Separate BN for block proposals (#4182) 2023-04-26 01:12:36 +00:00
advanced-release-candidates.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
advanced.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
api-bn.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
api-lighthouse.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
api-vc-auth-header.md Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
api-vc-endpoints.md Add support for updating validator graffiti (#4417) 2023-06-22 02:14:57 +00:00
api-vc-sig-header.md Implement VC API (#1657) 2020-10-02 09:42:19 +00:00
api-vc.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
api.md Update book with missing Lighthouse endpoints (#3769) 2022-12-09 09:20:10 +00:00
builders.md Update Lighthouse book FAQ (#4510) 2023-07-31 23:51:38 +00:00
checkpoint-sync.md Bump default checkpoint sync timeout to 3 minutes (#4466) 2023-07-08 13:16:06 +00:00
cli.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
contributing.md [Contribution docs] Add GitPOAP Badge to Display Number of Minted GitPOAPs for Contributors (#3343) 2022-08-09 02:27:04 +00:00
cross-compiling.md Add maxperf build profile (#3608) 2022-09-29 06:13:33 +00:00
database-migrations.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
docker.md Update Lighthouse book and some FAQs (#4178) 2023-04-14 01:11:45 +00:00
faq.md Update Lighthouse book FAQ (#4510) 2023-07-31 23:51:38 +00:00
graffiti.md Add support for updating validator graffiti (#4417) 2023-06-22 02:14:57 +00:00
homebrew.md Document Homebrew package (#2885) 2022-01-08 01:15:07 +00:00
http.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
installation-binaries.md Update Lighthouse book and some FAQs (#4178) 2023-04-14 01:11:45 +00:00
installation-priorities.md Reformat tables and add borders (#3377) 2022-07-27 00:51:07 +00:00
installation-source.md upgrade to libp2p 0.52 (#4431) 2023-08-02 00:59:34 +00:00
installation.md Update Lighthouse book Sec 3-6 and FAQ (#4221) 2023-05-05 00:51:56 +00:00
intro.md Add Run a Node guide (#3681) 2022-11-28 10:05:43 +00:00
key-management.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
key-recovery.md Update Lighthouse book Sec 3-6 and FAQ (#4221) 2023-05-05 00:51:56 +00:00
late-block-re-orgs.md Make re-org strat more cautious and add more config (#4151) 2023-04-13 07:05:01 +00:00
lighthouse-ui.md Feat: lighthouse book - ui authentication (#4232) 2023-05-01 02:15:57 +00:00
mainnet-validator.md Update links in Lighthouse Book (#4279) 2023-05-10 00:33:11 +00:00
merge-migration.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
partial-withdrawal.md Minor revision in Lighthouse book (#4385) 2023-06-13 13:12:56 +00:00
pi.md upgrade to libp2p 0.52 (#4431) 2023-08-02 00:59:34 +00:00
redundancy.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
run_a_node.md Update links in Lighthouse Book (#4279) 2023-05-10 00:33:11 +00:00
setup.md upgrade to libp2p 0.52 (#4431) 2023-08-02 00:59:34 +00:00
slasher.md Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00
slashing-protection.md Update Lighthouse book Sec 3-6 and FAQ (#4221) 2023-05-05 00:51:56 +00:00
suggested-fee-recipient.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
SUMMARY.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
ui-authentication.md Feat: lighthouse book - ui authentication (#4232) 2023-05-01 02:15:57 +00:00
ui-configuration.md Add SSH tunneling in Lighthouse UI Siren (#4328) 2023-05-30 06:15:57 +00:00
ui-faqs.md feat: added new info about logs and config features (#4378) 2023-06-07 01:50:35 +00:00
ui-installation.md Siren Ui Lighthouse Version Requirments (#4093) 2023-03-16 08:03:43 +00:00
ui-usage.md feat: added new info about logs and config features (#4378) 2023-06-07 01:50:35 +00:00
validator-doppelganger.md Update doppelganger note about sync committee contributions (#4425) 2023-08-07 00:46:29 +00:00
validator-inclusion.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
validator-management.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
validator-manager-create.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
validator-manager-move.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
validator-manager.md Add validator-manager (#3502) 2023-08-08 00:03:22 +00:00
validator-monitoring.md Update Lighthouse book Sec 3-6 and FAQ (#4221) 2023-05-05 00:51:56 +00:00
validator-web3signer.md Update Lighthouse Book API and Advanced Usage section (#4300) 2023-06-02 03:17:36 +00:00
voluntary-exit.md Correct table formatting in Lighthouse book (#4407) 2023-06-16 06:44:32 +00:00