lighthouse/beacon_node
Age Manning 3bb30754d9 Keep track of failed head chains and prevent re-lookups (#1534)
## Overview

There are forked chains which get referenced by blocks and attestations on a network. Typically if these chains are very long, we stop looking up the chain and downvote the peer. In extreme circumstances, many peers are on many chains, the chains can be very deep and become time consuming performing lookups. 

This PR adds a cache to known failed chain lookups. This prevents us from starting a parent-lookup (or stopping one half way through) if we have attempted the chain lookup in the past.
2020-08-18 03:54:09 +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 Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +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 Prepare for v0.2.4 (#1533) 2020-08-17 12:13:42 +00:00