Bitcoin Forum

Bitcoin => Pools => Topic started by: theomar on March 22, 2013, 12:36:24 PM



Title: Guild pool a 51% threat?
Post by: theomar on March 22, 2013, 12:36:24 PM
BTC guild pool has the 40% of the total network power.

http://blockchain.info/pools

http://www.btcguild.com/index.php?page=pool_stats

The guild pool speed has increased +400% in the last 6 weeks.


I dont know how guild pool operates so i ask you:

Is there a possible threat for a 51% attack?


Lets make some calculations:


Gmax = Gn + (k x h)

X = Xn + (k x h)


Gmax :  guild pool speed for becoming  a 51%  threat.  (Gh/s)

Gn: guild pool speed now  (Gh/s)

X:  total network hash rate  if Gmax is reached (Gh/s)

Xn:  total network hash rate now  (Gh/s)

k: number of ASICs

h: ASIC hash rate (Gh/s)


Assume that the network's computation speed  (do not include guild pool speed in the networks total hash rate) does not grow so fast as the guild pool speed does.
A good assumption because the networks computation speed has grown +100% in the last 6 weeks Vs a +400% increase in guild pool speed.

http://bitcoin.sipa.be/speed-lin.png

Also the +100% increase includes the +400% guild pool increase. So the increase of the network's computation speed without including the guild pool increase is less than 100%.
Guild pool has added 16000Gh/s to the network the last 6 weeks. The rest network has added 10000Gh/s to the whole network the last 6 weeks.
So the rest network computation speed has a +40% increase Vs a +400% increase of guild pool speed.

How many ASICs  should be added in the guild pool in order to become a threat?

Gmax / X > 0.51                                            =>

[ Gn + (k x h) ] / [ Xn + (k x h) ] > 0.51             =>

.
.
.

k > [ Gn-0.51Xn ] / [ 0.51h-h ]

Gn = 20000Gh/s

Xn=50000Gh/s

h=60Gh/s
.
.
.
k>187



So 187 ASICs (60Gh/s each)  or 11000gh/s must be added to guild pool in order to become a 51% threat assuming that the rest network grows very slowly.

This means that guild pool will reach the threatening point in 3-4 weeks if the situation does not change.


Title: Re: Guild pool a 51% threat?
Post by: Graet on March 22, 2013, 02:35:52 PM
I do regularly chat with the Operator of BTCGuild, he is concerned at the rapid growth too, if you look in his thread he even mentions it

despite many peoples worst thoughts the vast majority of pooloperators are here to provide good quality mining experience to miners, verify Bitcoin transactions and support Bitcoin, not to destroy it...



Title: Re: Guild pool a 51% threat?
Post by: eleuthria on March 22, 2013, 02:57:31 PM
I do regularly chat with the Operator of BTCGuild, he is concerned at the rapid growth too, if you look in his thread he even mentions it

despite many peoples worst thoughts the vast majority of pooloperators are here to provide good quality mining experience to miners, verify Bitcoin transactions and support Bitcoin, not to destroy it...



I have been increasingly active, especially in threads that are voicing concerns.  While it makes no economic sense to perform a 51% attack (it would kill confidence, thus tank the value of Bitcoin), it is always a concern just because the possibility it could happen is enough to cause some of that panic.

Right now, BTC Guild is a little under 40% in the last 24 hours, and had decent luck in these last 24 hours which slight boost to that percentage (assuming overall network luck was neutral).  If we see consistent upward percentage movement and reach a higher level, I will be killing the getwork side of the pool with very short notice in order to prevent 51% from happening.

I'm hopeful that the shipment of Avalons outside of China will level out the pool speeds more, and that ASICMINER's next round of speed will be added to Ozcoin or another pool, rather than stacking more onto BTC Guild.  These two factors should put the pool speeds into a more balanced state.


Title: Re: Guild pool a 51% threat?
Post by: beekeeper on March 22, 2013, 03:03:02 PM
If one pool operator wants to go evil, he may just drop PPS fee to 0, then he will get +51% in a short time (new asic units concentrate alot of mobile hashpower in few user hands).
So, in the end, the question is how much we trust pool operators.


Title: Re: Guild pool a 51% threat?
Post by: Graet on March 22, 2013, 11:23:39 PM
If one pool operator wants to go evil, he may just drop PPS fee to 0, then he will get +51% in a short time (new asic units concentrate alot of mobile hashpower in few user hands).
So, in the end, the question is how much we trust pool operators.
the 0 fee PPS pool has never approached 51%, it opened in June 2011


Title: Re: Guild pool a 51% threat?
Post by: grue on March 23, 2013, 02:21:41 AM
If one pool operator wants to go evil, he may just drop PPS fee to 0, then he will get +51% in a short time (new asic units concentrate alot of mobile hashpower in few user hands).
So, in the end, the question is how much we trust pool operators.
the 0 fee PPS pool has never approached 51%, it opened in June 2011
mtred?


Title: Re: Guild pool a 51% threat?
Post by: Fiyasko on March 24, 2013, 07:34:19 PM
I do regularly chat with the Operator of BTCGuild, he is concerned at the rapid growth too, if you look in his thread he even mentions it

despite many peoples worst thoughts the vast majority of pooloperators are here to provide good quality mining experience to miners, verify Bitcoin transactions and support Bitcoin, not to destroy it...



I have been increasingly active, especially in threads that are voicing concerns.  While it makes no economic sense to perform a 51% attack (it would kill confidence, thus tank the value of Bitcoin), it is always a concern just because the possibility it could happen is enough to cause some of that panic.

Right now, BTC Guild is a little under 40% in the last 24 hours, and had decent luck in these last 24 hours which slight boost to that percentage (assuming overall network luck was neutral).  If we see consistent upward percentage movement and reach a higher level, I will be killing the getwork side of the pool with very short notice in order to prevent 51% from happening.

I'm hopeful that the shipment of Avalons outside of China will level out the pool speeds more, and that ASICMINER's next round of speed will be added to Ozcoin or another pool, rather than stacking more onto BTC Guild.  These two factors should put the pool speeds into a more balanced state.
What exactly would that do? Boot off all GPU miners? Im still aimed at 8332


Title: Re: Guild pool a 51% threat?
Post by: eleuthria on March 24, 2013, 07:42:12 PM
I do regularly chat with the Operator of BTCGuild, he is concerned at the rapid growth too, if you look in his thread he even mentions it

despite many peoples worst thoughts the vast majority of pooloperators are here to provide good quality mining experience to miners, verify Bitcoin transactions and support Bitcoin, not to destroy it...



I have been increasingly active, especially in threads that are voicing concerns.  While it makes no economic sense to perform a 51% attack (it would kill confidence, thus tank the value of Bitcoin), it is always a concern just because the possibility it could happen is enough to cause some of that panic.

Right now, BTC Guild is a little under 40% in the last 24 hours, and had decent luck in these last 24 hours which slight boost to that percentage (assuming overall network luck was neutral).  If we see consistent upward percentage movement and reach a higher level, I will be killing the getwork side of the pool with very short notice in order to prevent 51% from happening.

I'm hopeful that the shipment of Avalons outside of China will level out the pool speeds more, and that ASICMINER's next round of speed will be added to Ozcoin or another pool, rather than stacking more onto BTC Guild.  These two factors should put the pool speeds into a more balanced state.
What exactly would that do? Boot off all GPU miners? Im still aimed at 8332

It would remove ~15% of the pool's hash power, including the part of the pool that contains the most undetected botnets, which is yet another plus for getting rid of getwork.  However, I don't think it will be needed.  BTC Guild is still under 40% at this time.


Title: Re: Guild pool a 51% threat?
Post by: Fiyasko on March 27, 2013, 03:51:53 AM
-Snip-
What exactly would that do? Boot off all GPU miners? Im still aimed at 8332

It would remove ~15% of the pool's hash power, including the part of the pool that contains the most undetected botnets, which is yet another plus for getting rid of getwork.  However, I don't think it will be needed.  BTC Guild is still under 40% at this time.

How would it remove ~15%?


Title: Re: Guild pool a 51% threat?
Post by: eleuthria on March 27, 2013, 04:08:08 AM
-Snip-
What exactly would that do? Boot off all GPU miners? Im still aimed at 8332

It would remove ~15% of the pool's hash power, including the part of the pool that contains the most undetected botnets, which is yet another plus for getting rid of getwork.  However, I don't think it will be needed.  BTC Guild is still under 40% at this time.

How would it remove ~15%?

Miners still using getwork would be kicked off, thus removing ~15% of BTC Guild's total speed, because ~3-4 TH/s worth of users continue to use getwork.  I still doubt it's going to be needed.  Guild has yet to actually reach 40%, so a lot of these "51%" posts have been a bit premature.


Title: Re: Guild pool a 51% threat?
Post by: Isokivi on April 04, 2013, 07:57:36 PM
6 Blocks in a row :( ..this is irresponsible.


Title: Re: Guild pool a 51% threat?
Post by: eleuthria on April 04, 2013, 08:17:00 PM
6 Blocks in a row :( ..this is irresponsible.

This isn't the first time a single pool has made 6 blocks in a row, nor will it ever be the last.  Ozcoin did it before with less than 25%.  BTC Guild is only at 35% of the last 2016 blocks.  That's a LONG way off of 51%.  ~10 TH/s would have to leave other pools and join BTC Guild (extremely unlikely), or ~15 TH/s of new speed would have to join the network and all point at BTC Guild (even less likely).


Title: Re: Guild pool a 51% threat?
Post by: Isokivi on April 05, 2013, 04:01:25 PM
6 Blocks in a row :( ..this is irresponsible.

This isn't the first time a single pool has made 6 blocks in a row, nor will it ever be the last.  Ozcoin did it before with less than 25%.  BTC Guild is only at 35% of the last 2016 blocks.  That's a LONG way off of 51%.  ~10 TH/s would have to leave other pools and join BTC Guild (extremely unlikely), or ~15 TH/s of new speed would have to join the network and all point at BTC Guild (even less likely).
Well tbh. giving one pool 25% of the hashrate is more than I'd like to see, the current situation is terrifying.


Title: Re: Guild pool a 51% threat?
Post by: JimiQ84 on April 05, 2013, 04:07:12 PM
6 Blocks in a row :( ..this is irresponsible.

This isn't the first time a single pool has made 6 blocks in a row, nor will it ever be the last.  Ozcoin did it before with less than 25%.  BTC Guild is only at 35% of the last 2016 blocks.  That's a LONG way off of 51%.  ~10 TH/s would have to leave other pools and join BTC Guild (extremely unlikely), or ~15 TH/s of new speed would have to join the network and all point at BTC Guild (even less likely).
Well tbh. giving one pool 25% of the hashrate is more than I'd like to see, the current situation is terrifying.

Create better pool. You will take away a lot of users from BTC Guild ;-)


Title: Re: Guild pool a 51% threat?
Post by: Isokivi on April 05, 2013, 04:08:51 PM
Create better pool. You will take away a lot of users from BTC Guild ;-)
Thus removing the problem once and for all. derp?


Title: Re: Guild pool a 51% threat?
Post by: gmaxwell on April 05, 2013, 10:58:29 PM
There was a post on this subject on bitcoin-development (http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=201304&viewday=&forum_name=bitcoin-development&style=nested&max_rows=100&submit=Change+View) last night, but it hasn't shown up in the archives yet.

Here was my response:

On Fri, Apr 5, 2013 at 2:30 AM, Melvin Carvalho
<melvincarvalho@gmail.com> wrote:
> There was some chat on IRC about a mining pool reaching 46%
> http://blockchain.info/pools

The estimates on there may be a bit lossy.

> What's the risk of a 51% attack.

The whole fixation on "51" as a magic number is a bit confused— I'll
say more below.

> I suggested that the pool itself is decentralized so you could not launch
> one

None of the pools listed there are meaningfully decentralized—  before
Luke whines, in theory the ones supporting GBT could be if used in a
way that no one actually uses them.  P2Pool is decentralized based on
the same technology as Bitcoin itself, but it's certainly not as point
and click easy as a centralized pool.

> On IRC people were saying that the pool owner gets to choose what goes in
> the block

That is correct.

Though I'd point out— the major pool ops all seem to be great folks
who care about the future of Bitcoin— and the continued success of
their very profitable businesses: a 50% mining pool with a 3% fee
rakes in 54 BTC per _day_.

The more likely threat isn't that pool owners do something bad: It's
that their stuff gets hacked (again) or that they're subjected to
coercion. ... and the attacker either wants to watch the (Bitcoin)
world burn, or after raiding the pool wallet can't exploit it further
except via blockchain attacks.

> Surely with random non colliding nonces, it would be almost impossible to
> coordinate a 51% even by the owner

That makes no sense. A centralized pool is the miner, the remote
workers are just doing whatever computation it tells them to do.
Certainly these remote workers might switch to another pool if they
knew something bad was happening... but evidence suggests that this
takes days even when the pool is overtly losing money.  Miners have
freely dumped all their hashpower on questionable parties (like the
infamous pirate40) with nary a question as to what it would be used
for when they were paid a premium for doing so.  It seems even those
with large hardware investments are not aware of or thinking carefully
about the risks.

> It would be great to know if this is a threat or a non issue

It's important to know exactly what kind of threat you're talking
about—  someone with a large amount of hash-power can replace
confirmed blocks with an alternative chain that contains different
transactions. This allows them to effectively reverse and respend
their own transactions— clawing back funds that perhaps had already
triggered irreversible actions.

This doesn't require some magic "51%"— its just that when a miner has
>50% the attack would always be successful if they kept it up long
enough (long enough might be years if you're talking really close to
50% and he gets unlucky). Likewise, someone with a sustained
supermajority could deny all other blocks— but that attack's damage
stops when they lose the supermajority or go away.

More interesting is this:  An attacker with only 40% of the hashpower
can reverse six confirmations with a success rate of ~50%. There is
source for computing this at the end of the Bitcoin paper.   I did a
quick and really lame conversion of his code JS so you can play with
it in a browser:

https://people.xiph.org/~greg/attack_success.html



Title: Re: Guild pool a 51% threat?
Post by: organofcorti on April 07, 2013, 04:49:08 AM
There was a post on this subject on bitcoin-development (http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=201304&viewday=&forum_name=bitcoin-development&style=nested&max_rows=100&submit=Change+View) last night, but it hasn't shown up in the archives yet.

Here was my response:

On Fri, Apr 5, 2013 at 2:30 AM, Melvin Carvalho
<melvincarvalho@gmail.com> wrote:
> There was some chat on IRC about a mining pool reaching 46%
> http://blockchain.info/pools

The estimates on there may be a bit lossy.

> What's the risk of a 51% attack.

The whole fixation on "51" as a magic number is a bit confused— I'll
say more below.

> I suggested that the pool itself is decentralized so you could not launch
> one

None of the pools listed there are meaningfully decentralized—  before
Luke whines, in theory the ones supporting GBT could be if used in a
way that no one actually uses them.  P2Pool is decentralized based on
the same technology as Bitcoin itself, but it's certainly not as point
and click easy as a centralized pool.

> On IRC people were saying that the pool owner gets to choose what goes in
> the block

That is correct.

Though I'd point out— the major pool ops all seem to be great folks
who care about the future of Bitcoin— and the continued success of
their very profitable businesses: a 50% mining pool with a 3% fee
rakes in 54 BTC per _day_.

The more likely threat isn't that pool owners do something bad: It's
that their stuff gets hacked (again) or that they're subjected to
coercion. ... and the attacker either wants to watch the (Bitcoin)
world burn, or after raiding the pool wallet can't exploit it further
except via blockchain attacks.

> Surely with random non colliding nonces, it would be almost impossible to
> coordinate a 51% even by the owner

That makes no sense. A centralized pool is the miner, the remote
workers are just doing whatever computation it tells them to do.
Certainly these remote workers might switch to another pool if they
knew something bad was happening... but evidence suggests that this
takes days even when the pool is overtly losing money.  Miners have
freely dumped all their hashpower on questionable parties (like the
infamous pirate40) with nary a question as to what it would be used
for when they were paid a premium for doing so.  It seems even those
with large hardware investments are not aware of or thinking carefully
about the risks.

> It would be great to know if this is a threat or a non issue

It's important to know exactly what kind of threat you're talking
about—  someone with a large amount of hash-power can replace
confirmed blocks with an alternative chain that contains different
transactions. This allows them to effectively reverse and respend
their own transactions— clawing back funds that perhaps had already
triggered irreversible actions.

This doesn't require some magic "51%"— its just that when a miner has
>50% the attack would always be successful if they kept it up long
enough (long enough might be years if you're talking really close to
50% and he gets unlucky). Likewise, someone with a sustained
supermajority could deny all other blocks— but that attack's damage
stops when they lose the supermajority or go away.

More interesting is this:  An attacker with only 40% of the hashpower
can reverse six confirmations with a success rate of ~50%. There is
source for computing this at the end of the Bitcoin paper.   I did a
quick and really lame conversion of his code JS so you can play with
it in a browser:

https://people.xiph.org/~greg/attack_success.html



This was a really helpful post, gmaxwell. It made a nice and easy read of the ideas behind this type of attack - you might consider stickying the essentials somewhere.

It might also be an idea if someone renamed this attack to something that doesn't include the number "51" in the name.


Title: Re: Guild pool a 51% threat?
Post by: b!z on April 08, 2013, 08:55:14 AM
There was a post on this subject on bitcoin-development (http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=201304&viewday=&forum_name=bitcoin-development&style=nested&max_rows=100&submit=Change+View) last night, but it hasn't shown up in the archives yet.

Here was my response:

On Fri, Apr 5, 2013 at 2:30 AM, Melvin Carvalho
<melvincarvalho@gmail.com> wrote:
> There was some chat on IRC about a mining pool reaching 46%
> http://blockchain.info/pools

The estimates on there may be a bit lossy.

> What's the risk of a 51% attack.

The whole fixation on "51" as a magic number is a bit confused— I'll
say more below.

> I suggested that the pool itself is decentralized so you could not launch
> one

None of the pools listed there are meaningfully decentralized—  before
Luke whines, in theory the ones supporting GBT could be if used in a
way that no one actually uses them.  P2Pool is decentralized based on
the same technology as Bitcoin itself, but it's certainly not as point
and click easy as a centralized pool.

> On IRC people were saying that the pool owner gets to choose what goes in
> the block

That is correct.

Though I'd point out— the major pool ops all seem to be great folks
who care about the future of Bitcoin— and the continued success of
their very profitable businesses: a 50% mining pool with a 3% fee
rakes in 54 BTC per _day_.

The more likely threat isn't that pool owners do something bad: It's
that their stuff gets hacked (again) or that they're subjected to
coercion. ... and the attacker either wants to watch the (Bitcoin)
world burn, or after raiding the pool wallet can't exploit it further
except via blockchain attacks.

> Surely with random non colliding nonces, it would be almost impossible to
> coordinate a 51% even by the owner

That makes no sense. A centralized pool is the miner, the remote
workers are just doing whatever computation it tells them to do.
Certainly these remote workers might switch to another pool if they
knew something bad was happening... but evidence suggests that this
takes days even when the pool is overtly losing money.  Miners have
freely dumped all their hashpower on questionable parties (like the
infamous pirate40) with nary a question as to what it would be used
for when they were paid a premium for doing so.  It seems even those
with large hardware investments are not aware of or thinking carefully
about the risks.

> It would be great to know if this is a threat or a non issue

It's important to know exactly what kind of threat you're talking
about—  someone with a large amount of hash-power can replace
confirmed blocks with an alternative chain that contains different
transactions. This allows them to effectively reverse and respend
their own transactions— clawing back funds that perhaps had already
triggered irreversible actions.

This doesn't require some magic "51%"— its just that when a miner has
>50% the attack would always be successful if they kept it up long
enough (long enough might be years if you're talking really close to
50% and he gets unlucky). Likewise, someone with a sustained
supermajority could deny all other blocks— but that attack's damage
stops when they lose the supermajority or go away.

More interesting is this:  An attacker with only 40% of the hashpower
can reverse six confirmations with a success rate of ~50%. There is
source for computing this at the end of the Bitcoin paper.   I did a
quick and really lame conversion of his code JS so you can play with
it in a browser:

https://people.xiph.org/~greg/attack_success.html



This was a really helpful post, gmaxwell. It made a nice and easy read of the ideas behind this type of attack - you might consider stickying the essentials somewhere.

It might also be an idea if someone renamed this attack to something that doesn't include the number "51" in the name.

"majority attack"


Title: Re: Guild pool a 51% threat?
Post by: organofcorti on April 08, 2013, 08:59:29 AM

This was a really helpful post, gmaxwell. It made a nice and easy read of the ideas behind this type of attack - you might consider stickying the essentials somewhere.

It might also be an idea if someone renamed this attack to something that doesn't include the number "51" in the name.

"majority attack"

Except that you don't need a majority of the hashrate to perform it.


Title: Re: Guild pool a 51% threat?
Post by: molecular on April 14, 2013, 09:51:34 AM
6 Blocks in a row :( ..this is irresponsible.

This isn't the first time a single pool has made 6 blocks in a row, nor will it ever be the last.  Ozcoin did it before with less than 25%.  BTC Guild is only at 35% of the last 2016 blocks.  That's a LONG way off of 51%.  ~10 TH/s would have to leave other pools and join BTC Guild (extremely unlikely), or ~15 TH/s of new speed would have to join the network and all point at BTC Guild (even less likely).
Well tbh. giving one pool 25% of the hashrate is more than I'd like to see, the current situation is terrifying.

As far as I recall we've lived with such a situation for quite a long time: deepbit has had around 50% (sometimes above) for long periods of time. I didn't like it back then and I don't like it now, but it's not "terrifying".


Title: Re: Guild pool a 51% threat?
Post by: lightenup on April 17, 2013, 12:23:09 PM
despite many peoples worst thoughts the vast majority of pooloperators are here to provide good quality mining experience to miners
That's also my impression. Well, I am a newbie, and I am sure this is easier suggested than implemented, but why not solve this problem with technical means?  e.g. let the mining clients check if their pool gives them a block of legitimate transactions to work on.




Title: Re: Guild pool a 51% threat?
Post by: silversurfer1958 on April 21, 2015, 09:56:55 PM
Miners could voluntarily, do a small fractional amount of pool hopping,
For example, with BfgMiner, I can set up 5 Pools to mine at regular intervals, eg 1 hr each, or 1day each.
If 4 of those were the same pool and 1 were a different pool, then this would reduce my hashing power being sent to a big pool by 20%
They probably wouldn't lose very much if anything by this method, they might get lucky for that period and earn more.
They could even strengthen the network by making one of those pools a P2P pool.
Miners can voluntarily make a difference to the 51% problem.

Not that I'm mining very much with my 1.3 MH Gaw Scrypt Zeusminer  ;D


Title: Re: Guild pool a 51% threat?
Post by: jonnybravo0311 on April 21, 2015, 10:18:34 PM
Miners could voluntarily, do a small fractional amount of pool hopping,
For example, with BfgMiner, I can set up 5 Pools to mine at regular intervals, eg 1 hr each, or 1day each.
If 4 of those were the same pool and 1 were a different pool, then this would reduce my hashing power being sent to a big pool by 20%
They probably wouldn't lose very much if anything by this method, they might get lucky for that period and earn more.
They could even strengthen the network by making one of those pools a P2P pool.
Miners can voluntarily make a difference to the 51% problem.

Not that I'm mining very much with my 1.3 MH Gaw Scrypt Zeusminer  ;D
Alright... seriously, you revived two posts over 2 years old each and posted exactly the same reply to each.  What's the deal?  Just felt the need to find old posts that mentioned pools that might hit that magical 51% mark?


Title: Re: Guild pool a 51% threat?
Post by: kano on April 22, 2015, 12:25:31 AM
Miners could voluntarily, do a small fractional amount of pool hopping,
For example, with BfgMiner, I can set up 5 Pools to mine at regular intervals, eg 1 hr each, or 1day each.
If 4 of those were the same pool and 1 were a different pool, then this would reduce my hashing power being sent to a big pool by 20%
They probably wouldn't lose very much if anything by this method, they might get lucky for that period and earn more.
They could even strengthen the network by making one of those pools a P2P pool.
Miners can voluntarily make a difference to the 51% problem.

Not that I'm mining very much with my 1.3 MH Gaw Scrypt Zeusminer  ;D
Not that the last comment has anything at all to do with Bitcoin ...

But if you were mining BTC ... with the original cgminer ... you simply need to mine multiple reliable pools (yeah there really are only a few :P)
and loadbalance them so you mine all at the same time.

This will also reduce your payout variance if you aren't mining PPS (not the fake PPS pools that are affected by block finding)