Skip to main content

What is a blockchain?

13 min · Free

A blockchain is a way to keep a shared record without giving one person sole control of it. This lesson explains distributed ledgers, blocks, hashes, and Bitcoin’s proof of work. It also covers what a transfer without a bank can do and why speed, energy, and irreversibility still matter.

Three blocks connected by previous-block hashesBlock 1H₁Block 2H₂Block 3H₃
Block 2 stores the hash H₁ of block 1, and block 3 stores H₂ from block 2. Editing block 1 changes H₁, so the reference in block 2 no longer matches.

The trust problem: a village ledger

Imagine a village with one book recording debts and payments. The person keeping it could alter a balance, lose the book, or prevent others from using it. Everyone depends on that one record and its keeper.

Now imagine 500 villagers with the same record. Under a simple majority rule, changing 250 copies would not establish a majority, while 251 would. This illustrates how shared rules reduce dependence on a keeper. Bitcoin itself does not count copies or identities as votes.

A bank keeps its private ledger under its own control. A public blockchain shares records and validation among independent participants. Hashes, mining, and wallets play different roles in maintaining or using the shared record.

  • A ledger controlled by one person creates a point of failure.
  • In the village example a majority of 500 requires 251 copies.
  • A bank is responsible for maintaining its own private ledger.
  • A public blockchain distributes the record across independent nodes.
  • Participants rely on common validation rules.

What makes a ledger distributed?

Independent computers called nodes keep or verify the transaction history. Full nodes validate the chain under the same rules. No particular copy is the official master. Even if many nodes go offline, others can keep validating and serving the record.

Public ledgers let people inspect transactions and addresses. An address is a pseudonym rather than a guarantee of anonymity: observing transaction patterns or combining them with other records can sometimes reveal who controls it.

Participants need not know who operates each node. They rely on shared rules for deciding what is valid. The 2008 financial crisis provides historical context for interest in systems that reduce dependence on trusted intermediaries.

  • Full nodes independently verify the ledger and may retain the full history.
  • Many independent copies keep the record available when individual nodes go offline.
  • Transactions are public; identities are pseudonymous.
  • Validation depends on shared rules rather than a single operator.

Blocks, chains, and hashes

A block is like a page containing a batch of transactions. Bitcoin targets one new block every ten minutes on average, or about 144 a day. Actual intervals and the number of transactions per block vary.

A cryptographic hash acts as a fingerprint for data. A tiny input change normally produces a completely different output. A block header refers to the hash of the preceding block, so each block commits to the history before it.

Editing an old block changes its hash, making the next block’s previous-hash reference fail. Producing an alternative valid history would require redoing the affected proof of work and catching up with the work accumulating on the accepted chain.

  • A block holds a group of transactions; Bitcoin targets about 144 blocks per day.
  • A hash is a digital fingerprint. A tiny edit changes it.
  • Each block refers to the previous block’s hash.
  • An old edit breaks later references and requires new proof of work to replace the history.
  • A block can carry hundreds of transactions or more, depending on their size.

Mining and consensus

Miners assemble candidate Bitcoin blocks and search for a header hash below the network target. A valid block can earn the block subsidy, which has been 3.125 BTC since the 2024 halving, and fees paid by the included transactions.

Full nodes independently check signatures, whether coins have already been spent, issuance, and the other consensus rules. Nodes accept valid blocks and select the valid chain with the most accumulated proof of work. Mining attaches a real energy cost to proposing blocks.

A block that violates the rules is rejected even if energy was spent producing it. A majority of hash power can increase the ability to reorganise valid history or censor transactions. It does not let an attacker spend other people’s coins without their keys. Acquiring and sustaining that much power is expensive.

  • Miners expend energy searching for a valid proof of work.
  • The 2024 subsidy is 3.125 BTC per block, plus transaction fees.
  • Nodes enforce the rules and follow the valid chain with the most work.
  • Proof of work makes history costly to replace.
  • A majority-hash-power attack concerns mining power, not the number of ledger copies.

Transferring an asset without a bank

Public blockchains operate outside normal bank hours. A user can sign a transfer on a weekend, and network participants can include it in a block. Fees, local rules, and confirmation requirements still matter.

At a hypothetical price of $80,000 per BTC, sending 0.5 BTC transfers $40,000 of value at that price. It can receive several confirmations in around an hour under normal conditions, but congestion, fee selection, and variable mining intervals can make it longer. International bank transfers can take one to five business days and may involve currency-conversion costs.

Controlling your own keys gives you authority over transfers and responsibility for backups and security. A compromised key can compromise the funds. The wallet and security lessons cover those safeguards.

  • A blockchain transfer can be submitted without a bank as the intermediary.
  • Networks run outside bank hours, including nights and weekends.
  • At $80,000 per BTC, 0.5 BTC represents $40,000.
  • Settlement times and fees vary across both banking and blockchain networks.
  • Self-custody means keeping the private key and backup secure.

Limits: throughput, energy, and irreversible transfers

Bitcoin’s base layer is often described as handling about seven transactions per second, although throughput depends on transaction size. Large card networks can process thousands per second. At busy times pending transactions accumulate and fees can rise.

Proof of work uses electricity. The source uses roughly 100–150 terawatt-hours per year as an illustrative range for Bitcoin; annual estimates vary. Other consensus systems aim to use less energy and have different trade-offs.

A confirmed transfer to an address you do not control cannot normally be cancelled by calling customer support. The recipient may voluntarily return the funds, but the chain offers no reversal button. Verify the address and network before signing.

  • Bitcoin’s base-layer throughput is limited compared with large card networks.
  • Congestion can raise fees and delay confirmation.
  • Proof of work consumes energy. Estimates change over time.
  • A transfer to the wrong destination can be irrecoverable.
  • Removing a central operator comes with trade-offs in speed and user responsibility.

Key points

  • A blockchain shares a transaction record among independent nodes without a single master copy.
  • Bitcoin targets one block every ten minutes. Each block links to the previous block by hash.
  • Miners do proof of work. Under the subsidy era beginning in 2024, a block pays 3.125 BTC plus fees.
  • Nodes validate independently. Replacing history requires redoing work while the network continues building.
  • At $80,000 per BTC, 0.5 BTC is worth $40,000. Confirmation times vary.
  • The trade-offs include limited throughput, energy use, and transfers that are normally irreversible.
  • A simple majority-of-copies example illustrates the ledger concept. Bitcoin follows the valid chain with the most work.

Lesson quiz

Sign in to enroll and save progress.