lighthouse/crypto/bls/src
Michael Sproul f2ac0738d8 Implement skip_randao_verification and blinded block rewards API (#3540)
## Issue Addressed

https://github.com/ethereum/beacon-APIs/pull/222

## Proposed Changes

Update Lighthouse's randao verification API to match the `beacon-APIs` spec. We implemented the API before spec stabilisation, and it changed slightly in the course of review.

Rather than a flag `verify_randao` taking a boolean value, the new API uses a `skip_randao_verification` flag which takes no argument. The new spec also requires the randao reveal to be present and equal to the point-at-infinity when `skip_randao_verification` is set.

I've also updated the `POST /lighthouse/analysis/block_rewards` API to take blinded blocks as input, as the execution payload is irrelevant and we may want to assess blocks produced by builders.

## Additional Info

This is technically a breaking change, but seeing as I suspect I'm the only one using these parameters/APIs, I think we're OK to include this in a patch release.
2022-09-19 07:58:48 +00:00
..
impls crypto/bls: make blst dependency optional (#3387) 2022-08-08 23:56:59 +00:00
generic_aggregate_public_key.rs Update spec tests to v1.1.0-beta.4 (#2548) 2021-09-25 05:58:35 +00:00
generic_aggregate_signature.rs Lazy hashing for SignedBeaconBlock in sync (#2916) 2022-01-14 07:20:54 +00:00
generic_keypair.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
generic_public_key_bytes.rs Get arbitrary check passing (2.0) (#2710) 2021-10-14 02:58:11 +00:00
generic_public_key.rs Get arbitrary check passing (2.0) (#2710) 2021-10-14 02:58:11 +00:00
generic_secret_key.rs Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
generic_signature_bytes.rs Lazy hashing for SignedBeaconBlock in sync (#2916) 2022-01-14 07:20:54 +00:00
generic_signature_set.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
generic_signature.rs Implement skip_randao_verification and blinded block rewards API (#3540) 2022-09-19 07:58:48 +00:00
get_withdrawal_credentials.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
lib.rs crypto/bls: make blst dependency optional (#3387) 2022-08-08 23:56:59 +00:00
macros.rs Use SmallVec for TreeHash packed encoding (#3581) 2022-09-16 08:54:06 +00:00
zeroize_hash.rs Implement key cache to reduce keystore loading times for validator_client (#1695) 2020-10-05 10:50:43 +00:00