4 ms·
This 51% attack thing is such a canard. If 51% of Bitcoin miners are malicious, the most harm they can do is fail to include your valid transaction in their blo
by tboyd47 4y ago
This 51% attack thing is such a canard. If 51% of Bitcoin miners are malicious, the most harm they can do is fail to include your valid transaction in their blocks.
So, your transaction will be confirmed in the next block mined by one of the other 49% of miners. Big whoop.
- proto-n 4y agoNot correct, they can choose to not accept any blocks containing banned transactions, and still have the longest chain (statistically speaking). That's why the 51% number is significant.
- tboyd47 4y agoThat assumes the other 49% won't accept the bad guys' blocks in their chain. Those blocks are valid, so the 49% will accept them and build off of them. At any point there is still a 49% chance the next block will be mined by a good guy. If the bad guys decide not to accept the good guys' blocks, then they are hard forking Bitcoin and will end up just like Bitcoin Cash: irrelevant. This is the exact problem PoW was designed to solve, and it works very well, which is why a 51% attack has never succeeded or even been attempted against Bitcoin, and never will.
- proto-n 4y agoThey are not hard-forking, it will be compatible with the original chain and original rules. There will be two competing forks, one censored, one not censored, and the censored one is longer (because 51%). Consensus rules say longer chain is valid. So it _is_ the official "bitcoin", according to consensus rules. The 51% attack is not some made up thing.
- tboyd47 4y agoIf 51% of miners decide to totally ignore the other 49% then their chain will most definitely not be the longest chain for any more than 30 minutes. Because the 49% are still using 100% of miners' work. The only way they can maintain that chain is by a hard fork.
- gus_massa 4y agoIt's easier to explain a 66% attract. The censored chain produce the double of blocks of the censored one. Each time the uncensored chain produce a block it's ignored by the censored one. So after a time, they are behind and have to jump to the other chain and ignore their own old blocks. Something like this graph: Censored blocks: - Uncensored Fork blocks: \ Uncensored Normal blocks: * Censored: *-------------------------- Uncensored: \** \* \*** \** \*
- tboyd47 4y agoSo, now that I've obliterated the 51% attack idea, shall we move on to 66% attack? It doesn't matter if it's a 90% attack. The minority miners are constantly receiving and using the majority's blocks. So it is not 66% vs. 33%, or 90% vs. 10%; it is 60% vs. 100% and 90% vs. 100%. All it takes is for the less-restrictive minority to mine two blocks in a row and they've permanently outpaced the majority's more restrictive chain.
- cesarb 4y ago> The minority miners are constantly receiving and using the majority's blocks. They can use the majority blocks at the cost of discarding their earlier blocks. Every time they accept a block from the majority, they undo all the work they had done earlier. > All it takes is for the less-restrictive minority to mine two blocks in a row and they've permanently outpaced the majority's more restrictive chain. All it takes then is for the majority to mine three blocks in a row. The probability is always on their side.
- 3np 4y agoAll it takes then is for the majority to mine three blocks in a row at the precise right moment, consistently enough that there is lower gas available in minority blocks than demand from sanctioned transactions. If that's what it comes down to (and there is reason to believe it won't), I imagine sanction addresses will still transact, just with higher latency and at higher cost than others.
- 3np 4y ago> Consensus rules say longer chain is valid. I will not go into depth here but it's a commonly held view that this changes under PoS. Just flying by so hopefully sources are easily located
- remram 4y agoIf the 49% mine a block, the 51% can ignore it and will eventually surpass the 49%'s chain's length long term, no matter how lucky they are short-term.
- tboyd47 4y agoThe 51% can ignore the 49%'s blocks, but there is no way the 51% can force the 49% to ignore THEIR blocks. The only way 51% of miners can fork the blockchain and actually overtake the other 49% with more restrictive rules is if they have a hidden nuclear reactor dedicated to mining Bitcoin that produces hashpower equal or more than 49% of the network and they flip it on at the moment they fork. Again, it doesn't matter how many people are convinced a 51% attack is possible on Bitcoin. It's never even been tried once. So the burden of proof is on you all. I'm just trying to help explain why this concept has never been proven.
- DSMan195276 4y ago> The 51% can ignore the 49%'s blocks, but there is no way the 51% can force the 49% to ignore THEIR blocks. If the 51% can ignore the blocks from the 49%, then why does it matter what the 49% is doing? Occasionally the 49% will be able to mine a block and temporarily create the longest chain, but the 51% can always just ignore that block and continue mining off of the one before it - eventually their chain will be the longest and the block(s) from the 49% will be lost. Really this isn't theoretical, it happens all the time by accident when two blocks get mined off of the same previous block. When that happens one of the two blocks gets lost, and the only difference with this scenario is that the 51% have enough hash power to ensure that their blocks are the ones that always (eventually) win and the 49% blocks are always lost.
- samkon 4y agoExcept that blocks are not “finalized”, like you’re imagining. With 51% of mining power, I can mine faster than the rest of the network, for an arbitrary number of blocks. The 51% attacker will have the longest chain for as long as they keep mining their chain because they’re chain will always (eventually) be the longest one.
- tboyd47 4y ago51% < 100% The other 49% are still incorporating the 51%'s blocks in their work. There is no way 51% of miners can stay ahead of the combined hashpower of the entire Bitcoin mining population.
- deleted 4y ago[deleted]
- cesarb 4y ago> The other 49% are still incorporating the 51%'s blocks in their work. It's not that simple. That block from the 49% will be ignored by the 51% (since it contains "banned" transactions), which will continue the chain on the previous block (the "51% chain". Now the 49% has two options. If they continue to build the chain on top of that 49% block (the "49% chain"), after a while the 51% chain will be longer (because that side has the most hash power). The other option is to build again on top of the 51% chain, as you suggested (and AFAIK that's what unmodified Bitcoin software will do after a while); but to do that, they have to discard that block they had included earlier (since it's not in the 51% chain). That is: yes, the 49% can include "banned" transactions, but that inclusion will be undone later. They can include these transactions again, but that inclusion will be undone again. They can never get far enough for these blocks with the "banned" transactions to be permanent. > Again, a 51% attack has never even been attempted on the Bitcoin network despite huge potential monetary upside if it succeeds. First, this is not the "traditional" 51% attack, which involves mining an alternative longer chain in secret. Second, the most a 51% attack can do is double spend coins (or prevent them from being spent); converting that into real money requires spending the coin twice (for instance, sending coins to an exchange, withdrawing the resulting money, and then undoing the sending to the exchange so the attacker keeps the coins), and the monetary upside isn't that big in most scenarios. Third, the cost for doing that is not as small as you're thinking (start with the cost to obtain enough miners to have 51% of the hash power), which is why it hasn't AFAIK been attempted on Bitcoin (but AFAIK, it has been attempted on less popular networks which have small total hash power). And if you fail the attack, you have wasted all that cost.
- redox99 4y agoNot true. If 51% of bitcoin miners are malicious they can reorg as often as they'd like, so your transaction will never be included.
- ithinkso 4y ago51% is Bitcoin. That's what decentralized means
- sam0x17 4y ago51% attack on a proof of stake network would be a truly "I just want to watch the world burn" scenario, since you'd have to control 51% of the currency, why even bother. You control most of the money, why risk losing it with a takeover attempt?
- remram 4y ago51% can do double-spend in Bitcoin, e.g. they can undo entire blocks of transactions and spend that money again. They can also prevent you from getting your transaction in ever. The 49% cannot prevent this because they cannot make a longer chain, that is the entire point of proof-of-work.
- tboyd47 4y agoAdding the double-spend concept into it makes it even more silly. If you are changing the validation rules of Bitcoin to allow double-spend, then your block is rejected by the entire network and you must fork, even if you had 99% of the hashpower.
- ahtihn 4y agoYou don't need to change the validation rules to double spend. What you do is this: - spend btc with a transaction and get it included in the chain. - start mining blocks starting from before your transaction in secret - include a trnasaction to a different address in the secret chain - broadcast the secret chain once it's longer than the "official" one - since your chain is longer, your chain is now the official one. All the transactions in the other chain are now discarded
- remram 4y agoI'm describing an attack. An attack happens when the attacker doesn't play by the rules, while the rest tries to. Here an attacker controlling 51% of mining power decides to not play by the rules; we are considering what that means for everybody else. For Bitcoin it means they can block transactions forever, and they can double-spend. Obviously if the attacker plays by the rules there is no attack.
- simiones 4y agoThis thing actually happens ALL THE TIME in Bitcoin. That's why no one accepts a transaction (at least not one for any significant amount of BTC) as soon as it is in the latest block - they wait until the transaction is in the 3rd, 4th or older block. The Bitcoin blockchain constantly "forks" for the latest 1-2 blocks. If you sell your car for BTC and hand over the car the moment you see the latest block contains the transaction where the BTC enters your wallet, you may see 1h later that the longest chain does NOT contain your transaction, and in fact your transaction is now invalid, because the buyer wallet has sent all the money somewhere else.