This course was designed for developers with no prior blockchain experience, so we’ll start right at the beginning by answering the question, what problem was the first blockchain, Bitcoin, built to solve?
The quick answer here is the Double-Spend Problem or the Byzantine Generals Problem, which we’ll discuss more below.
We think of Bitcoin and cryptocurrency as a rather new technology, and it is, but the vision of cash for the Internet is nearly as old as the Internet.
When HTTP error codes were being created, code 402 Payment Required, was held for future use.
Subsequently, there were many digital currency experiments prior to Bitcoin. Here’s a list of some fairly successful ones:
DigiCash was founded by cryptographer David Chaum in 1989. The company developed a number of privacy protecting cryptographic protocols and saw some success with the companies product eCash which was trialed by two Australian banks in the ’90s.
Other notable projects include E-Gold, Liberty Reserve , and Gold Money. Most of these systems sought to instill confidence by owning gold to back their currency and give it value. These currencies were essentially online tokens representing gold owned by the company.
While these systems worked, they had a serious drawback that was lamented by many in the digital currency community, they were centralized services. This centralization ran counter to the peer-to-peer dream of many digital pioneers, like the renowned “cypherpunks,” introducing security and privacy risks. However, this centralization existed for one very good reason, the Double-Spend Problem.
Digital goods are very easy to copy. As in copy/paste easy to copy.
When you have a string of data that represents a digital coin, you can use cryptography to prove origin, but you can’t prevent duplication.
For example, let’s imagine that Alice has only one coin and yet she owes both Bob and Charlie one coin each. Alice can attempt to pay both of them using the same coin. She can take her coin, cryptographically sign it to prove that it is hers and then send it along to Bob. However, she can them take that same string of data that represents her coin, sign it again and send it along to Charlie. She is spending the same coin twice (double spending), and it’s not hard to see how this leads very quickly to massive inflation and destroys the currency.
A central server can be used to prevent double spends–but is there another way?
In the server-client model, payments can’t go directly from Alice to Bob, instead they first need to go through the central server which does the work of debiting Alice’s account and crediting Bob’s account.
Many digital currency pioneers worked hard on solutions to this technological centralization issue and created federated systems, etc. But the peer-to-peer dream wasn’t realized until the development of Bitcoin, which solved the pesky problem of digital uniqueness.
The Bitcoin Whitepaper was published by Satoshi Nakamoto in October 2008. Although not directly called so in the paper, this was the invention of what we now call the Blockchain.
The whitepaper should certainly be read by anyone looking to understand this technology and its origins. But to summarized, Satoshi wanted to replace the centralized server with a peer-to-peer network which would then do the work of keeping track of who has what and when.
In the computer science world, this phrase refers to the possibility of having to cope with the failure of some of the components in the system.
This term is used frequently in the blockchain world as it refers to the problem of reaching consensus in an open system where not all parties can be assumed to be trustworthy.
The dream for this network is that is would be open to anyone. This brings us to the question of how do you coordinate data with people, around the world, who you don’t know or trust?