Questions tagged [peer-discovery]
Questions related to how Bitcoin finds other peers to communicate with.
84 questions
3 votes
2 answers
222 views
What does "not publicly routable" node in Bitcoin Core P2P mean?
I am trying to understand how Bitcoin P2P works. I understand that for every connection, there is one node opening it (outbound) and one node receiving it (inbound). I have one i2p/tor node, that ...
3 votes
0 answers
50 views
How to broadcast transactions in bitcoin regtest mode?
I build three nodes named A,B,C based on bitcoin-regtest image of docker. And these three nodes are in the same network which means they can communicate with each other. In node A, I use bitcoin-cli -...
1 vote
2 answers
774 views
how to obtain the IP addresses of nodes for mining pools?
I have set up a node for mining, and in order to maintain network stability and quickly receive the latest tasks, I would like to connect to nodes of some large mining pools. Does anyone know how to ...
1 vote
0 answers
55 views
The only way to connect to peers is through a DGRAM unix socket?
I'm running an experimental setup. I have Ubuntu on my desktop computer with a USB hub connected and a 1TB ssd sata drive mounted to it at /mnt/d1 I'm using a second docker instance dockerd -H unix:///...
9 votes
2 answers
2k views
How did peer discovery work in Bitcoin v0.1?
Nowadays there are DNS seeds and hardcoded IP addresses, but back in the day when Satoshi released Bitcoin v0.1, how did new nodes connect to the rest of the network? My initial thought was that the ...
3 votes
1 answer
164 views
How does node discovery and miner discovery work?
I am wondering how nodes discover other nodes and miners, basically, who to broadcast received transactions and blocks to. I'm assuming that when a new node or miner wants to be discovered, it ...
3 votes
1 answer
168 views
How does sipa's bitcoin-seeder determine which IPs to return out of all the ones it knows to be available for P2P connection?
I believe there must be a heuristic that determines which IPs are returned to clients by the seeder. The seeder may have a list of hundreds of available nodes, but it only returns a reduced subset ...
2 votes
1 answer
120 views
How many lightweight nodes vs full nodes are there on the network?
I'm curious, how many lightweight nodes are there on the network? Is this easy to tell?
9 votes
1 answer
1k views
How does one become a DNS seed for Bitcoin Core?
How does the process work? Do Core devs add a DNS seed based on reputation or what?
0 votes
0 answers
168 views
Why my bitcoin-cli getpeerinfo return an empty list?
I am running bitcoind and it is updating blocks as follows: However, when I have run bitcoin-cli getpeerinfo, it only returns an empty list, but not peers connected. So if there is no peer connected ...
7 votes
1 answer
107 views
What can an attacker do if they compromise a DNS seeder?
Recently Bitcoin Core developer Luke-jr was hacked and has stated that we should consider anything owned by him to be compromised. This would include his DNS seeder at dnsseed.bitcoin.dashjr.org. If ...
1 vote
1 answer
211 views
Is there any way to get my peer nodes‘ peer nodes?
I can use bitcoin-cli getpeerinfo to get the peer nodes' information. Is there some way to further get the peer nodes' peer nodes, i.e. the 2-order neighbor node?
1 vote
0 answers
86 views
Protocol version message is ignored by node
I'm trying to send a protocol version message to my node on port 8333. I found this site that explains how to send a version message from the command line. I have a C++ app that is creating the ...
3 votes
1 answer
261 views
DNS Seeds for TORv3
Does querying the DNS Seeds via TOR return .onion addresses? If not, then if my node is a TOR only node, does it always get the .onion addresses to connect to, from the hard-coded list? Additionally, ...
2 votes
1 answer
207 views
Peer discovery on a custom signet (custom `signetchallenge`)
I'm experimenting with signet by creating a custom network with a script of my own to validate blocks (signetchallenge in the conf file). I started a mini network with only a handful nodes for now, ...