BlockDAG & GHOSTDAG

BlockDAG vs. Blockchain

In a traditional blockchain, blocks form a single chain. When two miners find a block at roughly the same time, only one block is accepted — the other becomes an orphan, and the work that produced it is wasted. This limits how fast blocks can be produced: increase the block rate, and orphan rates climb, weakening security.

Kaspa solves this with a BlockDAG (Block Directed Acyclic Graph). Instead of a single chain, blocks can reference multiple parent blocks. Every honestly mined block is incorporated into the DAG — there are no orphans.

This structure allows Kaspa to produce blocks at extremely high rates (10 per second) without the orphan problem that would cripple a traditional blockchain at those speeds.

The GHOSTDAG Protocol

GHOSTDAG is the consensus protocol that makes the BlockDAG work. It is a scalable generalization of Bitcoin’s Nakamoto Consensus, developed from the earlier PHANTOM protocol.

GHOSTDAG works by:

  1. Identifying a k-cluster — a set of well-connected blocks that were likely mined by honest nodes
  2. Ordering blocks within the DAG into a consistent sequence that all nodes agree on
  3. Distinguishing honest blocks from attacker blocks based on connectivity patterns

The key insight is that honest miners, who follow the protocol and reference recent blocks, will naturally form a tightly connected cluster. Blocks from attackers (who withhold blocks to attempt double-spends) will be poorly connected to this cluster and can be identified.

The k Parameter

The parameter k determines the size of the cluster that GHOSTDAG considers “well-connected.” A higher k value accommodates higher block rates (where more blocks are naturally produced in parallel) while maintaining security.

Post-Crescendo, Kaspa uses k = 124, which supports 10 blocks per second with strong security guarantees.

Why It Matters

The BlockDAG + GHOSTDAG combination gives Kaspa a unique position:

  • No wasted work — every miner’s blocks count, improving fairness
  • High throughput — 10 blocks per second without security tradeoffs
  • Fast confirmations — ~1 second to first confirmation
  • Bitcoin-grade security — the same proof-of-work security model, generalized to a DAG