nimbus-eth2/beacon_chain/networking
Agnish Ghosh 2d65f0e57e
revert peer scoring
2024-11-14 12:53:26 +07:00
..
README.md Reorg (5/5) (#2377) 2021-03-05 14:12:00 +01:00
eth2_agents.nim sync only from prysm 2024-10-17 17:09:07 +05:30
eth2_discovery.nim rework reconstruction publishing strategy 2024-09-12 11:59:59 +05:30
eth2_network.nim revert peer scoring 2024-11-14 12:53:26 +07:00
eth2_protocol_dsl.nim simplify eth2_network error handling (#5765) 2024-01-19 21:05:52 +00:00
libp2p_json_serialization.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
network_metadata.nim rm built-in Goerli beacon chain support (#6057) 2024-04-03 23:25:36 +00:00
network_metadata_downloads.nim add missing `std/` prefix to more imports (#5696) 2024-01-06 07:18:28 +01:00
network_metadata_gnosis.S Revert "Revert "correctly align genesis size (#5244)" (#5253)" (#5254) 2023-08-04 20:49:12 +00:00
network_metadata_mainnet.S rm built-in Goerli beacon chain support (#6057) 2024-04-03 23:25:36 +00:00
peer_pool.nim add filtering to peer pool and protocol, remove filtering from SyncManager level 2024-08-17 20:51:36 +05:30
peer_protocol.nim sync only from prysm 2024-10-17 17:09:07 +05:30
peer_scores.nim revert peer scoring 2024-11-14 12:53:26 +07:00
topic_params.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00

README.md

Networking

This folders hold a collection of modules to:

  • configure the Eth2 P2P network
  • discover, connect, and maintain quality Eth2 peers

Data received is handed other to the ../gossip_processing modules for validation.

Security concerns

  • Collusion: part of the peer selection must be kept random. This avoids peers bringing all their friends and colluding against a beacon node.
  • Denial-of-service: The beacon node must provide ways to handle burst of data that may come:
    • from malicious nodes trying to DOS us
    • from long periods of non-finality, creating lots of forks, attestations, forks