Bitcoin Forum
June 15, 2024, 08:40:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why is 51% the magic number for attacks?  (Read 844 times)
lynn_402 (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 253


View Profile
July 25, 2014, 01:32:31 PM
 #1

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?
rigel
Legendary
*
Offline Offline

Activity: 1240
Merit: 1001


Thank God I'm an atheist


View Profile
July 25, 2014, 02:04:47 PM
 #2

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"
lynn_402 (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 253


View Profile
July 25, 2014, 02:12:19 PM
 #3

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"

But isn't 48% almost as dangerous? When ghash was bigger a few weeks ago, it seems like people were considering 50% to be the critical point that needed to be reached before they did anything bad.
virtualx
Hero Member
*****
Offline Offline

Activity: 672
Merit: 507


LOTEO


View Profile
July 25, 2014, 02:51:44 PM
 #4

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"

But isn't 48% almost as dangerous? When ghash was bigger a few weeks ago, it seems like people were considering 50% to be the critical point that needed to be reached before they did anything bad.

48% is a lot, but it's not more than half. It's not likely that something would happen, as miners want to gain the most profits - so they want bitcoin stays alive.

...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
lynn_402 (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 253


View Profile
July 25, 2014, 02:53:37 PM
 #5

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"

But isn't 48% almost as dangerous? When ghash was bigger a few weeks ago, it seems like people were considering 50% to be the critical point that needed to be reached before they did anything bad.

48% is a lot, but it's not more than half. It's not likely that something would happen, as miners want to gain the most profits - so they want bitcoin stays alive.


Sure, but my question was; is there anything that someone with 51% of the network can do that someone with 49% of it can't?
virtualx
Hero Member
*****
Offline Offline

Activity: 672
Merit: 507


LOTEO


View Profile
July 25, 2014, 02:55:33 PM
 #6

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"

But isn't 48% almost as dangerous? When ghash was bigger a few weeks ago, it seems like people were considering 50% to be the critical point that needed to be reached before they did anything bad.

48% is a lot, but it's not more than half. It's not likely that something would happen, as miners want to gain the most profits - so they want bitcoin stays alive.


Sure, but my question was; is there anything that someone with 51% of the network can do that someone with 49% of it can't?

As far as I understand it, together they could manipulate transactions - such as make transactions that did not occur.  However, if they would do this - the market price would quickly drop.

...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
azeteki
Member
**
Offline Offline

Activity: 96
Merit: 10

esotericnonsense


View Profile WWW
July 25, 2014, 03:10:25 PM
 #7

Sure, but my question was; is there anything that someone with 51% of the network can do that someone with 49% of it can't?

Any miner can attempt to produce a private chain, and release it if it outpaces the network in work done. This chain would then displace the main chain. Hashrate increases the probability, but there is a discontinuity above 50% (because you become the majority).

Imagine a network with a total of 100 hashes per second. The real network is not actually constant hashrate, but it's easier to explain with figures.

With 48% of that network, you produce 48H/s, while the rest of the network produces 52H/s.

A luck streak could mean that you produce blocks faster than everyone else for a bit. It's random, after all. You won't know in advance that you will win, but you have a reasonably high chance. The honest network mines on average about 8% faster than you. (52/40)*100 ~= 1.08.

With 52%, you have 52H/s while everyone else has 48H/s. You mine on average 8% faster than them.
You produce blocks faster on average. It might take a day, or a week, or a month, for statistical fluctuations to average out; but eventually you win (so long as you can maintain 52%).
And so you can mine every future block. Just ignore anyone else's blocks but your own, and only mine on yours.

Simon8x
Hero Member
*****
Offline Offline

Activity: 568
Merit: 500



View Profile
July 25, 2014, 04:06:57 PM
 #8

Wouldn't someone be able to attack the network with only 40% of the hashpower, and he'd only need more luck?

And why do everyone seem to assume that as soon as anyone have 51% of the hashpower, he can do whatever he want; wouldn't he still only have about 2% chance of solving 6 blocks in a row?

The magic is in more than half.
51% is not precise: this should be "more than 50%"

But isn't 48% almost as dangerous? When ghash was bigger a few weeks ago, it seems like people were considering 50% to be the critical point that needed to be reached before they did anything bad.

48% is a lot, but it's not more than half. It's not likely that something would happen, as miners want to gain the most profits - so they want bitcoin stays alive.

The following bitcoin wiki page should be helpful to you. Smiley

https://en.bitcoin.it/wiki/Weaknesses#Attacker_has_a_lot_of_computing_power
Quote
With less than 50%, the same kind of attacks are possible, but with less than 100% rate of success. For example, someone with only 40% of the network computing power can overcome a 6-deep confirmed transaction with a 50% success rate.

minerpumpkin
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


A pumpkin mines 27 hours a night


View Profile
July 25, 2014, 04:53:08 PM
 #9

Sure, but my question was; is there anything that someone with 51% of the network can do that someone with 49% of it can't?

As far as I understand it, together they could manipulate transactions - such as make transactions that did not occur.  However, if they would do this - the market price would quickly drop.


Thing is: They could deposit BTC on some exchange and trade it for another coin or possibly FIAT and then - with 51% - secretly mine a chain that's longer than the regular blockchain. Due to the law of big numbers, they will have a longer chain per definition if they're above 50%. They now can double spend those BTC they're traded for other coins before. Profit.

I should have gotten into Bitcoin back in 1992...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!