Kaspa developers merged the long-running “Tiebreaking applied” pull request into the DAGKnight branch of rusty-kaspa on Wednesday, Dec. 2, at 10:58 AM ET. PR #1172, written by Maxim Biryukov (GitHub: biryukovmaxim), had been open since Nov. 15. It is the third merge into the branch since mid-November.

Hours later, Michael Sutton said a private repository describing how the code departs from the formal DAGKnight protocol will be published “in the coming 2 weeks.” There is still no testnet date.

What was merged

Kaspa is a proof-of-work network built as a BlockDAG. Instead of a single chain where competing blocks get thrown away, it keeps parallel blocks and orders them with a consensus rule called GHOSTDAG, at about 10 blocks per second. GHOSTDAG relies on a fixed parameter sized for an assumed worst-case network delay. DAGKnight, its planned successor, is designed to adapt to actual network conditions instead, and would need a hard fork to activate.

When DAGKnight compares two competing sides of the graph and they look equally strong, it needs a rule to pick one. That is tiebreaking.

The PR body describes “two steps toward the applied Dagknight tiebreaking rule.” First, the comparison now includes “all sides with rank at most m+1,” where previously “rank-m+1 sides never reached tiebreaking.” Second, it replaces the old witness-based tiebreak with a rule where the “earliest witness start wins.” If neither side has a witness, it falls back “to the smallest selected-parent hash.”

The squashed commit carried 28 commits, adding 990 lines and removing 415 across eight files. It also adds debug logs that trace each tiebreak in a running node.

How it got there

The PR went through a long review. GitHub shows four “changes requested” reviews: two from freshair18 on Nov. 24 and 25, and two from coderofstuff on Nov. 29, one of which called a part of the code a “strict deviation from the rank protocol.” Biryukov pushed fixes, then posted a batch of replies early on Dec. 2.

Coderofstuff approved at 8:45 AM ET on Wednesday with the note “Correctness verified by @freshair18.” Freshair18, the developer behind this week’s reroute PRs, approved at 10:48 AM ET. Biryukov merged ten minutes later.

The dagknight branch now stands 132 commits ahead of rusty-kaspa’s master branch and 23 behind, per GitHub’s compare view. Before November, its last merge was in early September. Since then it has taken #1168 (store rename, Nov. 16), #1181 (TopologyIterator, Nov. 29) and now #1172.

Other DAGKnight work remains open. Biryukov’s draft #1186, which replaces the “cascade” voting mechanism with a versioned tree and pruning, stands at 23 commits and roughly 7,500 added lines. Freshair18’s reroute series, #1183 to #1185, is unmerged, and the reroute decision itself has not been written yet.

Why it matters and what to watch

For node operators and miners, nothing changes today. DAGKnight code lives on a development branch and is not in any release. For holders, the merge shows the most-discussed consensus upgrade moving from review to accepted code, one piece at a time.

The bigger open question is documentation. Community writer @KaspaScopio summarized the week’s DAGKnight work on Wednesday, noting it is “still under development, not yet deployed.” Sutton replied that “there’s a private dk-applied repo governing these protocol adjustments vs the formal protocol and proof,” and that he “will do my best to publish it in the coming 2 weeks.” He added that “max, coder and freshair are doing incredible and exciting work here.”

That repository matters because the applied code already differs from the published paper. Until it is public, outside reviewers cannot easily check whether changes like the new tiebreak rule keep the protocol’s security proof intact. Sutton said in a Nov. 17 interview that he still expected a DAGKnight testnet “by the end of year,” which leaves 28 days.

Watch for the dk-applied repository, merges of #1186 and the reroute PRs, and a testnet announcement. Network context: hashrate was 280.9 PH/s on Thursday morning per api.kaspa.org. The block reward falls from 1.9445 to 1.8354 KAS at 7:32 PM ET on Dec. 4. KAS traded near $0.0241, per CoinGecko.

Sources