lighthouse/beacon_node/eth2_libp2p/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
..
behaviour Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
discovery Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
peer_manager Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
rpc Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
types Activate peer scoring (#1284) 2020-07-07 10:13:16 +10:00
config.rs replace max_peers cli argument by target_peers and use excess peers above target_peers capped by a new constant PEER_EXCESS_FACTOR (relative to target_peers) (#1383) 2020-07-23 13:55:36 +10:00
lib.rs Activate peer scoring (#1284) 2020-07-07 10:13:16 +10:00
metrics.rs Discovery metrics (#1276) 2020-06-19 15:36:03 +10:00
service.rs Activate peer scoring (#1284) 2020-07-07 10:13:16 +10:00