32
12
At this moment, blockchain.info has over 1,900 nodes connected to their bitcoin client.
I have been running an m1.small ubuntu 12.04 server and bitcoind for ~4 days straight now with no reboots. My bitcoind client still only shows ~60 connections maximum when performing a "./bitcoind getinfo" command.
How can I achieve 1,000+ connections to my bitcoind client? And is it "worth it" in your opinion?
EDIT: I have re-started my bitcoind client with the -maxconnections=1000 and -timeout=15000 parameters but after ~12 hours of running bitcoind, the number of connections is only up to ~40. And I don't seem to be maxing out my CPU, RAM, or bandwidth just yet.
EDIT 2: I have not seen a "connected time" over 8 hours in the list provided by blockchain.info so that tells me they must restart their server every 8 hours or so. Either that, or connections drop and refresh after 8 hours? I am beginning to think that blockchain.info keeps track of IP addresses running bitcoin in a database of sorts... and forefully connects to them every time their bitcoind reboots. Am I right?
5Blockchain runs multiple bitcoind nodes and the networking components were also modified to use boost::asio rather posix sockets. you should be able to get at least 1024 connections with standard bitcoind though. – Ben Reeves – 2013-03-04T19:22:40.127
1Any idea on what might be holding me back from achieving 1,024 connections on my bitcoind? I don't seem to be maxing out my CPU, RAM, or bandwidth just yet. – user3145 – 2013-03-04T21:53:13.227
Bitcoin Unlimited has an option
-maxoutconnectionsthat allows you to increase outgoing connections to peers. It defaults to8but you can set it to something higher without having to recompile the node from modified source. – greatwolf – 2016-10-29T20:23:12.7131When I set
-maxconnectionsto something high I get the following error:> Warning: Reducing -maxconnections from 4096 to 865, because of system limitations.
so it seems like one can not even go super high with incoming connections as well? – lifeofguenter – 2017-06-18T10:49:27.323
@greatwolf is bitcoin unlimited works for bitcoin or bitcoin cash ? – AMB – 2017-09-07T13:25:52.343
@AMB I believe BU offers two versions of the client, one works with the legacy chain and the other works with Bitcoin Cash. – greatwolf – 2017-09-10T01:33:42.290