lighthouse/beacon_node/beacon_chain/tests
Paul Hauner c4bd9c86e6
Add check for head/target consistency (#1702)
## Issue Addressed

NA

## Proposed Changes

Addresses an interesting DoS vector raised by @protolambda by verifying that the head and target are consistent when processing aggregate attestations. This check prevents us from loading very old target blocks and doing lots of work to skip them to the current slot.

## Additional Info

NA
2020-10-03 10:08:06 +10:00
..
attestation_production.rs Alternative (to BeaconChainHarness) BeaconChain testing API (#1380) 2020-08-26 09:24:55 +00:00
attestation_verification.rs Add check for head/target consistency (#1702) 2020-10-03 10:08:06 +10:00
block_verification.rs Alternative (to BeaconChainHarness) BeaconChain testing API (#1380) 2020-08-26 09:24:55 +00:00
op_verification.rs Alternative (to BeaconChainHarness) BeaconChain testing API (#1380) 2020-08-26 09:24:55 +00:00
persistence_tests.rs Apply hotfix for inconsistent head (#1639) 2020-09-22 02:06:10 +00:00
store_tests.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
tests.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00