
Kaspa developers opened four pull requests against the DAGKnight branch of rusty-kaspa between Tuesday morning and Wednesday, Dec. 2. Three of them, from GitHub user freshair18, start the “reroute” logic in the planned consensus upgrade. The fourth, a draft from biryukovmaxim, rewrites how the code stores and tallies votes.
None of the four has been merged. The reroute decision itself has not been written yet, and there is still no date for a DAGKnight testnet.
What DAGKnight and reroute are
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 today. GHOSTDAG relies on a fixed parameter sized for an assumed worst-case network delay.
DAGKnight is the planned successor. It is designed to adapt to the network’s actual latency instead of a fixed guess, and it would need a hard fork to activate. Its code lives on a separate “dagknight” branch, which GitHub showed as 131 commits ahead of and 23 behind the main branch on Wednesday.
Reroute is one piece of that design. In the first pull request, #1183, freshair18 wrote that reroute “is activated when the rank of the current search outpowers the rank of a tested block on the inheritance path.” In plain terms, if the algorithm finds a stronger path while it is checking competing blocks, it can switch to it.
The four pull requests
PR #1183, opened at 10:28 a.m. ET Tuesday, stores block ranks for later use and is described as the “first part of at least 4 PRs.” PR #1184 followed at 10:39 a.m. ET and is “predominantly of renames and refactors.” It also changes the database format: older conflict-zone records “aren’t migrated and may fail to decode,” the author wrote.
PR #1185, opened at 10:51 a.m. ET, merges two separate managers for “free” and “committed” colorings into one, so a block can be tracked in both states during a single pass. The author was explicit about its limits: “The reroute logic itself has not been incorporated yet.” Because the three are stacked on one another, GitHub’s line counts overlap and are not added up here.
The largest change came Wednesday at 8:03 a.m. ET. Draft PR #1186 from biryukovmaxim, titled “Versioned UMC tree storage, tree voting, and pruning,” adds 7,455 lines and deletes 1,458 across 31 files. It replaces the existing “cascade” voter with a versioned tree and deletes old records once they leave the retention window. The author noted that “pre-testnet databases are rebuildable by design, no migration path.”
Community tracker Daniel (@Daniel_Kaspa_KR) summed up the batch in an X post on Tuesday evening and added a caveat: “Actual Reroute decision logic is not yet implemented.” He also wrote that “100 BPS activation, TN13 public testing, and mainnet activation remain unconfirmed.”
Older tiebreak PR still under review
The new work sits beside PR #1172, the “Tiebreaking applied” change biryukovmaxim opened on Nov. 15. KaspaNews reported on Nov. 30 that reviewer coderofstuff had asked for changes, including a concern about “strict deviation from the rank protocol.”
Review continued overnight. At 10:41 p.m. ET Tuesday, coderofstuff commented that “this tie breaking requires checking the current rank plus the wider group at the next band.” Between 6:20 and 6:22 a.m. ET Wednesday, biryukovmaxim posted about 20 replies, most of the form “fixed in” a specific commit.
In one reply, he wrote that “the powers-of-2 probing does not change what gets added back,” which speaks to the possible “powers-of-2” change coderofstuff flagged earlier. In another, he declined a suggested shortcut, saying “rank dominance for a unique m side would be a protocol change to weigh separately.” PR #1186 notes it is a “sibling of #1172,” so whichever merges second has to be rebased.
Why it matters and what to watch
For holders and miners, nothing changes yet. DAGKnight is still code under review on a side branch, and activation would require a hard fork that has not been scheduled. Kaspa’s hashrate was about 282.9 PH/s on Wednesday morning, according to api.kaspa.org, and KAS traded near $0.0259, down 3.3% in 24 hours, per CoinGecko.
For builders and node operators, the database notes matter. Both new branches change storage formats without a migration path, which is acceptable before a testnet but means anyone running DAGKnight test builds should expect to resync.
The pace is the story. Michael Sutton has said he is aiming for a DAGKnight testnet by the end of the year, and only four weeks remain. Watch for merges of #1172 and #1183, the fourth reroute part that adds the actual decision logic, and any announcement of a public test network.
Sources
- https://github.com/kaspanet/rusty-kaspa/pull/1183
- https://github.com/kaspanet/rusty-kaspa/pull/1184
- https://github.com/kaspanet/rusty-kaspa/pull/1185
- https://github.com/kaspanet/rusty-kaspa/pull/1186
- https://github.com/kaspanet/rusty-kaspa/pull/1172
- https://github.com/kaspanet/rusty-kaspa/pull/1172#discussion_r4764413452
- https://github.com/kaspanet/rusty-kaspa/pull/1172#discussion_r4768760783
- https://x.com/Daniel_Kaspa_KR/status/2127934576647696623
- https://api.kaspa.org/info/hashrate
- https://www.coingecko.com/en/coins/kaspa