What is Bitcoin?
Elvis Shera
Engineer | Author ??| Entrepreneur | Podcaster ???| Investor | nstr ?? npub1cma40xhmfev5j329nvwqg6rz740yaqy57sw60cdmj7m88m90s7cq3cvj09
Dear BitcoinInternational readers,
In this third publication, we will enter the world of Bitcoin. If you haven't read the first and second episodes yet, I recommend that you read them before continuing.
You have probably heard about Bitcoin in the news, on social media, or through friends. But what exactly is it? Continue reading and I am convinced that you will understand it.
What is Bitcoin at its core?
Bitcoin is a digital currency, transferable from individual to individual without the need for third parties (banks). When the coin changes ownership through a transaction, everyone can see the transaction in a public ledger without needing to know who made it. This is the essence of Bitcoin.
But... not so fast. To understand the digital currency, we need to understand the structure on which is based. This structure consists of different parts, and we will look at each of these parts. Let's start with the blockchain.
What is a Blockchain?
In a nutshell, a "blockchain" is a publicly readable, distributed, digital, and secure ledger. Let's clarify the terms used here:
The ledger consists of blocks where each block contains a number of transactions. When the block with new transfers is considered valid, it is added to the other blocks in the register in chronological order, thus forming a chain of blocks. Every block that ends up in the blockchain is immutable.
Up to this point, we can say that a distributed and public ledger like the "blockchain" is a common concept. The rest of our structure is known by the name mempool.
What is a Mempool?
"Mempool", an abbreviation for "memory pool", is an area in the Bitcoin network where all new transfers created by users but not yet included in the ledger are held. So, it's better to think of the mempool as a waiting room for transfers.
When you send Bitcoin to someone, your transfer initially goes to the mempool (the waiting room). There, it waits until someone selects your transfer to be included in a new block. A block that will be added to the ledger. The selection process depends on the fee you pay for the transfer. Every user who creates a transfer also adds a fee to make the transfer. Transfers with higher fees are usually selected faster to be included in new blocks and become part of the ledger (blockchain).
So, the mempool acts as a waiting area where your transfers remain until it's their turn to be processed in the Bitcoin network. Now, after seeing what the blockchain and mempool are, we need to look at the process of block creation.
How does a new Block comes in existence?
As we showed, every time someone sends Bitcoin, the transfer goes to the mempool. In this part, we will describe the journey your transfer makes from the mempool (the waiting room) to the blockchain.
This process is the foundation of Bitcoin's security and decentralization, and no central authority controls the network.
What is a transaction?
A Bitcoin transaction is a process through which Bitcoin is transferred from one wallet to another. When someone sends Bitcoin, they are essentially signing (digitally) the ownership of their digital coin to the recipient.
A Bitcoin transfer involves several key elements to ensure the secure transfer of value on the Bitcoin network. The elements of a Bitcoin transfer are:
Naturally, a real transfer contains more information, but the elements mentioned are sufficient for this publication.
What is the mathematical puzzle to be solved?
The mathematical puzzle or problem that a miner must solve is such that the work to solve it is very difficult, but once the solution is found, it is easy for everyone else to verify that it is indeed the solution to the puzzle. Let's understand it with an example: Imagine that the key to open a door has been thrown into a field of grass and flowers. Finding the key is difficult because it would require a lot of searching. On the other hand, verifying that this key opens the door is easy, you just need to insert the key into the lock and you can immediately see whether it opens the door or not.
领英推荐
How much time it takes to create a new block?
The Bitcoin protocol stipulates that a new block should be created approximately every 10 minutes. To maintain this rate, the protocol continuously monitors, over two weeks, how long it takes on average to create a new block. If the average time to create a new block is less than 10 minutes, the difficulty of solving the puzzle is increased; if it is greater, the difficulty is decreased. Following the example of the key above, one way to speed up the finding of the key in the field of grass and flowers is to increase the number of people searching. This means in the real situation of Bitcoin that more computers are engaged in solving the mathematical problem.
In this scenario, the protocol would notice that the time to find the key has decreased and, in response, would throw more keys into the field where the new problem is to find all the keys. Now, even though we engage more people, the protocol made the task harder by throwing more keys into the field. At another point, where finding takes more than 10 minutes, the protocol starts removing keys one by one. Thus, it simplifies the finding by now requiring the discovery of a smaller number of keys.
Miners Reward?
As a reward for the work and energy expended during mining, the miner who creates the new block and solves the mathematical puzzle receives a certain amount of Bitcoin, known as the "block reward." This is how new Bitcoins are created in the network. But how does it work in practice?
At the moment of forming the block, the miner creates a special transfer (known as a “coinbase” transaction) with a value of 6.25 Bitcoin and adds it to the block. With this transfer, the miner pays themselves at the moment they solve the puzzle of the block they have created.
The Winner takes it all.
In this game, miners are competing against each other to solve the next block. At any given time, there are many blocks being created in parallel by different miners. Only one of the miners will be the first. All others will not receive any reward, consuming a large amount of electrical energy. Once the solution for the block is found by a miner, the reward does not end with 6.25 Bitcoin. The miner also collects all the fees that have been paid in all the transactions contained in the block. This is why, when forming the block, the miner chooses to collect those transactions that pay a higher fee. To give an idea, at the time of publishing this article, the total value of the fees is somewhere around 2 - 3 Bitcoin, which brings the miner's total reward to almost 9 Bitcoin.
Summary of a Cycle
From what we've read so far, the cycle of transactions can be summarized in the following sequence:
What are the security mechanisms in place?
Having understood how the Bitcoin system works, we should dedicate a paragraph to the very important aspect of security, or rather, how the security of the ledger is guaranteed. This security exists at the levels of transactions, blocks, and the ledger itself.
What is a HASH function?
A hash function is an algorithm that takes data of any size and produces a fixed and unique value or sequence of numbers, called a "hash." This is like a "digital stamp" for the data or like taking the fingerprint of a document. Whether you have a short sentence or an entire book, the result of the hash function will always be a string of a certain length. For example, the hash256 function (used in the Bitcoin protocol) will always produce a number with 256 binary digits that represent the digital signature of a block. Some of the key characteristics of hash functions are:
How secure is hash256
A 256-bit binary number, which is comprised entirely of 256 ones and zeros, translates into an extraordinarily vast number when converted into a decimal base, roughly equivalent to 10771077 - a number followed by 77 zeros. To put the enormity of such a number into perspective, consider the following comparisons:
These examples serve to illustrate that a 256-bit number represents a value that is vastly beyond everyday amounts, astronomical figures, and even the conceptual numbers used in science and mathematics, emphasizing its immense size and complexity. Thus, breaching the security safeguarded by a 256-bit binary number is nearly impossible.
Who is Satoshi Nakamoto?
It was inevitable not to talk about Satoshi. Satoshi Nakamoto is the pseudonym of the individual or group of individuals who created Bitcoin, the first digital and decentralized currency, and developed its underlying technology, the blockchain. For more information, you can refer to the first publication of Bitcoin.→ Bitcoin Whitepaper. The true identity of Satoshi remains a great mystery since the publication of his paper, "Bitcoin: A Peer-to-Peer Electronic Cash System," in 2008. This document outlined the fundamental principles of Bitcoin and how it would operate. Nakamoto was active in the development of Bitcoin until 2010, when he withdrew from the project and left its direction to others in the developer community. Since then, much speculation has been made about his identity, but none has ever been confirmed. His trace less withdrawal is one of the reasons for Bitcoin's success. We can say that Satoshi has left something of value to all humanity.
Conclusions
In this article, we explained what Bitcoin is and how it is transferred. We also observed the process of mining new Bitcoins and aspects of security and verification. The explanations and various examples we used help convey knowledge without the need to delve into the details of computer science and mathematics. We conclude the article by reiterating why Bitcoin is special:
Support the Newsletter
If you like the article, give it a like because it helps with the distribution algorithm. Also, you can help by sharing it on your networks so that we can educate more people. The article can be found at elvissheraeng.substack.com on Substack where I also publish other articles on investments along with other community initiatives.