Bitcoin Forum
November 12, 2024, 04:29:14 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Information about the 51% attack and discussion  (Read 224 times)
AverageGlabella (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1080


View Profile
March 13, 2018, 10:55:26 PM
Merited by Vod (2), Welsh (2), bones261 (2)
 #1

We've all heard of the 51% attack right? But I bet not many people actually know what it means and what it can and can't do. I'll admit my knowledge is suspect to errors when it comes to Bitcoin and it's related technologies. But I'm willing to learn and discuss about various aspects of Bitcoin.

I would like to first include what I know about the 51% attack and hopefully receive some replies adding some worthy discussion about the topic. I'll try to include sources where I can.

Essentially the only way Bitcoin more be centralized is if an entity such as a government agency had control of the majority of the computing power going into Bitcoin. This is exactly what the 51% attack is it's an attack which involves the person/organization having enough computing power to control more than 50% of the network.  I'll refer to this computing power as "Hash rate" from the rest of the thread.

First of all how much hash rate is needed to have the majority of it in the Bitcoin network?

Well the hash rate is forever changing but according to Blockchain.info[1] graphs the highest ever reached is somewhere around 26,908,615 th/s. Just to put that into perspective 1 th/s is 1 trillion hashes per second. That means to have controlled the majority of the network you would need more than half of that number which is around 13,454,307.

If someone did manage to get more than 50% of hash rate on the Bitcoin network what would this mean?
Well it could be pretty devastating to the Bitcoin network as a whole. At this point in time Bitcoin is centralized because someone controls the majority of the networks hash rate. The hash rate is used to mine new blocks which in turn processes existing transactions on the network.

In short this is what it would mean:
1. Double spend
2. Stop transactions from getting confirmed

Let's address the double spending issue first. To my knowledge double spending means you can send a transaction twice in to different outputs and only one of them will actually go through. This means that someone could appear to be sending you Bitcoin and it will show up on the network as being verified on the network. It just wouldn't of confirmed. Then they could try spending this amount again before the initial transaction gets confirmed. But this is an issue if the person who is trying to double spend has more than 50% of the hash rate as they'll be able to choose whether they confirm the initial transaction or the one sent after the first transaction.

This of course means they can choose which transactions get confirmed andones which just sit in the mempool. effectively having control over the hash rate you could make it very inconvenient for users of Bitcoin to confirm their transactions because they might decide not to mine the block that your transactions are in causing them to remain in the mempool. They could effectively take a hostile approach and only confirm transactions with very high fees sort of an extortion attempt.

Common misconceptions are that someone who owns the majority of the hash rate of the network can stop transactions. They can't. They do not have control of you creating a transaction and verifying it on the network. What they do have control over is where their miners are pointed and might not point it at the block that your transaction is in.

They also can't create coins. They only have control over hash rate and processing transactions. They do not have control of the code and can just create coins from nowhere.

Surely this could be attempted with less than 50%?
Of course it can and probably has been attempted. (anyone has any sources to this being attempted would be appreciated) However it's not nearly as easy to do than having over the majority. The more hash rate you have control of the higher the chances are making the above possible. If you have 90% of the network hash rate you are much more likely to be able to choose what you want to be confirmed and what you want to leave out there in the mempool.

It's sort of similar to the tor system in this aspect that if a government authority wanted to control Tor they would likely need to have the majority of exit nodes. That way they can snoop on the data that you are browsing.


Is the 51% attack feasible?
Well let's first take for instance the Ant miner s9 which I believe is the latest mining equipment which has been released to the public. The typical hash rate of this model is around 12.90TH/s. Though it's been advertised to have reached 14TH/s. So let's go with the advertisements and say each unit can do 14TH/s. To gain more than 50% of the hash rate of the highest ever achieved you would need 961,021,929 units. Let's also note no hardware performs at the same benchmarks and inconsistencies will be present. One of these units on amazon is selling for around $2,489.00. So let's call that 2,000 dollars per unit that's a lot of money if you want to be able to buy all of these units.

I don't think the 51% attack is something to be particularly concerned about judging on these numbers. There's probably much better ways to hurt Bitcoin. I think the only way this would be a genuine problem is if the government made it law to register if you were a Bitcoin miner and contribute to a pool setup by the government. They would choose what to do with the computing power whilst you would be required by law to be part of this pool.


Judging by some of my previous threads I may be mistaken with some of the information and may of made a few mistakes here and there. I encourage anyone who finds any errors to tell me right away. I would also like to discuss this and compare it to the technological advances that may be made in the next few years.
 
[1] https://blockchain.info/charts/hash-rate ( I would like to highlight that these are only estimates)
bones261
Legendary
*
Offline Offline

Activity: 1806
Merit: 1828



View Profile
March 14, 2018, 12:14:55 AM
Merited by Welsh (1), paxmao (1)
 #2

Is the 51% attack feasible?
Well let's first take for instance the Ant miner s9 which I believe is the latest mining equipment which has been released to the public. The typical hash rate of this model is around 12.90TH/s. Though it's been advertised to have reached 14TH/s. So let's go with the advertisements and say each unit can do 14TH/s. To gain more than 50% of the hash rate of the highest ever achieved you would need 961,021,929 units. Let's also note no hardware performs at the same benchmarks and inconsistencies will be present. One of these units on amazon is selling for around $2,489.00. So let's call that 2,000 dollars per unit that's a lot of money if you want to be able to buy all of these units.

I don't think the 51% attack is something to be particularly concerned about judging on these numbers. There's probably much better ways to hurt Bitcoin. I think the only way this would be a genuine problem is if the government made it law to register if you were a Bitcoin miner and contribute to a pool setup by the government. They would choose what to do with the computing power whilst you would be required by law to be part of this pool.


Judging by some of my previous threads I may be mistaken with some of the information and may of made a few mistakes here and there. I encourage anyone who finds any errors to tell me right away. I would also like to discuss this and compare it to the technological advances that may be made in the next few years.
 
[1] https://blockchain.info/charts/hash-rate ( I would like to highlight that these are only estimates)


I think your math is a little off. The ATH for hashrate appears to be about 27,000,00 TH. So that would require a little over 2,000,000 S9. Also, Bitmain manufactures the S9, so they can make machines for themselves for way cheaper. Also, they wouldn't need 2,000,000 additional units since Bitmain already has units on hand. Many are already being put to use by them on their farms. So if Bitmain went rogue, they definitely have the capability of implementing a 51% attack. However, I doubt that they will do it since it would effectively kill the goose that is laying golden eggs for them.
AverageGlabella (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1080


View Profile
March 26, 2018, 09:55:17 PM
 #3

Is the 51% attack feasible?
Well let's first take for instance the Ant miner s9 which I believe is the latest mining equipment which has been released to the public. The typical hash rate of this model is around 12.90TH/s. Though it's been advertised to have reached 14TH/s. So let's go with the advertisements and say each unit can do 14TH/s. To gain more than 50% of the hash rate of the highest ever achieved you would need 961,021,929 units. Let's also note no hardware performs at the same benchmarks and inconsistencies will be present. One of these units on amazon is selling for around $2,489.00. So let's call that 2,000 dollars per unit that's a lot of money if you want to be able to buy all of these units.

I don't think the 51% attack is something to be particularly concerned about judging on these numbers. There's probably much better ways to hurt Bitcoin. I think the only way this would be a genuine problem is if the government made it law to register if you were a Bitcoin miner and contribute to a pool setup by the government. They would choose what to do with the computing power whilst you would be required by law to be part of this pool.


Judging by some of my previous threads I may be mistaken with some of the information and may of made a few mistakes here and there. I encourage anyone who finds any errors to tell me right away. I would also like to discuss this and compare it to the technological advances that may be made in the next few years.
 
[1] https://blockchain.info/charts/hash-rate ( I would like to highlight that these are only estimates)


I think your math is a little off. The ATH for hashrate appears to be about 27,000,00 TH. So that would require a little over 2,000,000 S9. Also, Bitmain manufactures the S9, so they can make machines for themselves for way cheaper. Also, they wouldn't need 2,000,000 additional units since Bitmain already has units on hand. Many are already being put to use by them on their farms. So if Bitmain went rogue, they definitely have the capability of implementing a 51% attack. However, I doubt that they will do it since it would effectively kill the goose that is laying golden eggs for them.

Forgive me on my maths it really isn't my strongest. You have made an interesting point that I had failed to identify when I first looked at this and that there's already units out there in the circulation. Although this would require one person or a group of people working together to achieve this goal which is unlikely.

I don't think bitmain has manufactured anywhere near the amount specified to date though and would likely be years and years off of doing it. The goal of this post was to identify how hard this would be to achieve as well as not being 100% effective if someone did get this sort of "control".

Sorry for taking so long to reply I've had major issues getting on to the forum recently.
Ginzink
Full Member
***
Offline Offline

Activity: 462
Merit: 118


View Profile
March 29, 2018, 07:53:02 PM
 #4

Buying 2 million S9, and getting the facility and staff to run it would cost way more than a doublespend could earn them probably. They would have to get the money out from btc/exchange aswell.
Been discussed a couple times, and the only one who could benefit from a 51% on a nettwork as big as bitcoin have become is thoose who want it to fail.

But breaking bitcoin would probably be harder than any other hack in the world considering the costs and manpower needed?
It would be like making a Chicken mcnugget turn back into a chicken as alot of us have heard from last week tonight Tongue
AverageGlabella (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1080


View Profile
March 29, 2018, 09:34:16 PM
 #5

Buying 2 million S9, and getting the facility and staff to run it would cost way more than a doublespend could earn them probably. They would have to get the money out from btc/exchange aswell.
Been discussed a couple times, and the only one who could benefit from a 51% on a nettwork as big as bitcoin have become is thoose who want it to fail.

But breaking bitcoin would probably be harder than any other hack in the world considering the costs and manpower needed?
It would be like making a Chicken mcnugget turn back into a chicken as alot of us have heard from last week tonight Tongue

Yeah as a business stand point there is no gain. However if the government approached bitmain and worked out some sort of deal then it could be plausible. But they would likely need even higher than the numbers stated because if you want to take down the whole network you'll want as much computing power as possible to cause the most havoc. Ultimately I think Bitcoin was subject to this sort of attack in it's infancy and has long passed where it was vulnerable to this.

I'm exploring some other issues with Bitcoin and how they can be exploited and will likely post some of my views/opinions on them shortly.
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!