Questions tagged [peer]

computer participant in a peer-to-peer (P2P) network

Filter by
Sorted by
Tagged with
1
vote
1answer
37 views

How to manually add public nodes to your node?

I want to add peers from a list to my monero node in addition to the nodes to which I am already connected or are connected to me. I'm using monerod.conf file and add remote nodes (found here) to ...
2
votes
2answers
42 views

Can an ISP swap out Monero's default peers? Would this be detectable?

As I understand, P2P networks work by first connecting to a fixed set of peers and learning about other peers based on them. Since those peers are hardcoded into the Monero software, could a malicious ...
1
vote
1answer
44 views

What is the maximum number of incoming connections by default? 0 or unlimited?

Based on this question in 2016, there is no limit on the number of incoming connections. However, based on this commit in 2018, users can set a limit for this number. By default, when I don't set ...
2
votes
1answer
33 views

How should I approach the issue that bans do not persist after ending the monerod process?

I've been manually banning peers that are (a) clogging up my logs and (b) taking away space that would otherwise be used for legitimate in_peer connections (which I have limited for data usage reasons)...
4
votes
1answer
68 views

How can I permanently ban a peer?

I have to repeatedly ban the same peer because it eventually (too soon) gets unbanned and then my daemon output spams me with "peer claims higher version that we think." This issue persists with this ...
0
votes
1answer
22 views

Why does a node try all grey peers to create a connection?

I am currently analysing the source code of Monero. If a node makes a new connection, it first checks what fraction of its current outgoing connections are to nodes in its white list. If it is above ...
7
votes
1answer
577 views

Who controls the servers behind the IP addresses used for bootstrapping nodes for (initial) peer discovery?

Monero, like Bitcoin has some IPs hardcoded which are used for the initial peer discovery bootstrapping process, see https://github.com/monero-project/monero/blob/...
1
vote
1answer
464 views

What purpose is served by the file p2pstate.bin?

There are times when it is advised to delete this file, since it will be recreated the next time monerod (or the GUI, running monerod within it) is started. But what's in this file? What does it do? ...
2
votes
1answer
910 views

monerod doesn't connect to peers

I have installed the Monero GUI and it was giving some errors so I went back to the cli. When I run ./monerod everything seems to work fine but when I do status it gives me - Height: 1346603/1346603 (...
3
votes
2answers
1k views

How do I re-enable incoming connections?

Over the course of several upgrades, I have been running monerod for many months now, and I have always connected to incoming peers. For the last few months, it was always 8+37. After running git ...
7
votes
1answer
155 views

Can the Monero network survive if nodes never enable incoming peers? Is it a threat to decentralization?

In many/most cases, typing 'status' in the daemon will prompt the daemon to respond with "8+0" meaning that there are eight outgoing connections, and zero incoming connections. In this example, your ...
7
votes
2answers
777 views

Does each node have a maximum number of peers?

How many peers can each node be connected to simultaneously? Is the maximum the same as the number of full nodes on the Monero network? Are there any performance benefits of limiting the number of ...
9
votes
1answer
1k views

What are “white” and “gray” in the peer list?

When I use the "print_pl" command in simplewallet to see the peer list, the first attribute of each line is either "white" or "gray". What is the meaning of it?
9
votes
2answers
220 views

How do I figure out what nodes I'm connected to and who is sending what to who?

When I type print_cn into the daemon, I see a lot of OUT and IN entries. Does OUT mean that I am sending information OUT to that peer, or is that peer sending information to me? Or is it a two-way ...