Book Image

Learning Bitcoin

Book Image

Learning Bitcoin

Overview of this book

Table of Contents (16 chapters)
Learning Bitcoin
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Network attacks


The Bitcoin network is protected by the consensus of the network. Valid transactions and changes to the software must be accepted by the majority of the miners on the network. Let's discuss the attacks that could occur:

51 percent attacks

It is theoretically possible for a large amount of computing power to overtake the network and accept double spending or prevent confirmations. This is called the 51 percent attack.

Although theoretically possible, the opposing argument to the attack notes the amount of computing power needed to perform the attack. Some argue that it is not financially feasible to execute the attack as the network could quickly reject the malicious blocks. It would be difficult for a large pool of nodes to produce a segment of the blockchain of more than six blocks in a row with a corrupt transaction.

Race attacks

A malicious spender could try to double spend by broadcasting two transactions to the network at the same time. Given that the merchant would accept...