lighthouse/validator_client/src
Jimmy Chen e2c68c8893 Add new validator API for voluntary exit (#4119)
## Issue Addressed

Addresses #4117 

## Proposed Changes

See https://github.com/ethereum/keymanager-APIs/pull/58 for proposed API specification.

## TODO

- [x] ~~Add submission to BN~~ 
  - removed, see discussion in [keymanager API](https://github.com/ethereum/keymanager-APIs/pull/58)
- [x] ~~Add flag to allow voluntary exit via the API~~ 
  - no longer needed now the VC doesn't submit exit directly
- [x] ~~Additional verification / checks, e.g. if validator on same network as BN~~ 
  - to be done on client side
- [x] ~~Potentially wait for the message to propagate and return some exit information in the response~~ 
  - not required
- [x] Update http tests
- [x] ~~Update lighthouse book~~ 
  - not required if this endpoint makes it to the standard keymanager API

Co-authored-by: Paul Hauner <paul@paulhauner.com>
Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
2023-04-03 03:02:56 +00:00
..
duties_service Validator registration request failures do not cause us to mark BNs offline (#3488) 2022-08-29 11:35:59 +00:00
http_api Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00
http_metrics Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00
signing_method Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00
attestation_service.rs Validator registration request failures do not cause us to mark BNs offline (#3488) 2022-08-29 11:35:59 +00:00
beacon_node_fallback.rs Log a WARN in the VC for a mismatched Capella fork epoch (#4050) 2023-03-06 04:08:48 +00:00
block_service.rs Optimise attestation selection proof signing (#4033) 2023-03-05 23:43:31 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Add latency measurement service to VC (#4024) 2023-03-05 23:43:29 +00:00
config.rs Add latency measurement service to VC (#4024) 2023-03-05 23:43:29 +00:00
doppelganger_service.rs Clippy lints for rust 1.66 (#3810) 2022-12-16 04:04:00 +00:00
duties_service.rs Optimise attestation selection proof signing (#4033) 2023-03-05 23:43:31 +00:00
graffiti_file.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
initialized_validators.rs Optimise update_validators by decrypting key cache only when necessary (#4126) 2023-03-29 02:56:39 +00:00
key_cache.rs Clippy lints for rust 1.66 (#3810) 2022-12-16 04:04:00 +00:00
latency.rs Add VC metric for primary BN latency (#4051) 2023-03-06 04:08:49 +00:00
lib.rs Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00
notifier.rs Add new VC metrics for beacon node availability (#3193) 2022-05-26 02:05:16 +00:00
preparation_service.rs Publish subscriptions to all beacon nodes (#3529) 2022-09-28 19:53:35 +00:00
signing_method.rs Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00
sync_committee_service.rs Sync committee sign bn fallback (#3624) 2022-11-13 22:40:43 +00:00
validator_store.rs Add new validator API for voluntary exit (#4119) 2023-04-03 03:02:56 +00:00