lighthouse/account_manager/src
Michael Sproul 6583ce325b Minify slashing protection interchange data (#2380)
## Issue Addressed

Closes #2354

## Proposed Changes

Add a `minify` method to `slashing_protection::Interchange` that keeps only the maximum-epoch attestation and maximum-slot block for each validator. Specifically, `minify` constructs "synthetic" attestations (with no `signing_root`) containing the maximum source epoch _and_ the maximum target epoch from the input. This is equivalent to the `minify_synth` algorithm that I've formally verified in this repository:

https://github.com/michaelsproul/slashing-proofs

## Additional Info

Includes the JSON loading optimisation from #2347
2021-06-21 05:46:36 +00:00
..
validator Minify slashing protection interchange data (#2380) 2021-06-21 05:46:36 +00:00
wallet Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
common.rs Update for clippy 1.50 (#2193) 2021-02-15 00:09:12 +00:00
lib.rs Directory restructure (#1532) 2020-10-01 11:12:35 +10:00