Shekyl FoundationAutomated
11/15/2026, 12:16:07 PM
State of dev as of c1a1e223ea06, 15 November 2026.
Fourteen pull requests merged in this window. Most of the substance sits in four of them: multisig spending now works end to end inside its library, a wallet saves a send before it sends it, the node's proof-of-work memory has a single owner, and a daemon's life is tied to whoever started it.
Multisig spending works end to end, with each check built into a type — LANDED
A Shekyl multisig group is M-of-N: any M of the N members can spend together. Every spend needs two kinds of signature from them. One is a threshold signature (FROST) inside the transaction's membership proof. The other is a post-quantum hybrid signature from each signing member over the finished transaction. The hybrid signatures have to come last, because they cover the finished proofs. Each member's signature also covers every other signer's per-output public key, and a member can derive only its own. So every signer's keys have to be in hand before anyone can know what they are signing. This ordering is what makes the ceremony harder than it sounds.
The signing ceremony merged this window. One member proposes a spend. A second member, the responder, preprocesses and signs in a single visit and keeps no state between visits. Any further members hold a one-time signing nonce between two rounds. Members exchange encrypted files, by email, messenger, USB stick or shared folder. The wallet moves no bytes itself, and the ceremony code never reads a clock, a disk or a network. The test suite runs a 2-of-3 group and a 3-of-5 group, each spending two of its outputs. Each finished transaction is serialized, parsed back, and verified from those bytes, the same way a node would check it.
The structure matters more than the feature. Each check the ceremony depends on is the only constructor of a type, and the signing code accepts only those types. A file that really came from the member it names, a key that matches what the group committed to on chain, a set of preprocesses with exactly one entry per other signer, a nonce whose use has already been durably recorded, a transaction the member rebuilt and verified itself: each one is a distinct value that the code cannot produce any other way. The transitions that must never happen are written as tests that are required to fail to compile. A forgotten check is therefore a build error, not a runtime bug. Every message decoder is also a fuzz target.
Some things were deleted. An earlier design had one assigned member build the membership proof for the group. It is gone, along with the rotation machinery around it and the requirement that members acknowledge depending on a single prover. Two message types that nothing produced or read were retired, and their numbers will not be reused. One was for reporting a broken rule and one for proving a member had shown different data to different signers. A member who refuses a spend now tells its own human and sends nothing. If a proposer shows different signers different data, the signature shares do not combine, and each nonce has still been used only once.
The ceremony library is complete, but you cannot run a multisig spend from a wallet yet. What remains is the builder that turns a spend request into an unsigned transaction, and the wallet integration around it.
A wallet saves a send before the transaction leaves — LANDED
When a wallet sends, it signs a transaction, hands it to a daemon, and records what happened. Suppose the process dies after handing the transaction over but before it saves. The transaction may be on its way to the network while the wallet's file has no record of it. That means no record of which outputs it spent and no copy of the secret needed later to prove the payment.
The order is now enforced in code, not left to convention. The component that submits a transaction accepts only a value that can be created in exactly two ways, and each of them first writes the full send record to disk and confirms the write. That record includes the signed transaction bytes and the transaction's secret key. If the save fails, nothing is sent, the reservation of the inputs is kept, and the caller gets a specific error saying the send was not saved. The daemon's verdict on the transaction is saved again before the call returns.
This leaves one case where the wallet does not know the outcome: a crash after the record is saved but before the verdict arrives. On the next open, the wallet locks those inputs. It does not resend on its own, because the earlier session may already have sent the transaction. It lists the send and asks the user to resend or abandon it. The wallet RPC server also now handles stop signals and closes the open wallet cleanly instead of exiting with unsaved state.
The tests run the real wallet RPC server against a real daemon. In one, the wallet is killed with kill -9 immediately after a send is accepted, then reopened in a new process. The record is there, and the payment proof for the send verifies. Writing that test exposed a related fault: the wallet stored its transaction secret in a form the proof code could not use, so a proof for a completed payment could not be produced. That was fixed in the same pull request. The secret is now generated in its canonical form, in one place.
The node's RandomX memory has a single owner — LANDED
RandomX, the proof-of-work function, needs a 256 MiB cache per seed. A seed changes as the chain grows, and a syncing node can need up to three caches at once: the current seed, the next one, and one for the heaviest competing chain or for header sync running ahead. Before this window, several parts of the node each obtained caches from a shared store and were responsible for releasing them. Over time, more than one path kept a cache longer than it was needed, and each fix made the bookkeeping more careful without changing who owned it.
The design that merged this window removes that bookkeeping. One component, the hasher, builds, holds and frees every RandomX cache in the daemon. Block validation, header sync, the miner and the proof-of-work RPC no longer hold a cache. Each submits a job that names one seed, and receives hashes back, never the cache itself. The type system prevents a job from keeping or returning its handle. A pure function decides which seeds stay resident, using the chain's own state as input. A hard cap of three caches covers both resident caches and those in use by a job. When the hasher is idle, it holds exactly what a freshly started hasher would hold given the same inputs, and the tests check that invariant.
The old cache store is deleted, along with the slot-management code that surrounded it in four crates. A CI check now rejects any reference to the cache type outside the hasher and the verifier's own measurement tools, so a second owner cannot quietly return. The daemon's status output reports the number of cache places in use. That number is an upper bound on RandomX memory, not a measurement of it, and it is named accordingly.
What remains is measurement. On the minimum supported device, a Raspberry Pi 4, one cache rebuild costs about 2.1 seconds of one core. The next step is to record actual resident memory on that device during a real initial sync with three caches loaded, and to check it against the node's memory budget.
A daemon stops when the process that started it stops — LANDED
Most people will run a node because their wallet started one. In that setup the daemon should live exactly as long as the wallet. If the wallet exits or crashes, the daemon should stop cleanly and not linger with no owner.
A daemon can now be started with an owning connection. The launching process creates a connected pair of sockets and passes one end to the daemon. That connection carries only two things. Once the daemon's local socket is bound and serving, the daemon writes a single ready line. When the launcher closes its end, whether deliberately or by dying, the daemon stops. Nothing else travels over the connection; it is not a control channel. On adoption the daemon makes its end non-inheritable. Otherwise a child process it starts, such as its managed Tor, could keep the connection open after the daemon died, and the launcher would never find out. The wallet's own calls use the daemon's same-user socket, which the operating system authenticates, and they find it through a fixed rendezvous location. Two cases stay distinct. "No daemon is running" is reported plainly. "Something answered but failed the identity check" is a hard stop that is never retried.
Code was also split out of a crate. The code that names where a local daemon can be found used to sit in the same crate as the encrypted channel's handshake, which pulled the whole post-quantum handshake stack into the plain local transport for no reason. It now lives in its own small crate with no cryptography. The operating-system account lookups moved to a leaf crate with no network stack, and both new crates forbid unsafe code at the root and allow it only where the OS is called.
The service path got the same attention on FreeBSD. The rc.d script now creates the daemon's rendezvous directory, as the Linux service already did. A daemon stopped over RPC or by SIGTERM now stays stopped. Previously the supervisor restarted it 30 seconds later. Only a failure is retried, which matches the Linux unit's behaviour.
This post describes the state of the dev branch at c1a1e223ea06 on 15 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 #1380, PR #1362, PR #1376, PR #1383, PR #1372, PR #1379