Shekyl Stats

Refreshing...

Network

Connected
Seed Nodes Active
--

Chain

Height
—
Network Height
—
Top Block Hash
--
Block Spacing
--

Rewards

Reward
--
Difficulty
--
Hash Rate
--

Supply

Circulating Supply
--
Remaining Supply
--
Burn Total
--

Economics

Emission Multiplier
--
Burn
--
Economy Fee
--
Standard Fee
--
High Fee
--

Staking

Stake Share
--

Protocol

Transaction Format
TransactionV3
Membership Proof
FCMP++
Spend Auth
Ed25519 + ML-DSA-65
Confidentiality
Stealth + BP+

Node

Pool Count
--
Data Size
--
Revision
--
Sync Status
Syncing

Development digest — 1 November 2026

Started by Shekyl Foundation • 0 replies • 20 views

0

Shekyl FoundationAutomated

11/7/2026, 4:01:03 AM

State of dev as of 65ebb943ecb4, 1 November 2026. In this window the daemon's chain moved to the Rust store, the code that had been there only for the old store was deleted, and a performance measurement came back wrong twice before it came back right. A design question about what a node says for transaction data it no longer keeps was also settled.

The daemon's chain now lives in Rust — LANDED

Until this window, every block a Shekyl node received was validated and written by C++ inherited from the CryptoNote lineage: one large class that was validator, writer and cache in one, over an LMDB database. A Rust store and a Rust validator have been built beside it for months. They were tested, but nothing ran through them.

An obvious shortcut was to put the new store behind the old class's database interface. We did not take it. That class fills its own caches as it writes, so a new store underneath would have left those caches stale, and the old validation code would have kept running alongside the new validator. That makes two validators, and two validators can disagree about what counts as a valid block. The rule we followed instead was that the switch happens at the consumers, not at the storage layer.

Now it has. Every block the daemon receives is formed, validated and connected by Rust into one store. There is one writer and one validator, and LMDB is no longer linked into the daemon. The C++ chain class, the C++ transaction pool, the C++ RPC server, the C++ miner and the LMDB utilities are deleted, not disabled. RPC reads, the transaction pool and the relay fee floor all go through the Rust node.

Some C++ still runs. The peer-to-peer protocol handler and the transaction relay have no Rust owner yet, so they run behind a thin shell. Each shell method forwards to Rust, and each one is listed with the work that will delete it. Before merging, the new daemon synced a test network from its peers to the tip over both clearnet and Tor, and the block hashes at the tip matched an independent node.

A measurement that was wrong twice — LANDED

Before the switch, we fixed a pass/fail threshold in writing: the Rust daemon may take at most 1.25 times as long as the C++ daemon to sync the same chain from the same peers, on the same machine. The first runs failed. The Rust daemon took 1.6 to 2 times as long on the measurement machine, but only 1.25 times as long on our minimum supported device, which is a much smaller computer. A slower machine scoring better was the clue.

The cause was counted rather than guessed. We traced disk syncs for both daemons. The Rust daemon committed each block as its own transaction, making about two disk flushes per block: 1,550 for a 762-block test chain. The C++ daemon committed a whole batch at once and made 74. On a disk where each flush is slow, that gap explained almost all of the difference. The fix commits each run of consecutive blocks as one transaction. Every commit is still fully flushed to disk before it counts, and a crash part-way through rolls back only the open run, whose blocks are then fetched again. Weakening durability to win the benchmark was ruled out from the start. After the fix, both daemons flush the disk about equally often per block.

The second error was in the instrument. While chasing an unrelated intermittent failure, we pointed a simple probe at the measurement machine's disk: write 4 KiB, flush, repeat, with nothing of ours running. Some flushes stalled for up to 56 seconds. A device like that cannot give a meaningful ratio between two runs taken hours apart, so every figure from that machine was declared invalid, for both daemons. The runs were repeated on a different machine that first passed 30 minutes of the same probe at rest with no stalls. Old and new daemons were run alternately, and the probe ran alongside throughout.

On that machine the Rust daemon took 1.00 to 1.17 times as long as the C++ one, and its peak memory was about 0.6 times. It passed on every run, without moving the threshold. What changed was the method: a host must now pass the probe before its numbers count.

A performance budget written before the numbers — IN FLIGHT

The 1.25× threshold only compares against the C++ daemon, so it stops meaning anything once that daemon is gone. What node operators need is an absolute standard. We merged a draft budget for the shipped daemon, written before any valid post-fix figures existed so the targets could not be fitted to the results.

The draft puts stability before speed. Its first rows are pass/fail: the store stays consistent through a crash or power loss, recovery after an unclean stop is bounded, and nothing grows over a week-long soak. Rows for throughput, latency, resource use and bootstrap follow, measured on both a reference machine and the minimum supported device, through the daemon's real interfaces. Every measurement host must pass the disk probe first.

As drafted, a release that misses the budget is blocked, and the budget changes only by a recorded decision that applies from the next release. Every number in it is still a proposal, and the draft lists its open questions. Nothing here is final until it is ratified.

What a node says about transaction data it no longer keeps — RULED

Every Shekyl daemon keeps a transaction's essential data permanently. Past a fixed horizon, it discards the bulky part: the proofs and post-quantum authentication data. Every node discards the same data at the same point, set by the chain's calendar rather than by operator choice. The archive serves the discarded bodies after that. The discard itself was already built. The open question was what a node should answer when someone asks it for one of those transactions.

The ruling has three parts. First, there is one compact "pruned" form of a transaction, and every node serves it the same way for recent and old transactions. It carries enough to prove the transaction's identity, including a hash of the authentication data the node no longer holds. A wallet that asks for the pruned form gets the same answer whether or not the node still has the full bytes. Second, a request for the full form of an old transaction answers per transaction: "archived", plus the archive shard that holds it. A shard is public calendar data, the same on every node. The request does not fail, and asking for a block by height never fails because one of its bodies has been archived. Third, there is no operator option for any of this. The old option to prune the blockchain will be refused with an explanation, because there is no local retention choice to make.

Two alternatives were rejected, and the reasons are the interesting part. One was to send wallets to the archive's operators for older history. That would make every restore-from-seed depend on a bonded third party for anything older than a few epochs, and the project had already decided that wallets recover from ordinary daemons. The other was to include the extra hash only on transactions this node has discarded. That would put a fact about one node's local state on the wire, and since every node discards identically, there is no such fact to report.

The decision is ratified. The code that implements it is the next step.

Deleting the bridge to code that no longer exists — LANDED

The switch to the Rust store left an orphan behind: the foreign-function layer the C++ archival code had used to call into Rust. A count after the switch found that 45 of the 54 archival exports had no caller left except their own declaration in a header. 53 were deleted in the end. Their header prototypes, 158 verdict constants, seven structures and the tests that existed only to check the bridge went with them.

The part worth describing is how we decided what could go. A verdict code is "unneeded" only if the refusal it names still has a name in Rust: a variant of a Rust error type, or an encoding of a typed return value. Otherwise the code is a rule, and deleting it would delete the rule. Each of the deleted constants was put in one of five classes on that basis. Each deleted test is listed with the consensus rule it pinned and that rule's Rust home. Tests that only checked the plumbing (null pointers, buffer sizes, length overflows) went with the plumbing, because they named no rule.

Five exports stay because live C++ still calls them or checks against them. The three that keep the C++ peer-to-peer code agreeing with Rust about a size limit will go when that code does. The C++ unit test count dropped from 741 to 731. The remaining tests still pass.

A Tor node that checks whether others can reach it — LANDED

A node that runs its own Tor publishes an onion address so peers can connect to it. Until now it had no way to know whether anyone actually could. Asking its own Tor didn't answer that: a node probing its own onion is answered from its own copy of the onion's descriptor, so the probe succeeds even if the directories that strangers query never received it.

Once per descriptor upload round, after a random delay, the node now dials its own onion through Tor. It uses a separate circuit isolation so the probe never shares circuits with its peer connections. It also asks the directories that round reached whether they hold the descriptor. "Reachable" requires both the probe arriving and more than half of those directories answering yes. One miss is not a verdict: the node refetches and tries again. Only repeated misses mark the onion unreachable and republish it. Throughout, the node keeps syncing and sending over Tor as before. The status display reports inbound reachability next to the outbound link's status, because a node can be able to reach out while others cannot reach in.

In the same window, the Tor supervisor became more careful about clocks. A wrong system clock stops every Tor handshake, so when Tor cannot reach its network, the node now suggests checking the computer's date and time first, and the firewall second. If three or more relays' certificates look expired or not yet valid, the node says the clock looks wrong; one bad certificate is not enough. A laptop waking from suspend no longer briefly reports that Tor cannot reach its network, and the supervisor's timers now count awake time on every platform.


This post describes the state of the dev branch at 65ebb943ecb4 on 1 November 2026. Shekyl is pre-genesis and under active design; anything marked IN FLIGHT may change or be abandoned. Where a later post contradicts this one, the later post is correct.

References: PR #1212 (DRS-X flip), PR #1221, PR #1230 (performance budget, PB-), PR #1233 (DRS-SB Round 0), DEL-008 Rust half (in #1212), PR #1220, PR #1222

Sign in to reply and vote.