lighthouse/eth2/utils
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
..
bls Validator API (#504) 2019-08-28 00:40:35 +10:00
compare_fields Add extra level of comparisons to CompareFields 2019-05-24 14:08:19 +10:00
compare_fields_derive Add extra level of comparisons to CompareFields 2019-05-24 14:08:19 +10:00
eth2_config Initial Interop Updates (#492) 2019-08-10 11:44:17 +10:00
eth2_hashing Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00
eth2_interop_keypairs Interop chain start strategies (#479) 2019-08-06 13:29:27 +10:00
int_to_bytes Rename eth2_bytes to int_to_bytes 2019-02-15 11:19:25 +11:00
lighthouse_metrics Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
logging Add cargo fmt to .travis.yml (#474) 2019-07-31 14:45:09 +10:00
merkle_proof Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00
serde_hex Merge ssz little endian branch 2019-03-26 15:44:01 +11:00
slot_clock Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
ssz Removing old SSZ readme and replacing it with cargo badge. (#514) 2019-08-27 12:02:36 +10:00
ssz_derive Update ssz_derive for publishing to crates.io 2019-07-04 13:22:33 +10:00
ssz_types Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00
swap_or_not_shuffle Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00
test_random_derive Implement new BeaconStateTypes trait in types 2019-05-08 13:08:37 +10:00
tree_hash Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00
tree_hash_derive Publish ssz_types (and deps) to crates.io (#468) 2019-08-08 11:39:47 +10:00