Question : How exactly does a 51% attack work?
When I read your post I immediately thought about someone who has 51% mining power.
As stated in Bitcoin whitepaper " The system is secure as long as honest nodes collectively control more CPU power than any
cooperating group of attacker nodes."
So I believe this is the case.
Well, from my understanding in this case the attackers could just make fake transfers in past blocks to their address. As they would mine faster than the network, this "alternative block" would became the real block, as it is the longest chain. Then the whole network would confirm it later on.
They could even decide which transactions get confirmed or not. And double spend their own coins too.
I made a few google searches, to post a better answer:
https://learncryptography.com/cryptocurrency/51-attack" 51% attack doesn't give you full power over the bitcoin network. The farther back in the blockchain transactions are, the more secured they are against this kind of attack. Realistically, an attacker would only be able to modify transactions within the past few blocks. They would also not be able to make new coins out of thin air - except those received as block mining rewards as usual.
It is an interesting concept because it is theoretically possible; the network is free and open, so if someone were to have enough computational power (which would cost a huge amount by itself), there is no bitcoin authority to stop them from doing so. In the event that such an attack successfully takes place, it is likely confidence in the currency would be lost and it’s value as a currency would decline rapidly. "
Good info here too.
https://bitcointalk.org/index.php?topic=52388.0;all