Introduction to cryptocurrency

Lesson 2 of 6

Lessons completed: 0 of 6 (0%)

How does a blockchain work?

A blockchain is a shared ledger. The network adds bundles of records one after another, and each new block is tied to the previous one.

6-8 minutes

How does a blockchain work?

What a blockchain is

A block is a bundle of accepted records. A blockchain is those bundles in order. Each new block carries a link to the one before it, so the order is part of the record.

Many participants keep a copy. There is no single notebook that one office can quietly rewrite.

How a record gets into a block

Someone asks the network to move units from one address to another. That request is a transaction. Other participants check that the address has the units and that the signature fits.

Checked transactions are gathered into a block. When the network accepts the block, the record joins the chain.

  1. A wallet builds a transaction: from, to, amount and a signature.
  2. The request spreads to participants of the network.
  3. They check the signature and whether the units are available.
  4. A valid request is included in a new block.
  5. The block is added to the chain and later blocks sit on top of it.

What confirmations are

A confirmation is a later block built on top of the block that holds your transaction. One confirmation means the record is in an accepted block. More confirmations mean more blocks have been added after it.

A confirmation is not a promise from a bank and it does not freeze the price.

Why an old record is hard to change

To rewrite an old block, someone would also have to rebuild every block after it, and do it faster than the rest of the network, which keeps its own copies.

That is why a confirmed transfer is usually treated as final. Support cannot open the chain and erase a line.

What decentralisation means

Decentralisation here means there is no single cashier whose permission the transfer needs. It does not mean that nobody can build a large share of the network, and it does not mean that every service on top of the network is outside anyone's control.

Networks agree in different ways

Bitcoin, Ethereum and other networks have their own rules for which block to accept. Some spend computing work. Others choose validators by a stake. The lesson does not rank those rules.

A transfer accepted on one network is not a transfer on another. The chains do not share one ledger.

Remember

  • A blockchain is a chain of blocks, and each one is tied to the previous one.
  • A transaction becomes part of the ledger after it is checked and included in a block.
  • Confirmations are new blocks on top of your record.
  • Different blockchains agree in different ways about which block to accept.

Check yourself

1. Why is a blockchain called a chain of blocks?
2. What does this lesson call a transaction?
3. What does a confirmation give you?
4. Do all blockchains check operations the same way?