lighthouse/beacon_node/beacon_chain
Michael Sproul 719a69aee0 Ignore blocks that skip a large distance from their parent (#1530)
## Proposed Changes

To mitigate the impact of minority forks on RAM and disk usage, this change rejects blocks whose parent lies more than 320 slots (10 epochs, ~1 hour) in the past. The behaviour is configurable via `lighthouse bn --max-skip-slots N`, and can be turned off entirely using `--max-skip-slots none`.

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2020-08-17 10:54:58 +00:00
..
src Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
tests Restrict fork choice getters to finalized blocks (#1475) 2020-08-14 06:36:38 +00:00
Cargo.toml Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00