lighthouse-pulse/beacon_node/beacon_chain/src
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
..
attestation_verification.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
beacon_chain.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
beacon_fork_choice_store.rs Apply store refactor to new fork choice 2020-06-17 15:20:44 +10:00
beacon_snapshot.rs Add no-copy block processing cache (#863) 2020-04-06 10:53:33 +10:00
block_verification.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
builder.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
chain_config.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
errors.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
eth1_chain.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
events.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
head_tracker.rs Race condition fix + Reliability improvements around forks pruning (#1132) 2020-05-16 13:23:32 +10:00
lib.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
metrics.rs v0.12 fork choice update (#1229) 2020-06-17 11:10:22 +10:00
migrate.rs Fix a bug in fork pruning (#1507) 2020-08-12 07:00:00 +00:00
naive_aggregation_pool.rs Push naive attestations into op pool (#1466) 2020-08-06 07:26:46 +00:00
observed_attestations.rs Move long-running tests to dbg (#1137) 2020-05-13 10:55:02 +10:00
observed_attesters.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
observed_block_producers.rs Add attestation gossip pre-verification (#983) 2020-05-06 21:42:56 +10:00
observed_operations.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00
persisted_beacon_chain.rs Clean up database abstractions (#1200) 2020-06-01 08:13:49 +10:00
persisted_fork_choice.rs v0.12 fork choice update (#1229) 2020-06-17 11:10:22 +10:00
shuffling_cache.rs Optimize attestation processing (#841) 2020-03-05 17:19:35 +11:00
snapshot_cache.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
test_utils.rs Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
timeout_rw_lock.rs Add timeouts to canonical head rwlock (#759) 2020-01-06 17:30:37 +11:00
validator_pubkey_cache.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00