Bitcoin Forum
February 22, 2019, 09:44:00 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Connection limits  (Read 8268 times)
Sr. Member
Offline Offline

Activity: 364
Merit: 1946

View Profile
August 09, 2010, 08:58:45 PM

SVN rev 125:
- Always make 8 outbound connections even if have 8 inbound
- Limit outbound connections to one per a.b.?.? range
- Switch -maxconnections=#

I added the (currently undocumented) switch -maxconnections=#.  You shouldn't use it unless you need to because your router can't maintain a lot of connections, then try -maxconnections=30.

I haven't really tested -maxconnections much, could someone test it?
Hero Member
Offline Offline

Posts: 1550828640

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 11
Merit: 0

View Profile
August 09, 2010, 09:32:31 PM
Last edit: August 11, 2010, 11:30:30 PM by yore

Wouldn't it make sense to enable connections to multiple a.b.?.? peers that are in the same subnet? That could add some speed.

What I meant was that disabling the connection limit to nearby nodes could help keeping the network latency low.
Offline Offline

Activity: 1708
Merit: 1000

View Profile
August 09, 2010, 11:26:49 PM

Wouldn't it make sense to enable connections to multiple a.b.?.? peers that are in the same subnet? That could add some speed.

Speed is a secondary goal.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
Sr. Member
Offline Offline

Activity: 322
Merit: 250

View Profile WWW
August 09, 2010, 11:58:05 PM

Speed isn't really much of an issue since the p2p is for transactions and block data; not large files. Latency is probably a good goal; have a well connected swarm insures transactions are processed quickly and block data is updated quickly so clients don't lag behind the rest of the network.

Mainly, he doesn't want home routers to get overloaded by the p2p part of bitcoin.

At the same time, those that have bandwidth and CPU to spare can set a high limit (like 1000 or more) that just acts at a super-node for the rest of the nodes to connect through.

      ▄▄          ▄▄
     ▄███▄      ▄███▄
     ███████▄ ▄██████▄
Digital Collateral

Ground Loop
Offline Offline

Activity: 111
Merit: 10

View Profile
August 10, 2010, 06:11:39 AM

For a wide-open internet server on a well-connected router with a static IP, what's a typical number of connections?

My machines seem to settle into 34 or 35 connections and stay there.  Default limit, or some result of natural topography?

Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
Full Member
Offline Offline

Activity: 158
Merit: 100

View Profile
August 10, 2010, 09:06:09 AM

I haven't really tested -maxconnections much, could someone test it?

Is it maximum of outgoing connections or of total number of peer connections?

Could it be useful to limit both separately, by different options?

transactions and block data;  not large files

Did you mean "transactions and block data are not yet large files" ?
Megabytes per day is yet not large for my Internet, but receiving gigabyte per day for Bitcoin only is already too much.
I mean, that is the implication of future success.
Sr. Member
Offline Offline

Activity: 406
Merit: 250

View Profile
August 10, 2010, 09:38:43 AM

Total number of peer connections, outgoing is still limited to 8.

bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz
i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
Pages: [1]
Jump to: is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!