Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [peers]

should be used for questions related to the peers of the bitcoin network

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

Broadcast a valid block to network, without a local full node

Let's say that, through a stroke of luck, a friend has found a valid block on his laptop. Let's say he knows the IP address of a remote Bitcoin Core full node. What message could he send to the node ...
Lee's user avatar
  • 833
2 votes
1 answer
48 views

I can't get Inbound Connections on my node

So, I've been trying to get Inbound Connections on my node, to no success. I've got an UmbrelOS 1.1 installed on a RPi5. It's Bitcoin Node app is already set to allow Incoming Connections. I also went ...
CMD's user avatar
  • 31
2 votes
1 answer
53 views

What does unbroadcastcount in getmempoolinfo mean?

What is the unbroadcastcount in getmempoolinfo? Does it track only the transactions from my wallet that are unbroadcasted? Or does it track all transactions that are not broadcasted which I may have ...
sanket1729's user avatar
  • 1,402
1 vote
0 answers
97 views

Bitcoin core having trouble connecting to peers

New to Bitcoin. I have been trying to host a full node on my Mac. I just installed bitcoin core but while syncing, it seems my node is unable to connect to any peers. I am regularly checking the debug....
Advait Pote's user avatar
2 votes
0 answers
63 views

What are the extra peers.dat files?

I am restarting my bitcoin node. I noticed there are more than one peers.dat files, and many don't end in .dat. Should these be deleted? Is my node compromised? Any explanation is appreciated. Thank ...
foster's user avatar
  • 31
2 votes
0 answers
60 views

Headers-first sync and malicious peers [duplicate]

Since headers-first syncing specifies that the entire header chain is downloaded from a single peer, how does the downloading node know that it is not being served a manufactured out-of-consensus ...
Brutus's user avatar
  • 21
4 votes
1 answer
264 views

What's a rule of thumb for setting the maximum number of connections?

Connectivity of full nodes varies a lot, ranging from phones with mobile service to servers in data centers. Also, many nodes probably have asymmetric bandwidth. Assuming the goal of maximizing ...
real-or-random's user avatar
4 votes
1 answer
335 views

addnode + v2transport (BIP324) argument available to the bitcoin.conf?

I'm trying to use the new v2transport argument on addnode= in bitcoin.conf to attempt to connect to the peer using BIP324 v2 transport protocol. I tried using, for example, the bitcoin-cli addnode &...
2F4kT0r's user avatar
  • 71
2 votes
1 answer
243 views

What are outgoing and incoming connections and what is the difference between them?

Why do we have two types of connections, outgoing and incoming? What is the purpose of one and the other? Are outgoing connections the ones where we notify of new blocks/transactions, while incoming ...
Cosmos's user avatar
  • 199
1 vote
1 answer
75 views

Why do nodes have a maximum peer count?

Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?
Noah Bergh's user avatar
1 vote
0 answers
70 views

Max amount of peers connections on LND

I'm trying to connect to a long list of peers. I'm running a LND(0.17.0) node. My list has almost 1k peers and I can only connect to 6 of them. Is my node limiting the max connections? If so, is it ...
polespinasa's user avatar
2 votes
2 answers
325 views

Missing transactions from full node

I am running a full node (bitcoin-core) that connects to the peers network. I am also running and SPV node with a wallet (bcoin). I have made 2 different send transaction from the SPV wallet with very ...
stopiky's user avatar
  • 21
6 votes
1 answer
822 views

Why is my sync slow even with a dbcache of 16000?

We know that initial sync takes ages especially after 500-600k blocks. I get 500k in 30 hours, but now when I'm standing on 600k block syncing is quite slow, it took a couple of days to reach that ...
javierMarquez's user avatar
-1 votes
1 answer
134 views

How to identify bad peers that are connected to my node

How do I know if it's a bad peer? I see a lot of connections, but does the software filter out bad peers? Or is it up to me to do it? Thank you!
Edward Halverson's user avatar
0 votes
0 answers
39 views

When does a Bitcoin Core node first start getting inbound peers?

It is my understanding that a fresh node will only make outbound connections during IBD and not advertise its own IP address, yet. Since other nodes will only advertise IP addresses that they learn ...
Murch's user avatar
  • 75.8k
2 votes
0 answers
26 views

No inv messages from inbound nodes

I'm writing a tx relay-only node that can accept inbound connections and make outbound ones. Just for research. What I'm seeing that on inbound nodes the initial handshake completes and the connection ...
Eva4684's user avatar
  • 41
1 vote
1 answer
242 views

How to find transaction's original author in Bitcoin Core?

I have recently installed Bitcoin Core on my PC and downloaded the blockchain in prune mode. I want to find out if there is a way to find transactions original author, the node which broadcasted a ...
MagentaPink's user avatar
3 votes
1 answer
145 views

bitcoin-cli -netinfo not showing incoming ipv4 peers

I was trying to get my bitcoin node to be able to receive ipv4 peers for couple of days, but could not see any incoming peers even tho my port 8333 was open and reachable and to my best knowledge ...
Wiredancer's user avatar
4 votes
0 answers
176 views

How does ban score algorithm calculate ban score for a node?

Specifically I want to know, for which types of misbehaves does ban score algorithm give a ban score to a node?
Sakib's user avatar
  • 41
1 vote
1 answer
595 views

Incoming and Outgoing Node Connections

Should I be concerned that I only see "Out" connections, and not "In" connections? What does this mean? Is everything fine, or is there something I'm doing wrong?
bluefuze's user avatar
1 vote
1 answer
163 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?
noob's user avatar
  • 97
0 votes
1 answer
73 views

Collisions when adding an address entry to the new table

What does the bitcoin protocol do to handle collisions when adding addresses to the new table?
Vinay Shetty's user avatar
0 votes
1 answer
170 views

source address is .onion in peers.dat

I recently wrote a tool to decode the peers.dat in bitcoin core. Something peculiar that I noticed is how there were some addresses in the tables that had the source address as a .onion address. Does ...
Vinay Shetty's user avatar
1 vote
0 answers
56 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 ...
Zephyrus's user avatar
  • 782
1 vote
0 answers
90 views

Drastic decrease in peers

Been running a standalone node on the same hardware for some years now. I run this node simply as a supportive node, unlocked bandwidth to facilitate people bootstrapping the blockchain. No settings ...
Mike's user avatar
  • 489
2 votes
1 answer
392 views

How to clear peer list?

How to clear bitcoind's peer list? (also containing peers in the past) I didn't find an RPC command for it, is it stored in a file? Where?
Vincent Alex's user avatar
8 votes
1 answer
1k views

What is the difference between blocksonly and block-relay-only in Bitcoin Core?

The terms blocksonly and block-relay-only that are used in Bitcoin Core are very similar. What is the difference between them?
Lightlike's user avatar
  • 636
3 votes
1 answer
143 views

Does running a node benefit the network?

There is a 10-year old question asking this. The sole answer to that question at the time was essentially a yes, and I've seen people say that running a node makes the network more "secure" ...
Vojtěch Strnad's user avatar
8 votes
1 answer
2k views

What is a block-relay-only connection? What is it used for?

Modern versions of bitcoin core establish a fixed number of outbound connections: 8 outbound-full-relay connections and 2 block-relay-only connections. What is the purpose of block-relay-only ...
vnprc's user avatar
  • 405
1 vote
0 answers
67 views

The nmap script bitcoin-getaddr often does not return a response

For a project I need to write a scraper that sends a GetAddr request to all Bitcoin nodes. I determine the reachable nodes using the bitnodes.io API. Then I go through all the IPs and send a request ...
Brian's user avatar
  • 11
6 votes
3 answers
576 views

What is a Feeler Connection? When is it used?

The bitcoin client hard codes a limit of 8 outbound connections and 2 block-only connections. Your node will try to always maintain these 10 outbound connections with reliable peers as a defense ...
vnprc's user avatar
  • 405
2 votes
1 answer
156 views

What is the prior work or inspiration for the new/tried table design?

In Eclipse Attacks on Bitcoin’s Peer-to-Peer Network section 8 Related Work, the authors describe how some of the countermeasures to eclipse attacks were inspired by botnets. What inspired the design ...
vnprc's user avatar
  • 405
6 votes
1 answer
435 views

Bitcoin Core stalled peer logic during initial block download

I'm trying to track down the cause of unexpected (20% to 85%) IBD slowdowns between my 2020 and 2021 annual performance tests. I experienced this slowdown with multiple implementations, so I don't ...
Jameson Lopp's user avatar
5 votes
2 answers
249 views

What does "Network Unroutable" means?

I just started running bitcoin core on a dedicated laptop. I wanted to see if my node is connected to my Wasabi wallet so I sent some sats from Strike. In the peers list Wasabi shows up but under ...
Fool's user avatar
  • 51
0 votes
1 answer
55 views

blockchain nodes that dont get the new block

i read somewhere that after 40 second of creating a new block in the blockchain there's still 5% of the nodes that does not have the block, what happens to them if they were offline or down at that ...
pardis.ti's user avatar
2 votes
2 answers
132 views

Is there any way to activate full 'leech' mode?

As I understand, bitcoin basically represents a situation where nodes are expected to (and do) serve other nodes in the network, information that represents the money of all transactions in that ...
reason 10's user avatar
1 vote
0 answers
68 views

How long do peers normally stay connected?

I've been experimenting with the Bitcoin protocol by trying to connect to peers and receive blocks, which has been working so far. However, often peers will close the TCP connection within a couple of ...
adrian's user avatar
  • 111
1 vote
1 answer
2k views

How do I increase the maximum number of outbound peers?

How can I increase the maximum number of outbound peers bitcoin core can connect to? I can't seem to be able to connect to more than 10. I've tried using the -maxconnections flag but it doesn't seem ...
3872639819347's user avatar
1 vote
1 answer
755 views

When exactly are peers saved in peers.dat file?

I had tried few things when reviewed this PR: https://github.com/bitcoin/bitcoin/pull/22013 While reviewing PR https://github.com/bitcoin/bitcoin/pull/22651, I was expecting 1 peer to be saved in ...
user avatar
1 vote
1 answer
63 views

Do peers advertise their chain work?

If yes, is this how a node decides that the peer has the best chain for headers-first download?
paulo's user avatar
  • 31
0 votes
1 answer
106 views

How to understand the first reply of a node

I have send my version message to a bitcoin node and the hexdump of his answer was this: https://pastebin.com/QBNaeS0g Maybe this is a network related question but I want to know the version used by ...
Saxtheowl's user avatar
  • 2,810
1 vote
2 answers
263 views

Testnet3 app will not sync to peers

I was just trying to connect testnet3 to my own testnet node through the "trusted peer" and "skip regular peers" settings, but it seems that in this way it cannot connect to a ...
user117688's user avatar
0 votes
1 answer
350 views

Increase maximum number of outgoing connections for full node

If incoming connections are disabled, Max full-relay connections are 8: src/net.h#L64 and Max block-relay-only connections are 2: src/net.h#L68 How are these decided and how can a user change these ...
user avatar
2 votes
0 answers
576 views

Why does bitcoin core appear to freeze while connecting to peers on startup?

When I startup bitcoin-qt (version 0.20.1.0) on linux, at the bottom of the app is the mesage "Connecting to peers... 4 years and 10 weeks behind". It appears that things are just frozen, no ...
Ender's user avatar
  • 121
1 vote
0 answers
185 views

Score value of my node is not rising

I'm running Bitcoin Core 0.20.1 in Debian Buster. I run the daemon behind Tor network. My current settings are: /etc/tor/torrc SOCKSPort 9005 ControlPort 9501 HiddenServiceDir/var/lib/tor/bitcoin-...
PsySc0rpi0n's user avatar
-1 votes
1 answer
298 views

How does bitcoin core establish a peer to peer network

I've tried to look for an answer to this online and haven't found any. My question is: how does bitcoin establish a peer to peer network. Establishing a centralized network with a server in the middle ...
JUAN FELIPE SUÁREZ BURGOS's user avatar
8 votes
2 answers
2k views

What happens to transactions in the mempool when their parent transaction expires?

I was just reading the Coin Metrics Newsletter #53, and it included a section about the recent mempool congestion. After mentioning transactions that got evicted due to the network's queue of ...
Murch's user avatar
  • 75.8k
0 votes
1 answer
153 views

Can full node with only IPv4 connect to another full node with only IPv6?

As far as I know, IPv4 and IPv6 are two different protocols and direct connection between an IPv4 and IPv6 cannot be established. If I run a full node with only IPv4, can my node connect to another ...
Muoi Tran's user avatar
  • 427
2 votes
1 answer
126 views

How does having a large mempool and allowing a greater transaction ancestry set change the interaction with your peers?

Bitcoin Core by default allows up to 300 MiB of mempool data, and restricts unconfirmed transaction trees to an ancestry set of at most 25 transactions and 101 kvB of transaction data. Since these are ...
Murch's user avatar
  • 75.8k
1 vote
1 answer
134 views

Number of bitcoind peers drops precipitously every 30 days or so

I run bitcoind headless on a linux box with maxconnections=256 and port 8333 open on the router. Using Bitcoin Node Manager I monitor node status occasionally. Peer count of course starts at 8 and ...
Mike's user avatar
  • 489