← Back to overview

BlockDAG: blocks in parallel

4 min

In a classic blockchain, blocks form a single file: only one block can follow the previous one.

The problem of simultaneous blocks

If the network is fast, two miners may find a block at the very same moment. In a chain, one must be chosen: the other is discarded, like a lost parcel. The miner’s work is wasted. To avoid this, classic blockchains must slow down (for example one block every 10 minutes on Bitcoin).

Kaspa’s idea: the BlockDAG

A DAG (directed acyclic graph) is a network of blocks where each new block can build on several previous blocks at once. Simultaneous blocks are no longer rivals: they are all kept, and each one confirms those before it.

A protocol called GHOSTDAG then puts all these blocks in one common order, so everyone agrees on “who paid what, and in which order”.

Try it yourself

Change the number of blocks created at the same time. Notice: the classic chain loses blocks, the BlockDAG keeps them all.

Remember: thanks to the BlockDAG, Kaspa can produce many blocks per second without wasting miners’ work.

Quick quiz

What happens to a simultaneous block in a classic blockchain?

What does DAG stand for?

What is GHOSTDAG for?

Next lesson → Mining explained simply