lighthouse-pulse/lighthouse/tests
Michael Sproul df02639b71 De-duplicate attestations in the slasher (#2767)
## Issue Addressed

Closes https://github.com/sigp/lighthouse/issues/2112
Closes https://github.com/sigp/lighthouse/issues/1861

## Proposed Changes

Collect attestations by validator index in the slasher, and use the magic of reference counting to automatically discard redundant attestations. This results in us storing only 1-2% of the attestations observed when subscribed to all subnets, which carries over to a 50-100x reduction in data stored 🎉 

## Additional Info

There's some nuance to the configuration of the `slot-offset`. It has a profound effect on the effictiveness of de-duplication, see the docs added to the book for an explanation: 5442e695e5/book/src/slasher.md (slot-offset)
2021-11-08 00:01:09 +00:00
..
account_manager.rs Add an account command to enable/disable validators (#2386) 2021-06-16 09:16:51 +00:00
beacon_node.rs De-duplicate attestations in the slasher (#2767) 2021-11-08 00:01:09 +00:00
main.rs Add testing for beacon node and validator client CLI flags (#2311) 2021-05-06 00:36:22 +00:00
validator_client.rs Allow custom certificates when connecting to BN (#2703) 2021-10-15 00:07:11 +00:00