Overview of Ergo's P2P Protocol
Ergo's network protocol relies on full nodes (peers) to establish a cooperative peer-to-peer network for block and transaction exchange. This collaborative approach ensures a decentralized, robust system with high security and integrity.
Full Nodes in the Ergo Network
The Full Node is a critical component of the Ergo network. It downloads and verifies every block (and transaction) to maintain a complete copy of the blockchain. By doing so, full nodes contribute to the network's resilience, ensuring transaction and block information is readily available to other nodes. These nodes also relay the verified blocks and transactions to other nodes, helping keep the network up-to-date.
P2P Protocol Components
Handshaking
Peer connection and identity exchange.
Network Messages
Message formats and their roles in node communication.
Peer Management
Discovery, banning, and scoring of peers.
BlockP2P
Block/transaction propagation and sync protocols.
Modifiers
Ergo's core data exchange format (blocks, txs, proofs).