lighthouse/beacon_node
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
..
beacon_chain Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
client Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
eth1 Cross-compile to vendored x86_84, aarch64 (Raspberry Pi 4) (#1497) 2020-08-11 05:16:30 +00:00
eth2_libp2p Revert back to discv5 alpha 8 to maintain ARM support (#1531) 2020-08-17 10:06:08 +00:00
genesis Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
network Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
operation_pool Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
rest_api Wind down the SSE thread when the client disconnects (#1514) 2020-08-13 06:12:18 +00:00
src Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
store Memory usage reduction (#1522) 2020-08-17 08:05:13 +00:00
tests Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
timer Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
websocket_server Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
Cargo.toml Update to v0.2.3 (#1519) 2020-08-14 08:32:31 +00:00