Files
lighthouse/book/src
Mac L 18c9be595d Add API endpoint to count statuses of all validators (#3756)
## Issue Addressed

#3724

## Proposed Changes

Adds an endpoint to quickly count the number of occurances of each status in the validator set.

## Usage

```bash
curl -X GET "http://localhost:5052/lighthouse/ui/validator_count" -H "accept: application/json" | jq
```

```json
{
  "data": {
    "active_ongoing":479508,
    "active_exiting":0,
    "active_slashed":0,
    "pending_initialized":28,
    "pending_queued":0,
    "withdrawal_possible":933,
    "withdrawal_done":0,
    "exited_unslashed":0,
    "exited_slashed":3
  }
}
```
2022-12-01 06:03:53 +00:00
..
2022-03-20 22:48:15 +00:00
2020-10-02 09:42:19 +00:00
2022-03-02 01:05:08 +00:00
2022-03-02 01:05:08 +00:00
2022-07-27 00:51:06 +00:00
2022-09-05 08:29:02 +00:00
2022-01-08 01:15:07 +00:00
2022-03-02 01:05:08 +00:00
2022-08-26 21:47:50 +00:00
2022-11-28 10:05:43 +00:00
2022-07-27 00:51:06 +00:00
2022-01-14 00:38:04 +00:00
2022-11-28 10:05:43 +00:00
2022-09-29 01:50:11 +00:00
2022-08-15 01:30:56 +00:00
2022-07-27 00:51:06 +00:00
2022-11-28 10:05:43 +00:00
2022-03-20 22:48:15 +00:00