lighthouse/beacon_node
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_chain Bootstrap (#501) 2019-08-23 15:53:53 +10:00
client Bootstrap (#501) 2019-08-23 15:53:53 +10:00
eth2-libp2p Bootstrap (#501) 2019-08-23 15:53:53 +10:00
network Bootstrap (#501) 2019-08-23 15:53:53 +10:00
rest_api Validator API (#504) 2019-08-28 00:40:35 +10:00
rpc Attestation processing (#497) 2019-08-14 10:55:24 +10:00
src Bootstrap (#501) 2019-08-23 15:53:53 +10:00
store Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
version Apply clippy suggestions 2019-03-19 23:20:39 +11:00
Cargo.toml add logging functionality for aligning key value pairs after message (#461) 2019-07-31 09:06:53 +10:00