this post was submitted on 15 Nov 2024
0 points (NaN% liked)

Monero

1673 readers
3 users here now

This is the lemmy community of Monero (XMR), a secure, private, untraceable currency that is open-source and freely available to all.

GitHub

StackExchange

Twitter

Wallets

Desktop (CLI, GUI)

Desktop (Feather)

Mac & Linux (Cake Wallet)

Web (MyMonero)

Android (Monerujo)

Android (MyMonero)

Android (Cake Wallet) / (Monero.com)

Android (Stack Wallet)

iOS (MyMonero)

iOS (Cake Wallet) / (Monero.com)

iOS (Stack Wallet)

iOS (Edge Wallet)

Instance tags for discoverability:

Monero, XMR, crypto, cryptocurrency

founded 1 year ago
MODERATORS
 

I have a quite more technical question regarding how Monero nodes (and other P2P networks) work.

The question is: Once you start your node for the first time, or after it being shut down, how does the node find the first P2P peer?

I get that torrents for instance use trackers for this. But how does Monero (or other cryptos) do it?

I am guessing Haveno does the same thing? ie: Haveno is essentially connecting to two P2P networks at the same time, namely the Monero and the Haveno networks. What tech does Haveno use to find the first peers? Is it related to the seed nodes?

How does Monero do it without seed nodes?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 1 day ago

As shortwavesurfer noted monerod also utilizes seed nodes. The user is able to specify their own seeds with the --seed-node flag. It's also possible to add other nodes with --add-priority-node or --add-peer

You can find more p2p documentation at https://docs.getmonero.org/interacting/monerod-reference/#p2p-network

[โ€“] [email protected] 0 points 2 days ago* (last edited 2 days ago)

The Monero Network also has seed nodes, hard-coded into the software. If you issue monerod --help you can see syntax for using a custom bootstrap node if you wish