News arrives in time
Miner 1 finds B. If miner 2 hears about B before finding C, C can reference B.
Understand
Kaspa keeps blocks that honest miners find at the same time. Start with two miners, delay the news between them, then see why both blocks can stay while a double spend cannot.
Miner 2 found C before hearing about B. Both blocks build on A.
Arrows reference earlier blocks.Select A, B, C, or D in the scene to see its references.
Found B at 100 ms.
Found C without knowing B.
An illustrative two-miner model. Discoveries stay fixed at 100 and 400 ms. The same delay applies both ways. Packet positions show elapsed delivery, not physical distance.
Delivery occurs before discovery at an exact tie. Real mining is random. D is a possible later block, not a timed discovery. This example calculates neither GHOSTDAG nor confirmation confidence.
| Time | Event |
|---|---|
| 0 ms | Both miners know A. |
| 100 ms | Miner 1 finds B, referencing A. |
| 400 ms | Miner 2 finds C, referencing A. |
| 600 ms | Miner 2 receives B. |
| 900 ms | Miner 1 receives C. |
Miner 1 finds B. If miner 2 hears about B before finding C, C can reference B.
Miner 2 finds C without knowing B. Both blocks reference A. They are parallel, even though both miners followed the rules.
Once a miner receives both branches, a later block can reference both. A chain selects a branch; Kaspa represents parallel work in a blockDAG.
GHOSTDAG chooses the parent with the greatest accumulated blue work, with hash tie-breaks. It classifies newly joined blocks using the parameter k: the blue set permits a bounded number of mutually unrelated blocks.
Blue and red are graph classifications, not labels for honest and dishonest miners. The implementation orders each merge set from its selected parent, then merges the other blocks by blue work and hash. Arrival order is not the ordering rule.
GHOSTDAG paper · Parent selection and classification · Merge-set ordering
A miner prepares a candidate block. Its contents are committed through the block header used in the work calculation.
The miner tries work calculations until it finds a result that satisfies the target. Changing the committed contents requires searching against a different header.
Nodes verify the work and the consensus rules. Frequent discoveries let work accumulate over short intervals. They sample hashpower, not a count of independent people.
Parallel blocks let the network represent contributions that arrive before miners have heard from one another. They do not remove communication delay or make each discovery a complete round of agreement. GHOSTDAG paper
Once blocks are ordered, nodes still check each transaction against the ledger.
The ordering is chosen here to expose the consequence. It is not a GHOSTDAG calculation. Fees are omitted from this conservation example.
This sequence has no clock or confirmation count. Inclusion, acceptance, and a recipient’s confidence are different things.
A transaction appears inside a block. This alone does not establish that it was accepted.
The transaction is accepted in the current agreed history. Applications must still handle changes near the tips.
Additional honest work makes replacing history more demanding under the security assumptions. The recipient chooses a policy appropriate to the payment.
Mainnet targets ten blocks per second. A 100-millisecond interval is neither guaranteed transaction inclusion nor a finality promise. Transaction mass, validation cost, bandwidth, and demand limit what the network can process.
Parallel blocks do not provide free throughput. Nodes still have to receive, validate, store, and order the work.