SimpleCrypto

The Bitcoin Blockchain

The Bitcoin Blockchain

Bitcoin is a decentralized digital monetary system that operates without a bank or central authority. The system relies on a technology called blockchain.

Blockchain is a public ledger where all transactions made on the network are recorded.

Who runs the network

The network is run by nodes—computers running the Bitcoin software that keep a full copy of the blockchain.

A node is a computer that checks that the rules are being followed.

The rules themselves are called the Bitcoin protocol.

A protocol is a set of rules defining how the network operates.

How a transaction is created

When a person sends Bitcoin to someone else, a digital transaction is created.

The transaction is signed with a cryptographic signature, which serves as mathematical proof of ownership.

The transaction is then broadcast to the network and enters the mempool, a place where transactions wait to be included in a block.

The mempool is a waiting pool for transactions.

What is a block

A block is a batch of transactions.

Every block contains the following:

A list of transactions A Merkle Root, which is a single fingerprint representing all transactions together A Previous Block Hash, which is the fingerprint of the preceding block A Timestamp, indicating when the block was created A Target, representing the difficulty level A Nonce, which is a trial number

What is a hash

A hash is a digital fingerprint.

It is the output of a mathematical function that takes data and returns a fixed 256-bit number.

256 bits means a number consisting of 256 binary digits—zeros or ones.

A tiny change in the data results in a completely different output.

What is a Merkle Root

A Merkle Root is a single hash representing all the transactions in a block.

Each transaction is hashed.

Pairs of hashes are combined, and a new hash is calculated for them.

This process continues until only one hash remains.

If you change even a single transaction, the Merkle Root changes completely.

Who creates blocks

Miners are computers trying to create a new block.

They pick transactions from the mempool and build a block.

Then, they try to find a hash that meets the difficulty target.

What is the Target

The Target is a threshold number.

The rule is: the block's hash must be smaller than the Target.

A smaller hash means a smaller binary number.

The smaller the Target, the harder it is to find a hash that meets the condition.

The Target adjusts every 2,016 blocks to maintain an average block time of ten minutes.

What is a Nonce

A Nonce is a 32-bit number that the miner changes repeatedly.

Every change to the Nonce produces a completely new hash.

The miner increments the number again and again until, by chance, a hash smaller than the Target is obtained.

It's a probabilistic process, like a mathematical roulette wheel.

How a block is accepted

When a miner finds a hash smaller than the Target, they broadcast the block to the network.

Nodes verify that the hash is indeed smaller than the Target and that all transactions are valid.

If everything is valid, the block is added to the chain.

The hash found becomes the fingerprint of the block.

The next block will store it as its Previous Block Hash.

This is how a chain of blocks is formed.

Why it's hard to change history

If someone tries to alter a transaction in an old block, the Merkle Root changes.

As a result, that block's hash changes.

Then, all subsequent blocks no longer match.

To fix this, you would have to recalculate all following blocks and outpace all other miners in the world.

This makes the system extremely resistant to retroactively altering data.

What is decentralization

Decentralization means that no single entity controls the network.

Thousands of nodes verify every block.

If a block doesn't follow the rules, it is automatically rejected.

How long does it take to create a block

On average, a new block is created every ten minutes. The time isn't strictly fixed, but the system is designed so that the average block time is ten minutes.

Every 2,016 blocks, the network adjusts the difficulty level to maintain this pace.

How many transactions are in each block

Each block usually contains between 2,000 and 3,500 transactions.

The number varies depending on transaction size.

The average throughput is about five to seven transactions per second.

Layer 2

Layer 2 is a secondary framework operating on top of the main blockchain to enable higher transaction volume and speed.

Bitcoin's main network is limited to five to seven transactions per second.

To enable scaling, a system called the Lightning Network was developed.

The Lightning Network allows transactions to occur off the main blockchain.

Two parties open a payment channel using a single transaction on the blockchain.

From then on, they can conduct numerous instant transactions between themselves without recording each one on the main blockchain.

When they close the channel, only the final balance is recorded on the blockchain.

This reduces congestion on the main network while preserving the security of Layer 1.

Bitcoin as digital gold

Due to the ten-minute block creation constraint and the capacity limit of just a few thousand transactions per block, Bitcoin's main network is not built to handle transaction volumes at the scale of a global daily payments system.

A capacity of roughly five to seven transactions per second is significantly lower than that of modern global payment processors.

That is why many view Bitcoin primarily as a store of value—akin to digital gold.

Gold isn't used for everyday payments in stores; rather, it serves as a long-term store of value.

Similarly, Bitcoin is seen as a store of value resistant to censorship and unlimited money printing, rather than a fast base-layer payment network.

Additional layers can enable faster payments, but the underlying base network itself is built first and foremost for security and stability, not transaction speed.