lighthouse/beacon_node/http_api/src
Paul Hauner 59b2247ab8 Improve UX whilst VC is waiting for genesis (#1915)
## Issue Addressed

- Resolves #1424

## Proposed Changes

Add a `GET lighthouse/staking` that returns 200 if the node is ready to stake (i.e., `--eth1` flag is present) or a 404 otherwise.

Whilst the VC is waiting for the genesis time to start (i.e., when the genesis state is known), check the `lighthouse/staking` endpoint and log an error if the node isn't configured for staking.

## Additional Info

NA
2020-11-23 01:00:22 +00:00
..
beacon_proposer_cache.rs Standard beacon api updates (#1831) 2020-11-09 23:13:56 +00:00
block_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
lib.rs Improve UX whilst VC is waiting for genesis (#1915) 2020-11-23 01:00:22 +00:00
metrics.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
state_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
validator_inclusion.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00