Bitcoin Forum
September 30, 2016, 03:13:26 AM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Connection limits  (Read 1608 times)
satoshi
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364


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

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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1475205206
Hero Member
*
Offline Offline

Posts: 1475205206

View Profile Personal Message (Offline)

Ignore
1475205206
Reply with quote  #2

1475205206
Report to moderator
Tilka
Newbie
*
Offline Offline

Activity: 11



View Profile
August 09, 2010, 09:32:31 PM
 #2

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

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

Activity: 1666



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

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'
knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


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

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.

Ground Loop
Member
**
Offline Offline

Activity: 112


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

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
throughput
Full Member
***
Offline Offline

Activity: 158


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


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.
ArtForz
Sr. Member
****
Offline Offline

Activity: 406


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

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

bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz
i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
Pages: [1]
  Print  
 
Jump to:  

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!