Cinder

Cinder 0.9.6: smaller answers, and three bugs that new tests found first

TL;DR

Cinder 0.9.6 came out on 2026-10-25. For users, the main change is HTTP answer compression. It is on by default and works as in reth: gzip or deflate when Accept-Encoding allows it. Large answers become 4.5 to 10.7 times smaller for 1.7 to 3.1 ms of CPU per MB on one core. --http-disable-compression turns it off. The release also has fixes, and three of them came from new tests before any user saw them. After a switch to a written ancestor, latest gave the old head. The pool queue could move past a backlog after a deep reorg. A branch that the writer wrote two times answered SYNCING forever. Each fix started with a test that failed, and each got an independent review. The release check ran 66 minutes on live mainnet, and 329 of 329 blocks were VALID. It compared 57 220 JSON-RPC answers with reth 2.7 in seven passes: 0 others. We also removed the cancelled Hoodi Amsterdam time before 2026-10-26. 0.9.6 is still not a full node from genesis on mainnet. That is the v1.0 work.

0.9.6 came out on 2026-10-25. It has one change that users see on the wire, a set of fixes, and a faster trie. I want to tell two stories here. The first is short: what changed for you. The second is about method. Before the release, new tests found three real bugs. None of them was in a user report, and none of them showed up in a benchmark.

What changed for users: compressed answers

Until 0.9.5, Cinder sent every JSON-RPC answer over HTTP as plain bytes. reth compresses an answer when the request has Accept-Encoding: gzip. For a full block, a block of receipts or a dense eth_getLogs answer through a slow link, the transfer takes longer than the work to make the answer. So 0.9.6 compresses too, and it is on by default (issue #265).

The rules are reth’s rules. An answer of 32 bytes or more gets Vary: accept-encoding. It gets gzip or deflate when Accept-Encoding allows it, with the weights and the order of reth’s server. WebSocket messages and the engine port are never compressed, as in reth. To turn it off, start the node with --http-disable-compression (reth’s spelling --http.disable-compression works too).

The answers became 4.5 to 10.7 times smaller. The axis is log, because the answers span two orders of magnitude.

RowPlain answerCinder 0.9.6, gzip level 1reth gzip, same request
eth_getBlockByNumber, full, 1 block236 289 bytes52 713 bytes53 161 bytes
eth_getBlockReceipts, 1 block500 382 bytes55 771 bytes51 707 bytes
trace_replayBlockTransactions, 1 block (no reth count in the record)1 384 410 bytes187 366 bytesnot measured
eth_getLogs, one token, 50 blocks2 180 742 bytes273 823 bytes277 540 bytes
eth_getLogs, all logs, 5 blocks2 042 223 bytes196 868 bytes191 713 bytes
eth_getLogs, all logs, 25 blocks11 336 801 bytes1 062 395 bytes1 027 629 bytes
Size of real mainnet JSON-RPC answers in bytes. Plain, compressed by Cinder 0.9.6 (gzip level 1), and the gzip answer of reth to the same request. Log axis. Measured in October 2026 on a development desktop. Record: docs/results/2026-10-http-gzip.md.

Compression is not free. The cost is CPU time on the thread that sends the answer. We measured it per MB of answer, on one core, as the best of 5 runs.

Level 1 costs 1.7 to 3.1 ms of CPU per MB. Level 6 costs more, for answers that are only 11% to 20% smaller.

RowLevel 1 (what 0.9.6 uses)Level 6 (not used)
eth_getBlockByNumber, full, 1 block3.1 ms/MB5.8 ms/MB
eth_getBlockReceipts, 1 block1.9 ms/MB4.3 ms/MB
trace_replayBlockTransactions, 1 block2.0 ms/MB6.3 ms/MB
eth_getLogs, one token, 50 blocks1.9 ms/MB3.9 ms/MB
eth_getLogs, all logs, 5 blocks1.9 ms/MB3.7 ms/MB
eth_getLogs, all logs, 25 blocks1.7 ms/MB3.7 ms/MB
CPU time to compress one MB of answer with gzip, in ms, at level 1 and level 6. One core, thread CPU time, the best run, release build, the same answers as above. Measured in October 2026 on a development desktop with other work on it. Record: docs/results/2026-10-http-gzip.md.
Answer Plain, bytes Cinder gzip, bytes Smaller by Level 1, ms/MB reth gzip, bytes
eth_getBlockByNumber, full, 1 block 236 289 52 713 4.48 times 3.14 53 161
eth_getBlockReceipts, 1 block 500 382 55 771 8.97 times 1.93 51 707
eth_getLogs, all logs, 25 blocks 11 336 801 1 062 395 10.67 times 1.71 1 027 629

Why level 1. At level 1, our answers are about the size of reth’s: from 1.3% smaller to 3.4% larger, and 8% larger for the block of receipts. Level 6 makes answers 11% to 20% smaller, at 1.8 to 3.1 times the CPU. We chose the size that matches reth and the lower CPU.

Why it is worth it. The 25-block log answer is 11.3 MB plain and 1.06 MB with gzip. At 1 Gbit/s that is 91 ms of transfer against 8.5 ms, for 19 ms of compression. At 100 Mbit/s it is 907 ms against 85 ms. On a fast local link, the gain is small. Across a data center or the internet, it is large.

What a request without compression pays. We checked that the new code does not slow down the answers that it does not compress. In paired rounds on one core, the difference was less than 0.3% of the request time, and less than the spread of the rounds.

The limits, in the same place as the gain:

The compression code is libdeflate 1.26 (MIT), vendored in the repository like every library of Cinder, so the build needs no system package.

Three bugs before the release

This is the part I like more. 0.9.6 has many fixes, and most of them are in the changelog with their issue. Three of them came from tests that we wrote for this release. Each bug was real, each one could reach a user, and no user report or benchmark showed it.

The rule for each one was the same. First a test that fails and shows the bug. Then the fix, and the test passes. Then an independent review of the fix before it went into main.

1. “latest” after a switch to a written ancestor (#162)

The new test was a stress test: JSON-RPC readers that read “latest” while the chain switches between branches, under ThreadSanitizer. We wrote it to look for data races. It found no data race. It found a logic bug.

The case: the database holds blocks A2 and A3. The head moves to B2, and then back to A2. A2 is an ancestor of the database head, and the writer has not removed A3 yet. In that time, the requests took the head for an old one and answered from the database head A3. eth_blockNumber gave 3, and the state and the proofs were those of A3. The validation thread of the transaction pool had the same fault: it waited 2 s and then checked transactions on A3.

The fix: after a switch to a written ancestor, “latest” is the new head at once. Block 3 is not canonical, and the answers are those of A2. The pool checks transactions on A2 at once.

2. A branch written two times answered SYNCING forever (#282)

The same stress test found a second bug, in the chain code. We made the stress test avoid that case, gave it its own issue, and then wrote a test with the exact steps: the writer writes a branch, a switch removes it, the writer writes a part of it again, and a switch removes it again. After that, the forkchoice update to the head of that branch gave SYNCING. It still gave SYNCING after the consensus client sent the payloads again. A consensus client could thus stay on SYNCING.

The cause: a pending block lost the link to its parent when the writer wrote the parent and a switch then removed it. When the parent came again as a new block, the pending block did not get the link back. The forkchoice update then did not find the base of the branch.

The fix: a new block gets the link from each pending or invalid block that has no parent and names it as its parent. The second engine_newPayload of the child still gives ACCEPTED, and the forkchoice update executes it and gives VALID. The test failed before the fix, and it passes now.

3. The pool queue moved past a backlog (#277, found by the review)

Some background first. In 0.9.6, after a deep reorg, the validation thread of the pool checks reorged-out transactions on the new branch (#185). When it cannot read the new branch yet, it keeps them unchecked. The first fix of #277 put these kept transactions back in the queue when the new branch can be read again. It keeps at most 4096 of them.

The independent review of that fix found a deeper fault in the queue. The thread takes the unchecked transactions in batches, and a batch stops at 256 transactions or at a full buffer. A transaction that came back to the queue got a new sequence number but kept its old place in the list. So a batch could move the cursor past transactions that it did not visit, and the thread then never checked them. The case that shows it: more than 256 kept transactions given back after a reorg, in front of a backlog of new ones. The backlog was never checked.

The fix: the queue now follows the order in which transactions became unchecked. New tests put back more than 256 transactions in front of a backlog and check that every transaction comes out one time.

Issue Found by What a user saw Fix
#162 a new ThreadSanitizer stress test of readers during reorgs “latest” was the old database head after a switch to a written ancestor the new head at once, for JSON-RPC and the pool
#282 the same stress test SYNCING forever after the writer wrote and a switch removed a branch two times the link to the parent comes back when the parent comes again
#277 the independent review of the first #277 fix a backlog of transactions never checked after a deep reorg the queue in the order in which transactions became unchecked

How often can a node meet these paths? Short reorgs are not rare: in the 24-hour window of 0.9.5, the first block lost to a second block at 4 heights. The three bugs need a switch below the blocks that the writer already wrote, and that is less frequent. Less frequent is not never. What I find worth saying: we wrote the stress test to find races, and it found two logic bugs. The review was there to check one fix, and it found a second fault next to it.

The release check

The rule of the release check is the same as for 0.9.5: the release build runs on live mainnet next to reth, every block must be VALID, and every JSON-RPC answer that differs from reth is either a difference by design (with its reason) or a bug. The post What the 0.9.5 release check found explains the method.

329 of 329 blocks were VALID, with no INVALID, SYNCING or error answer. The check compared 57 220 JSON-RPC answers with reth.

Two release checks, the same result: no answer in “other”. The axis is log, so that the small classes are visible.

Row0.9.5 release check0.9.6 release check
Equal to reth 2.767 316 answers56 425 answers
Different by design (each with its reason)913 answers792 answers
Changed between the two reads, equal when read again3 answers3 answers
Other (a new difference) (none: 0 gets no bar)0 answers0 answers
JSON-RPC answers of Cinder compared with reth 2.7 in the release checks of 0.9.5 (2026-10-22) and 0.9.6 (2026-10-25), by class, log axis. Seven passes each, live mainnet, the test instance and reth at the same head. Record: the 0.9.5 and 0.9.6 entries of the changelog.
Class 0.9.6 answers
equal 56 425
different by design 792
changed between the reads of the two nodes, equal when read again 3
other 0

The 0.9.6 check compared fewer answers than the 0.9.5 check. The wide comparison asks about the transactions, logs and traces of the newest blocks, so the total depends on the blocks of that hour. The changelog gives the totals only, not the count of each pass, so I cannot tell you which part of the check gave fewer answers. I will not guess.

One date that we did not want to miss: Hoodi

On 2026-10-22, the client teams cancelled the Amsterdam fork on Hoodi. Hoodi stays on BPO2. Cinder’s source still had the Hoodi Amsterdam time 1793036568 (2026-10-26 17:42:48 UTC). The 0.9.x line runs on mainnet only, and it did not use that time. But a wrong fork time in the source is a trap for the next person who uses it. So 0.9.6 removes it (#287), one day before that time.

A new unit test calculates the Hoodi fork id from the BPO2 schedule. It gives 0x23aa1351 with next 0, also at and after that time. This is the fork id that reth v2.8.1 announces on Hoodi.

The rest of 0.9.6, in short

One experiment that did not ship

Not every idea of this week went in. After the compact hash references, we tried to decode the children of a trie branch only when a walk reaches them. The estimate looked good. The result was in the noise of the A/A control, and we rejected it. The data is in An estimate of 3.9% and a result in the noise. The code stays on a branch.

What 0.9.6 still does not do

The full list of fixes is in the changelog, and the upgrade notes are on the upgrading page. To try Cinder, ask for access at getcinder.dev/access.