Start typing to search this publication.
nyam
Open menu

Subscribe to nyam

Get new posts delivered straight to your inbox.

Four Lanes, One Chain: What Tari's C29 Incident Teaches About Multi-Lane Proof of Work

nyam
7 min read

Disclosure: this article was researched and drafted with AI assistance, then checked against Tari's own RFCs, tokenomics page and the official incident report. Sources are linked at the end. Nothing here is financial advice.

Most proof-of-work chains bet everything on one hash function. Bitcoin has SHA-256 and Monero has RandomX. If that one algorithm breaks, or one group gets most of the hashrate, the whole chain is exposed.

Tari (Minotari, XTM) did something different. Its base layer runs four proof-of-work algorithms side by side, and each one is entitled to about a quarter of the blocks. On paper that sounds like extra complexity. In September 2026 one of the four lanes really did break, and the design was tested. This piece explains how the lanes work and then uses that incident to show why the design matters.

The four lanes

According to Tari's tokenomics page and the base-layer RFCs, the lanes are:

Lane

What it is

Who mines it

RandomXM (RxM)

RandomX merge-mined with Monero

Monero miners/pools via minotari_merge_mining_proxy + XMRig

RandomXT (RxT)

Tari-only RandomX

CPU miners (minotari_miner)

SHA3x

Triple Keccak SHA3-256

GPUs and, eventually, commodity ASICs

C29

Cuckaroo29, memory-hard graph PoW

GPU miners

The consensus rules set a few fixed numbers:

  • The four lanes combined target an average block time of 120 seconds, the same as Monero's.

  • Each lane has its own difficulty and its own LWMA (linear weighted moving average) difficulty adjustment, with a 480-second target per lane. Four lanes at 480 s each work out to one block every 120 s on average.

  • Block rewards are split evenly: each lane targets 25% of rewards, and this is part of consensus, not a social agreement.

The split moves around in practice. Tari's text block explorer shows the share per lane over the last 10, 40, 80 and 120 blocks. Over short windows a lane can drift to 17% or 40%. Over longer windows it settles near 25%.

Why bother with four?

RFC-0131 (Mining) gives the reasoning directly. Hybrid mining limits how much any one algorithm can control. If the algorithms are independent and an algorithm gets x% of the blocks, then anyone who dominates that algorithm gets at most about x% of the chain's total work.

Each lane was picked for a specific reason:

  • Merge-mining with Monero brings in a large, established RandomX hashrate from the start. The RFC also warns that relying only on merge mining would leave Tari "vulnerable to large Monero pools."

  • Tari-only RandomX gives CPU miners a lane that Monero pool operators don't control.

  • SHA3x was chosen because it is simple and well understood. The RFC hopes it becomes "commoditized" so that SHA3 ASICs come from many suppliers instead of one manufacturer. Hashing three times keeps the hardware requirements modest.

  • Cuckaroo29 is memory-bound. Its memory requirement can be raised, which makes FPGAs and ASICs "monetarily hard to justify."

How the chain picks a winner matters just as much. The official incident report says chain strength is the geometric mean of the accumulated difficulty across all lanes. A block counts in whichever lane found it, but no single lane can produce the heaviest chain alone. If one lane's numbers get inflated, the other three still hold the chain.

That last point is easy to read past. It turned out to be the most important part of the design.

September 2026: the C29 lane breaks

Tari contributors published a detailed incident report, linked below. Here is a condensed timeline:

  • C29 went live on mainnet on January 19, 2026 (height 183,462) and ran normally for about seven and a half months.

  • September 6, 14:42:53 UTC, height 339,109: an unknown actor mined the first forged C29 block. It was valid under the rules the nodes enforced at the time.

  • Over the next twelve days the attacker mined in bursts, sometimes 20+ blocks in a row and sometimes only seconds apart. C29 difficulty had sat near 80,000 for months. It climbed into the hundreds of thousands and peaked above six million. Honest C29 miners were priced out of their own lane.

  • September 18, 02:58 UTC: a researcher, momo, reported the bug privately through GitHub's security advisory process. By then there were 359 forged blocks.

  • The fix was written within hours, but it needed a hard fork. The fork was scheduled for block 350,000, about 72 hours later.

  • September 22, 02:12:33 UTC: block 350,000, mined by DxPool on the SHA3x lane, activated the fork. The first honest post-fork C29 block arrived at height 350,003, within half an hour.

What was actually wrong

Cuckaroo's difficulty comes from one structural property. The graph is bipartite: every edge joins a node on one side to a node on the other, and a valid 42-cycle must alternate between the two sides. That alternation is what makes the search need lots of memory.

Tari's pre-fork verifier never checked it. Both ends of each edge were derived into one shared node namespace, and the "cycle" was checked as a generic closed walk. All the other checks were present (XOR sum, every node of degree two, the walk returns to its start), and simple chains that can't exist in a real bipartite graph still passed them. With the two sides merged, valid-looking proofs cost only a small fraction of the intended work.

The fix ported Grin's reference verifier, where index parity defines the two sides and the walk must alternate. The old verifier stays active below the fork height, because every historical C29 block was accepted under it. Changing the past rules would split the chain, which is why this needed a hard fork rather than a soft patch.

Why the chain didn't split

This is where the four-lane design paid off.

A single-algorithm chain with a verifier this cheap to fool would be in serious trouble. An attacker making proofs for almost nothing could build the heaviest chain and rewrite history. On Tari, the attacker could inflate one lane's accumulated difficulty. Chain weight is the geometric mean across all four lanes, so the SHA3x, RandomXT and RandomXM work still held the chain in place.

The report states the result plainly: no reorganization and no contested chain fork. The C29 lane's rewards were captured for about two weeks. Those forged blocks remain on the accepted chain, because the fork stopped new forgeries and did not rewrite old ones. Wallets and user funds were not affected. Exchanges paused deposits and withdrawals during the upgrade and then reopened. The report calls the outcome "operational friction, not financial loss."

There is also some irony in it. The block that activated the fork came from another lane. In a four-lane system, healthy lanes can carry the chain through an upgrade while a broken lane is fixed.

The difficulty algorithm got a lesson too

The incident also showed a weakness in difficulty adjustment. RFC-0131 originally set a 90-block LWMA window. When the attacker's fake hashrate pushed C29 difficulty into the millions, honest miners would have needed a long time to bring it back down after the fork.

As part of the same fork, contributors shipped a 45-block difficulty window, so lanes respond faster. They also tested a difficulty penalty on the Esmeralda testnet. It caused peers to reject blocks and ban each other there, so it was postponed. In the first ~500 blocks after the fork, C29's share dropped from about 25–28% to 16.3% as the fake hashrate disappeared, and then its difficulty began to recover.

What miners and node operators should take from this

  1. Run current software. The report tells operators to move to v5.7.0-pre.10 or the later v6.0.x line. Nodes already past 350,000 on old builds need the migration or rewind described in the release notes. The current release on GitHub at the time of writing is v6.2.0.

  2. C29 miners must produce real bipartite cycles. Pre-fork mining software produces merged-namespace proofs that are now rejected.

  3. Check you're on the right chain. The fork block hash at height 350,000 is published in the report (663b7254…daced47). Exchanges and services should check their chain against it.

  4. Choose your lane on purpose. CPU owners can merge-mine RandomX through Monero or mine RandomXT directly. GPU owners can choose between SHA3x and C29. Each lane has its own difficulty, so the best choice depends on your hardware and on how busy each lane is, which you can check on the explorer's per-lane split.

The bigger picture

Multi-algorithm chains are sometimes dismissed as a marketing feature. Tari's September incident gives a more concrete answer. A consensus bug in one proof-of-work verifier went unnoticed for months and was then actively exploited for two weeks. The outcome was a contained loss of rewards in one lane, a planned hard fork with a 72-hour lead time, and no reorg.

That doesn't make multi-lane PoW immune to problems. The attacker still took a quarter of block rewards for about two weeks, and every lane is another verifier that can contain a bug. But the design held where it mattered most: no single broken component could rewrite the chain. The report puts it simply: "The multi-lane proof of work schema did its job and prevented a meaningful split."

For a chain whose Layer 2, Ootle, is now launching on top of that base layer, a base layer that survived a lane being broken is a good place to start.


Sources

Subscribe to nyam