nimbus-eth2/beacon_chain/networking
tersec 9b6b42c8f9
some consensus spec URL updates to v1.5.0-alpha.3 ()
2024-06-22 07:28:19 +02:00
..
README.md
eth2_discovery.nim Bump nim-eth for Opt changes and make Opt related adjustments () 2024-06-18 23:46:51 +02:00
eth2_network.nim some consensus spec URL updates to v1.5.0-alpha.3 () 2024-06-22 07:28:19 +02:00
eth2_protocol_dsl.nim simplify eth2_network error handling () 2024-01-19 21:05:52 +00:00
libp2p_json_serialization.nim verify `genesis_time` more strictly (fixes ) () 2024-01-06 15:26:56 +01:00
network_metadata.nim bump holesky to `874c199423ccd180607320c38cbaca05d9a1573a` () 2024-06-21 21:51:25 +00:00
network_metadata_downloads.nim add missing `std/` prefix to more imports () 2024-01-06 07:18:28 +01:00
network_metadata_gnosis.S Revert "Revert "correctly align genesis size ()" ()" () 2023-08-04 20:49:12 +00:00
network_metadata_mainnet.S bump `mainnet` to `f6b7882618a5ad2c1d2731ae35e5d16a660d5bb7` () 2024-05-30 09:28:16 +00:00
peer_pool.nim rank peers by their score instead of their memory address () 2024-04-10 14:09:37 +02:00
peer_protocol.nim add branch discovery module for supporting chain stall situation () 2024-03-24 08:41:47 +00:00
peer_scores.nim add branch discovery module for supporting chain stall situation () 2024-03-24 08:41:47 +00:00
topic_params.nim verify `genesis_time` more strictly (fixes ) () 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