Back to the start
Five ideas. Start wherever you like.

DAGKnight

DAGKnight - what happens when the network itself is sometimes fast and sometimes slow?

Computers on a network do not always communicate at the same speed.

Sometimes a new block reaches other computers almost immediately.

At other times, distance, congestion, or slower communication means it takes longer to arrive.

During that time, other miners may already create more blocks.

So network conditions keep changing.

GHOSTDAG already knows how to handle blocks created in parallel

Kaspa does not require the whole world to hear about one block before the next block can be created.

If several blocks are created before information about them reaches everyone, they can stay inside the BlockDAG.

GHOSTDAG then orders them so Nodes can reach the same history.

But GHOSTDAG works with a boundary chosen in advance for how much parallel work the network is expected to experience.

In simple terms:

some of its safety conditions are selected ahead of time.

But the internet does not always behave the same way

Imagine that information is moving very quickly today.

Most miners hear about a new block before they have time to create another one.

Relatively little work is created in parallel.

Now imagine communication becomes slower.

More miners can create blocks before hearing about the blocks created by others.

More work appears in parallel.

These are two different conditions on the same network.

DAGKnight aims to make consensus more flexible

Instead of assuming that communication conditions are always similar, DAGKnight is designed to use what the BlockDAG itself shows about what is happening on the network.

When information moves quickly, the graph reflects that.

When information moves more slowly, more work appears in parallel - and the graph reflects that too.

The idea is:

do not force the network to always operate under the same timing assumption.

Instead:

let confidence build according to the conditions the network is actually experiencing.

A simple example

Imagine blocks are moving very quickly between miners.

Most miners hear about a new block before they have time to create another one.

There is relatively little parallel work.

In that situation, confidence can build faster.

Now imagine communication is slower.

More miners create blocks before hearing about the others.

More blocks appear in parallel.

In that situation, it makes sense to collect more information before reaching the same level of confidence.

Illustration: with less parallel work, confidence may build faster; with more parallel work, more information may be needed. These bars are not measurements.

DAGKnight does not simply "make Kaspa faster"

This distinction matters.

DAGKnight is not simply saying:

"Let's create even more blocks."

It is addressing a different question:

How quickly can we be confident that the network has reached a good agreement about what happened?

The goal is for transaction confidence to respond to actual conditions.

When communication is good, confidence can build faster.

When communication is slower, the network can use more time and information.

Why is that interesting?

A decentralized network cannot assume that every computer always receives information at the same moment.

One very conservative solution would be:

always wait long enough for slow network conditions.

But then even when the network is working very well, everyone still waits as if communication were slow.

DAGKnight aims to be more flexible:

respond to the conditions the network is actually experiencing.

Instead of choosing one waiting assumption for every situation.

How does this relate to GHOSTDAG?

DAGKnight does not start from scratch.

It continues the same basic Kaspa idea:

keep blocks created in parallel, understand their relationships, and reach agreement on the history.

GHOSTDAG does this using conditions and boundaries chosen in advance.

DAGKnight is designed to take the idea one step further and make consensus more responsive to actual network conditions.

What does this look like in numbers we can actually feel?

Bitcoin

Bitcoin targets a new block about every 10 minutes.

That relatively large gap gives information plenty of time to spread through the network before the next block is usually found.

Kaspa today

Kaspa targets 10 blocks per second - about one new block every 0.1 seconds.

At that rate, the network clearly cannot wait for every block to reach everyone before the next one is created.

Today's GHOSTDAG parameters are designed to account for communication delays on the order of several seconds. In the current 10 BPS configuration, the calculation behind the parallelism bound uses a delay assumption of about 5 seconds.

An important clarification:

Five seconds is not "Kaspa's confirmation time."

It is a design allowance used by GHOSTDAG to safely handle blocks that may be created in parallel while information is still spreading.

What is DAGKnight intended to improve?

DAGKnight is designed so confidence does not have to be built around the same fixed timing assumption in every situation.

If information is moving quickly at that moment, the protocol can take advantage of those better conditions and confidence can build faster.

If communication is slower, confidence can build more cautiously while more information accumulates.

In simple terms:

Bitcoin: about 10 minutes between blocks.

Kaspa today: about 0.1 seconds between blocks, while GHOSTDAG is designed around network delays that may last several seconds.

DAGKnight: instead of always working from the same timing assumption, it is designed to let confidence respond to the network conditions that are actually observed.

What should you take from this page?

The internet does not always operate at the same speed.

So the amount of work created before blocks have had time to reach everyone can change too.

GHOSTDAG handles parallel blocks using conditions chosen in advance.

DAGKnight is designed to take the next step:

let the way confidence builds respond to what the network is actually experiencing at that moment.

In the simplest words:

When the network communicates quickly, confidence can build faster.

When communication is slower, more time and information are used before reaching the same level of confidence.

Sources

External sources are in English.