A brief note on digital currency and blockchain: what a digital currency is, the four parts of a block, hashes, why a change breaks the chain, and how a network of copies tracks payments, with questions to check yourself.
A brief note on Digital Currency and Blockchain. Try each question before you open its answer.
The key ideas
A digital currency only exists electronically. It is a record of who owns how much.
It is used to pay for goods and services and to send money to people, through a device and often a digital wallet.
Every payment is a record in a ledger.
A blockchain is a digital ledger: a time-stamped series of records that cannot be altered.
One block
Each block holds:
its data (the payments);
a time-stamp (when it was made);
the hash of the previous block;
its own hash, worked out from all of the above.
A tiny change in the data gives a completely different hash. If block k of n is changed, the next block no longer fits, and n−k+1 blocks would need new hashes to hide it.
How payments are tracked
The payment is sent to a network of computers.
They check it is valid.
It goes into a new block with a time-stamp and the previous hash.
The block is added to the chain and every copy is updated.
It stays there, so the units can be tracked back through earlier payments.
A change would have to be made on more than half of the copies, and many blockchains make each block slow to add on purpose.
Practice with new numbers
A program to try
The program builds a chain of three blocks with real hashes, changes the middle one and checks every link.
Mistakes to avoid
A hash is not encryption. It cannot be turned back into the data.
Half is not enough. More than half of the copies must agree.
A block stores the previous hash, not the next one.
Check yourself
What does it mean that a digital currency only exists electronically?
Which part of a block links it to the block before?
Why can a blockchain be trusted with no bank in charge?
Sources
Cambridge International, IGCSE Computer Science 0478 syllabus for 2026, 2027 and 2028, section 5.2 (digital currency).