What Is Bitcoin?
2023-04-21 #blockchain, #crypto, #bitcoin, 2347 Words 9 Mins

In this post, I aim to explain what Bitcoin and blockchain are. Although cryptocurrency is no longer a new topic, I feel the need to discuss it because a friend recently shared a YouTube video from a well-known influencer who advocates Web3 and refers to it as the greatest invention. While I hold a different opinion, I want to focus on what Bitcoin is and how it functions. I may write additional posts on this subject, including one on Ethereum, the second-generation blockchain and share my personal views on them.

I first heard about Bitcoin and attempted to mine it before many other crypto investors. This goes back to 2011 when I was still in school. A lab mate introduced me to it, and we ran a Bitcoin mining program on the lab computer overnight. The following day, we returned to find some unfamiliar digits on the screen. We were unable to comprehend what it meant and grew bored, ending our mining activity. My comprehension of digital currency was then rudimentary, and I struggled to comprehend how it could avoid unchecked duplication without a central issuer. Despite my curiosity, I lacked the drive to investigate further.

In 2013, I vividly remember my surprise when the price of Bitcoin surged to $130. This prompted me to investigate why it was worth so much, and I spent that night reading the white paper. I was completely astonished by the author's ability to establish order in what appeared to be a disorderly system and create a foolproof system that prevented loopholes and tolerated misbehavior. For about a year, I was captivated by blockchain and read extensively on the subject. However, ultimately, I concluded that while blockchain was innovative and introduced me to the concept of distributed computing, the $130 price point was still too high for what it offered. As a result, I never invested in cryptocurrency. In hindsight, some may argue that I missed out on a great opportunity. However, I do not believe that my judgment was incorrect. The market is far from rational, and I was not bold enough to participate in the greater fool's game.

Due to my enthusiasm for blockchain, many individuals have approached me seeking an explanation of its inner workings. As most of them lacked a technical background, I endeavored to convey the information in a simplified manner. The more I did this, the clearer my own understanding became. Therefore, I wish to document my method of explanation in the hope that it will benefit others who are curious about blockchain.

Before diving into the topic of Bitcoin, it is crucial to understand the essence of money. Intuitively, we often associate money with valuable objects, assuming that the value of money is inherently contained in the objects themselves. The image of golden coins is deeply ingrained in our minds, leading us to believe that these coins are valuable solely due to their gold content. However, this practice changed several hundred years ago when people began using paper money.

Have you ever pondered why a $100 bill holds so much purchasing power despite being made primarily of paper, which is not nearly as valuable? It is interesting to note that everyone believes that paper currency holds significant buying power. This is a widely accepted notion among trading partners, who see the exchange of goods for paper money as a mutually beneficial trade.

Money is simply a tool for documenting value, and its inherent worth is not connected to the material it is made of. A $1 coin and a $1 bill hold the same value, regardless of their composition. Historically, people used valuable objects as money because they ensured the authenticity of the document. If money is too easy to obtain, it becomes too simple to fabricate.

For instance, let's consider a situation where you and I are the only two individuals on the planet. We don't require money to exchange goods, and we can practice barter. Let's say I repaired your roof and expect 10 eggs in return. There is no currency involved in the process. The problem arises when I am unable to consume the eggs promptly, and they begin to spoil, causing me to incur a loss. In this case, I would prefer it if you paid me gradually, one egg at a time. We can document the transaction in a notebook, and you can cross off an egg every time you give one to me.

However, updating the document can become tedious if we have to do this frequently. A solution to this is to write notes with "owe one egg" in advance and provide me with ten of these notes as payment for the roof repair. When I need an egg, I return one note to you. You can confirm the note's authenticity by recognizing your handwriting, and these egg notes are essentially our currency.

The convenience of using "egg notes" as currency becomes even more apparent when more traders are involved. In this scenario, if I don't need eggs, I can use your notes to exchange for milk from someone else. They can then use the notes to trade for eggs with you, or pass them on to a fourth person in exchange for something else. Through this example, it becomes clear that the essence of money is simply a document representing value or effort. Interestingly, this concept is not new. In the US, we refer to paper money as bills, while in the UK it is called notes. Both terms refer to financial documents that are not so different from our "egg notes".

If we agree that money is a document for value, it doesn't have to be inherently valuable but it does have to be difficult to fabricate, what else could we use as money? Let's imagine we live in a small, undeveloped community on a barren island with no precious metals, natural resources, or even sea shells. Could we use stars as our currency? At first, this may sound absurd, but upon further examination, stars meet all the criteria for being money. They are scarce and impossible to fabricate.

Granted, we can't put stars in our pockets, but that doesn't matter as we can establish the concept of star ownership. When we trade, we are essentially exchanging star ownership. For example, let's assume I "own" the star Proxima Centauri. When I need to buy 10 eggs from you, I can transfer the ownership of the star to you. For a small community, this transfer process can be as simple as an announcement in the village or documenting it in a notebook. However, for a larger community, this could become inconvenient. In that case, we could consider issuing a star ownership certificate which essentially represents the ownership of the star and can be traded.

Although this idea may seem unusual, it has actually been put into practice before by the Yapese people living on the Yap islands in Micronesia. On the island, the locals carved large stone coins out of limestone, which were used as a form of currency. The ownership of these stones was established based on their history, as recorded in oral tradition, rather than their physical location. To transfer ownership, one would simply append the transfer to the oral history of the stone, thereby effecting a change in ownership.

The Yap stone money is a fascinating real-life analogy to cryptocurrency. In the world of Bitcoin, each participant maintains a notebook containing a record of all transactions since the beginning of Bitcoin. While this would be inefficient in real-life, cheap storage and fast internet make this feasible. The act of recording transactions, rather than just account balances, shares some roots with Double-entry bookkeeping, which is commonly used in accounting. This approach has several benefits, such as ensuring that all money added to an account comes from another account, preventing fraudulent activities that could lead to mismatched account balances. Moreover, recording all historical data enables tracking and makes the history data appendable but not mutable, leaving no room for forgery. However, the downside is that calculating an account's balance requires looking back at all historical transactions involving that account, which is too tedious to do in real-life, but not a big deal for computers.

In the world of Bitcoin, the ownership of Bitcoins does not involve physical possession of any object; rather, it is simply a number attached to an account. Unlike transactions in the real world, Bitcoin transactions are public, and all participants must be informed and asked to add the transaction to their ledgers. Due to the slow speed of the internet, participants cannot update their ledgers simultaneously, and the process can take some time. However, a threshold can be set, such as when more than 50% of the population has updated their ledgers, the transaction can be considered complete. It's important to note that participants will not blindly accept ledger updates. Instead, they will perform verifications to ensure that the transaction is legitimate and that you have sufficient funds in your account.

But the system relies on the assumption that all participants are trustworthy. However, if some users engage in misbehavior, the system can fail due to a loophole called double-spending. For instance, a user with only 5 Bitcoins in their account could initiate two simultaneous transactions of 5 Bitcoins to two different accounts. Since the user only has 5 Bitcoins, one of the two transactions should be invalid, but the decision of which one is invalid depends on the order in which the transactions are processed. The user could deliberately tell one group of users that transaction A occurred before transaction B, and tell another group the opposite, leading to a disagreement on the validity of the transactions. This disagreement could prevent the system from settling on the transactions, causing the collapse of the entire Bitcoin network.

In the real world, this problem could be solved by introducing a central authority or a judge. However, relying on a single point of failure could be risky since corruption or failure of the judge would result in the failure of the entire system. Another approach is to distribute the risk by dividing time into smaller segments, say, 10 minutes each. For each time segment, a different participant could be selected as the judge. This way, the risk of a judge failing during a short period of time is low. Moreover, judges have limited power and cannot engage in fraudulent activities since their only responsibility is to determine the order of transactions during their assigned time segment. They cannot change other people's transactions or create fake ones, as all transactions are cross-verified by everyone else. A fraudulent transaction would be easily detected by an algorithm and result in the loss of the judge's authority.

In order to select a judge fairly, the Bitcoin system uses a smart lottery system that ensures a wide distribution of judges. Each participant in the system races to draw a unique lucky number, which is guaranteed by computer algorithms to prevent forgery. The lucky number is different for each participant, making it impossible to copy others.

The first user to draw a lucky number within a 10-minute time frame becomes the judge for that period. They announce their lucky number to the world, and all other participants verify and acknowledge the judge's transaction proposals, and everyone writes them down on a new page of the ledger. Since the ledger is made up of interconnected blocks, it is commonly referred to as the blockchain.

To incentivize participation and ensure the system's security, the judge is awarded newly minted coins out of thin air. This is done by allowing the judge to add a transaction from nobody to their account with a fixed amount of money, called a mint transaction. Everyone who has independently verified the lucky number and the judge's transaction proposal acknowledges this mint transaction as legitimate.

This process of people racing to draw a lucky number and become a judge in order to earn rewards is known as Bitcoin mining. By making it difficult enough for two people to draw the same lucky number in the same 10-minute time frame, Bitcoin ensures a wide distribution of judges and creates a fair and secure system for generating new Bitcoins.

Before we wrap up our discussion on the Bitcoin blockchain, we need to address one more issue. While it's rare for two individuals to get a lucky number within a short time frame, it's not impossible. So, what happens if there are two judges at the same time? The world view regarding the transaction order will split, and there will be a momentary confusion as a portion of the network will believe one judge while the rest will believe the other.

However, this split isn't a big concern because it's unlikely to happen again in the next 10-minute time window. Eventually, one portion will find the next judge sooner than the other, and that portion will start a new round first. As a result, one blockchain will grow much longer than the other. The probability for both chains to grow at the same rate is very low, so we can consider it impossible. Therefore, the world view may be apart for a short time, but the situation won't last long. Soon, one view will become dominant because it develops faster than the other, and the slower branch can be safely abandoned. This is why settling a Bitcoin transaction may take some time to ensure that any issues like this can be resolved with time.

I hope you found my post easy to understand as I tried to simplify the concepts and draw connections to real-life examples. In my next post, I will dive deeper into some of the surrounding concepts and technical details, such as mining pools and microtransactions. Moreover, I will cover the inner workings of Ethereum and smart contracts. Lastly, I will share my personal view on blockchain and cryptocurrency and explain why I don't consider them to be worth investing in at current market prices.

Leave a Comment on Github