lighthouse/consensus/state_processing/src
Paul Hauner b73c497be2 Support multiple BLS implementations (#1335)
## Issue Addressed

NA

## Proposed Changes

- Refactor the `bls` crate to support multiple BLS "backends" (e.g., milagro, blst, etc).
- Removes some duplicate, unused code in `common/rest_types/src/validator.rs`.
- Removes the old "upgrade legacy keypairs" functionality (these were unencrypted keys that haven't been supported for a few testnets, no one should be using them anymore).

## Additional Info

Most of the files changed are just inconsequential changes to function names.

## TODO

- [x] Optimization levels
- [x] Infinity point: https://github.com/supranational/blst/issues/11
- [x] Ensure milagro *and* blst are tested via CI
- [x] What to do with unsafe code?
- [x] Test infinity point in signature sets
2020-07-25 02:03:18 +00:00
..
common Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
per_block_processing Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
per_epoch_processing Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
genesis.rs get_active_validator_indices() now has bound check (#1300) 2020-06-29 18:21:51 +10:00
lib.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00
macros.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
per_block_processing.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
per_epoch_processing.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
per_slot_processing.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
test_utils.rs Improve bls::SecretKey privacy (#1164) 2020-05-19 11:23:08 +10:00
verify_operation.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00