lighthouse/crypto/bls/src
Paul Hauner 2b2a358522 Detailed validator monitoring (#2151)
## Issue Addressed

- Resolves #2064

## Proposed Changes

Adds a `ValidatorMonitor` struct which provides additional logging and Grafana metrics for specific validators.

Use `lighthouse bn --validator-monitor` to automatically enable monitoring for any validator that hits the [subnet subscription](https://ethereum.github.io/eth2.0-APIs/#/Validator/prepareBeaconCommitteeSubnet) HTTP API endpoint.

Also, use `lighthouse bn --validator-monitor-pubkeys` to supply a list of validators which will always be monitored.

See the new docs included in this PR for more info.

## TODO

- [x] Track validator balance, `slashed` status, etc.
- [x] ~~Register slashings in current epoch, not offense epoch~~
- [ ] Publish Grafana dashboard, update TODO link in docs
- [x] ~~#2130 is merged into this branch, resolve that~~
2021-01-20 19:19:38 +00:00
..
impls Improve compile time (#1989) 2020-12-09 01:34:58 +00:00
generic_aggregate_public_key.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
generic_aggregate_signature.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
generic_keypair.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
generic_public_key_bytes.rs Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
generic_public_key.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
generic_secret_key.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
generic_signature_bytes.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
generic_signature_set.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
generic_signature.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
get_withdrawal_credentials.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
lib.rs Improve compile time (#1989) 2020-12-09 01:34:58 +00:00
macros.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
zeroize_hash.rs Implement key cache to reduce keystore loading times for validator_client (#1695) 2020-10-05 10:50:43 +00:00