lighthouse/common
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
..
account_utils Add EF launchpad import (#1381) 2020-07-29 04:32:50 +00:00
clap_utils Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
compare_fields Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00
compare_fields_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
deposit_contract Cross-compile to vendored x86_84, aarch64 (Raspberry Pi 4) (#1497) 2020-08-11 05:16:30 +00:00
eth2_config Add Medalla genesis state, more boot enr (#1438) 2020-08-03 07:49:24 +00:00
eth2_interop_keypairs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
eth2_testnet_config Cross-compile to vendored x86_84, aarch64 (Raspberry Pi 4) (#1497) 2020-08-11 05:16:30 +00:00
eth2_wallet_manager Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
hashset_delay Shift author to sigma prime on some crates (#1440) 2020-08-04 02:31:41 +00:00
lighthouse_metrics Process gossip blocks on the GossipProcessor (#1523) 2020-08-17 09:20:27 +00:00
lighthouse_version Prepare for v0.2.4 (#1533) 2020-08-17 12:13:42 +00:00
logging Log to file without json format (#1485) 2020-08-13 07:00:37 +00:00
lru_cache Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +00:00
remote_beacon_node Cross-compile to vendored x86_84, aarch64 (Raspberry Pi 4) (#1497) 2020-08-11 05:16:30 +00:00
rest_types Shift author to sigma prime on some crates (#1440) 2020-08-04 02:31:41 +00:00
slot_clock Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
test_random_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
validator_dir Improve account manager CLI (#1404) 2020-07-29 04:32:52 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.