Bitcoin Forum

Bitcoin => Pools => Topic started by: Lolcust on September 16, 2011, 11:15:34 PM



Title: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: Lolcust on September 16, 2011, 11:15:34 PM
Hello!

Basically, the question is thus:

How many nodes (that is, connections from perspective of BTC network) does a nicely  sized (that is, member of top 6) BTC pool need, and approximately how does it scale ?

Hard numbers not required, just general range

Thanks.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: twmz on September 17, 2011, 01:30:59 AM
It really only matters how quickly the pool node can send and receive from the other top 6 pool nodes.  If they could connect directly to each other, then you only need 5 (you + the other top 6) to minimize invalid blocks.

If you can't manually force persistent connections to the top mining pools (which you probably can't), then you want many more connections so that you maximize the chances that you accidentally are connected to a node that is "close" to the other pools.  In an effort to increase your odds of being close or directly connected to a pool node, you could possibly patch bitcoind to prefer nodes "near" the IP address space of where you suspect pool nodes probably are.

But I suspect if you have too many connections, I'd imagine the cost of communicating with hundreds or thousands of nodes may hurt you enough to negate the value of being connected to many nodes.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: MoonShadow on September 17, 2011, 01:37:48 AM

If you can't manually force persistent connections to the top mining pools (which you probably can't),

You can try with the -connect flag.  If you know the pool's ip address and they are accepting inbound connections.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: twmz on September 17, 2011, 02:35:11 AM

If you can't manually force persistent connections to the top mining pools (which you probably can't),

If you know the pool's ip address and they are accepting inbound connections.

Most of the large pools don't publish their bitcoind node ip addresses and I would expect they also don't accept inbound connections.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: Lolcust on September 17, 2011, 08:20:21 AM

If you can't manually force persistent connections to the top mining pools (which you probably can't),

If you know the pool's ip address and they are accepting inbound connections.

Most of the large pools don't publish their bitcoind node ip addresses and I would expect they also don't accept inbound connections.

Well, I wonder if there is a coherent "pool security model" that demands this course of actions, or that is a case of "better safe than sorry" reasoning.

Also, disallowing incoming connections on a large miner strikes me as counterintuitive ...


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: twmz on September 17, 2011, 01:33:18 PM
Also, disallowing incoming connections on a large miner strikes me as counterintuitive ...

My thought is that, given that most large pools have been targets of DoS or DDoS attacks at some point, they would want to minimize attack surface.  Not accepting incoming connections doesn't mean that you can't have connections.  It just means that you have to initiate them all, which is easy enough


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: Lolcust on September 17, 2011, 03:29:30 PM
But under that paradigm, pools, as long as they don't mod their software to increase the number of outgoing connections, are limited to 8 connections... Hm...

Interesting stuff.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: [Tycho] on September 18, 2011, 04:00:01 PM
But under that paradigm, pools, as long as they don't mod their software to increase the number of outgoing connections, are limited to 8 connections... Hm...
I don't think that any serious pool runs stock bitcoind anyway :)


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: Lolcust on September 18, 2011, 08:22:08 PM
But under that paradigm, pools, as long as they don't mod their software to increase the number of outgoing connections, are limited to 8 connections... Hm...
I don't think that any serious pool runs stock bitcoind anyway :)

That I   understand :).

Still, the security paradigm of running on pure outgoing is kinda weird. I mean, I am aware of existence of TCP denial of service shenanigans, but for the love of everything good, are we seriously more paranoid an environment than torrenter / KAD crowd ?


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: MoonShadow on September 18, 2011, 10:37:21 PM
are we seriously more paranoid an environment than torrenter / KAD crowd ?

Some of us, yes.  Bear in mind, we are dealing with real value here; the value of intellectual property is theoretical and not relevant to the torrentors themselves.


Title: Re: inquiry about a spherical pool in vacuum - how many "bicoin nodes" does it need
Post by: Lolcust on September 19, 2011, 08:52:00 AM
are we seriously more paranoid an environment than torrenter / KAD crowd ?

Some of us, yes.  Bear in mind, we are dealing with real value here; the value of intellectual property is theoretical and not relevant to the torrentors themselves.

It seems to me that what matters  for a security model is not whether the "legitimate" participants ascribe value to their activities (all value being a matter of perception, in my very humble opinion), it's whether their opponents do, and given the existence of (technologically  sophisticated) agents interested disrupting filesharing networks, one would say that the analogy between torrent trackers and pools is not entirely off-base due to apparent existence of (relatively) technologically sophisticated  opponents who would find disrupting the respective services   to be a source of benefit (financial or otherwise)

Anyways, I find the fact that an apparently notable (though sadly unquantified) number of pool-ops are running on outgoing-only is verily interesting and worth keeping in mind.