lighthouse/beacon_node/http_api/src
realbigsean 588b90157d Ssz state api endpoint (#2111)
## Issue Addressed

Catching up to a recently merged API spec PR: https://github.com/ethereum/eth2.0-APIs/pull/119

## Proposed Changes

- Return an SSZ beacon state on `/eth/v1/debug/beacon/states/{stateId}` when passed this header: `accept: application/octet-stream`.
- requests to this endpoint with no  `accept` header or an `accept` header and a value of `application/json` or `*/*` , or will result in a JSON response

## Additional Info


Co-authored-by: realbigsean <seananderson33@gmail.com>
2021-01-06 03:01:46 +00:00
..
beacon_proposer_cache.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
block_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
lib.rs Ssz state api endpoint (#2111) 2021-01-06 03:01:46 +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