lighthouse/beacon_node/lighthouse_network/src
Paul Hauner 714ed53839 Add a flag for storing invalid blocks (#4194)
## Issue Addressed

NA

## Proposed Changes

Adds a flag to store invalid blocks on disk for teh debugz. Only *some* invalid blocks are stored, those which:

- Were received via gossip (rather than RPC, for instance)
    - This keeps things simple to start with and should capture most blocks.
- Passed gossip verification
    - This reduces the ability for random people to fill up our disk. A proposer signature is required to write something to disk.

## Additional Info

It's possible that we'll store blocks that aren't necessarily invalid, but we had an internal error during verification. Those blocks seem like they might be useful sometimes.
2023-05-15 07:22:03 +00:00
..
discovery Add a flag to disable peer scoring (#4135) 2023-04-12 01:48:19 +00:00
peer_manager Maintain trusted peers (#4159) 2023-05-03 04:12:10 +00:00
rpc Complete match for has_context_bytes (#3972) 2023-03-15 01:27:46 +00:00
service Add a flag to disable peer scoring (#4135) 2023-04-12 01:48:19 +00:00
types Backfill blocks only to the WSP by default (#4082) 2023-05-05 03:49:23 +00:00
config.rs Add a flag for storing invalid blocks (#4194) 2023-05-15 07:22:03 +00:00
lib.rs Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
listen_addr.rs Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
metrics.rs Improve Lighthouse Connectivity Via ENR TCP Update (#4057) 2023-03-21 05:14:57 +00:00