nimbus-eth2/beacon_chain/networking
tersec 001fbd0970
Revert "Revert "correctly align genesis size (#5244)" (#5253)" (#5254)
This reverts commit 26dcee111b.
2023-08-04 20:49:12 +00:00
..
README.md
eth2_discovery.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
eth2_network.nim avoid unnecessary buffer zero:ing (#5178) 2023-07-11 08:01:45 +02:00
libp2p_json_serialization.nim
network_metadata.nim remove workaround for long-since-fixed Nim bug (#5219) 2023-07-31 22:20:09 +00: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 Revert "Revert "correctly align genesis size (#5244)" (#5253)" (#5254) 2023-08-04 20:49:12 +00:00
peer_pool.nim bump chronos (#5039) 2023-06-08 13:42:19 +00:00
peer_scores.nim harden req/resp peer scoring (#4966) 2023-05-19 15:01:27 +03:00
topic_params.nim

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