I have been running my bitcoin node for about 24 hours now and I'm hovering at 54 active connections. However, I thought that I would be at 125. Why is it that I'm not exceeding this number? Additionally, I have two IP addresses for my server and I noticed that I'm getting some transactions twice. Is it because I have two IP addresses? Could someone explain to me how I might go about getting more connections?
1 Answer
I have been running my bitcoin node for about 24 hours now and I'm hovering at 54 active connections.
That's quite high for just 24 hours.
However, I thought that I would be at 125. Why is it that I'm not exceeding this number?
125 is just the (default) limit on the total number of connections your node supports. It itself will only make around 10 connections to others; the rest of the connections will be from others connecting to you. It takes a long time before other nodes on the network learn about your node's existence and care about making connections to it.
Additionally, I have two IP addresses for my server and I noticed that I'm getting some transactions twice.
Can you explain what "getting some transactions twice" means? In normal circumstances pretty much all your peers (all 54 of them, in your case) will announce every transaction to you.
Is it because I have two IP addresses?
That may help in getting more inbound connections, but it sounds unrelated to transaction download.
Could someone explain to me how I might go about getting more connections?
You may, over time, get more connections, but there is no reason to actively want more. It's important to note that for almost anything you want your node for, the 10 outgoing connections are almost all what matters to you. The inbound connections you permit others to make to you are a service you provide to the network.
-
thanks for answering. So, I guess my follow up question would be how long until I max out my incoming connections? Commented Feb 16, 2023 at 14:57
-
I don't know; days, weeks, months perhaps. It shouldn't matter. Commented Feb 16, 2023 at 15:01