lighthouse-pulse/beacon_node/rest_api/src
Luke Anderson 328f11d564
Validator API (#504)
* Implemented more REST API endpoints.
 - Added many of the endpoints, which return 501 - Not Implemented
 - Created helper function to return a not implemented error
 - Created a parse_pubkey function to get a PublicKey from a hex string
 - Created a HTTP handler for the validator endpoints
 - Started implementing validator/duties endpoint.

* Fleshed out get validator duties.
 - Re-implemented the get validator duties function for the REST API
 - Added an 'as_hex_string' function to FakePublicKey, beacuse it was missing.

* Fixed small caching/state bug.

* Extended to array of API inputs.
 - Created  function for getting arrays from GET parameters.
 - Extended get validator duties function to support array of validator duties.

* Tidy API to be more consistent with recent decisions

* Addressing Paul's comments.
 - Cleaning up function to get list of proposers.
 - Removing unnecessary serde annotations
 - Clarifying error messages
 - Only accept pubkeys if they are '0x' prefixed.

* Fixed formatting with rustfmt.
2019-08-28 00:40:35 +10:00
..
beacon.rs Bootstrap (#501) 2019-08-23 15:53:53 +10:00
config.rs Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
helpers.rs Validator API (#504) 2019-08-28 00:40:35 +10:00
lib.rs Validator API (#504) 2019-08-28 00:40:35 +10:00
metrics.rs Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
network.rs Bootstrap (#501) 2019-08-23 15:53:53 +10:00
node.rs Changes to rest_api (#480) 2019-08-10 17:15:15 +10:00
spec.rs Bootstrap (#501) 2019-08-23 15:53:53 +10:00
url_query.rs Validator API (#504) 2019-08-28 00:40:35 +10:00
validator.rs Validator API (#504) 2019-08-28 00:40:35 +10:00