Download Best Wallet
Download your #1 Monero wallet
Advanced Technical Topics

How does peer discovery work in Monero?

Peer discovery is the backbone of Monero's decentralized network. How do nodes find one another?

Quick Answer

Monero nodes find peers through a process of initial bootstrapping and ongoing gossiping. A node first connects to seed nodes to get an initial list of IP addresses. Once connected, it shares its own list of known peers with these nodes and requests their updated lists. This peer-to-peer exchange ensures that every node learns about a large, diverse portion of the network over time.

Gossiping the Network

The network uses a gossip protocol, where information about available nodes is passed from peer to peer. This decentralized approach means there is no single master list of all nodes. As you connect to more peers, your node’s 'knowledge' of the network topology expands, making it highly resilient to any specific node going offline.

Adapting to Changes

The list of active peers is constantly updating as nodes join or leave the network. By continuously gossiping, Monero maintains a living map of the participants. This dynamic process is how the network stays decentralized and avoids reliance on static infrastructure, ensuring that the network as a whole remains available and responsive.

Sources

Related reading

Key takeaways

  • Nodes discover peers by gossiping lists of known addresses.
  • No master directory exists; discovery is decentralized.
  • The network map dynamically updates as nodes join and leave.