Every tagged release of the RAND full node, newest first. The client-facing RPC changes are also
logged, method by method, in docs/rpc.md.
From v0.5 on, each entry is a short summary: the date is the tag's, in UTC; "hard fork" means the
release runs only on a new chain, "node-only" that it rolled onto the live chain. The full record
of each release (the measured suite, the roll, the traps) is its entry in AGENTS.md. This file
stopped at v0.4 until 2026-09-30, when the entries v0.5 to v0.6.7 were written from AGENTS.md,
git tag and the GitHub release list (audit v6, DOC-6). There is no tag v0.5.2, v0.5.3 or v0.6.5.
"Assets" says what the GitHub release carries, as read on 2026-09-30.
Nothing yet.
v0.8.8 — 2026-11-22 (chain 22, fork at block 140 000: open validator mint; same genesis, rolled host by host before the height)
- Chain 22: open validator mint, height-activated (v0.8.8 draft,
docs/releases/v0.8.8.md). This is a consensus rule change on the live chain and needs a flag-day roll. Fromstaking::CHAIN_22_OPEN_MINT_HEIGHT, a faucetMintis no longer held tostaking.faucet_recipientsorstaking.faucet_minters. Any registered validator mints to anyone, under the same 100-RAND cap and 10 000-RAND epoch budget. The genesis does not change. The fork height is chain 22 block 140 000.
v0.8.7 — 2026-11-20 (chain 22, a chain cut: constraint set 11; a set-11 node refuses every chain 14–21 genesis, so this release is never rolled onto chain 21)
The release notes — the set-11 gas change as a governance record, the chain-22 cut, the operator
upgrade steps and the rollback — are docs/releases/v0.8.7.md.
Assets: rand-node, rand, rand-prover, msauth-vk-production.bin (set 11, 168d79a8…71b3)
and the four perp-vk-production-t18-*.bin state-proof keys, with SHA256SUMS (eight lines;
seven of them are the files the fleet installs) and the owner's SHA256SUMS.sig.
Release (no node change beyond the version):
- The chain-22 cut re-derives every shielded address under set 11 (#199). The same spend
key has a different
rand1…address under set 11 (pk = H_PK(nk)is a Poseidon2 output).cut-chain22-genesis.shnow takesWALLET22(the v0.8.7rand) next to chain 21'sWALLET, and tells them apart by a probe key. It re-derives every alloc, zUSD carry, faucet recipient and validator payout from a held key file (or a recordedgiven=address and fingerprint), and refuses any address chain 21 knew. The fee recipient has no chain-21 default. - The fleet switch from chain 21 to chain 22:
deploy/cutover-fleet-chain22.sh(#197), derived from chain 21's cutover. The build is v0.8.7 at constraint set 11, soswitchkeeps v0.8.6'srand-node,randand chain 21's msauth blob as*.pre-c22androllbackrestores all three. Seven signed files are staged and checked on every host (rand-node,rand, the set-11 msauth blob, the four perps keys). New phasesbeacon-init(each validator makes its own seed on its own host; the seed never leaves it) andbeacon-collect(BEACON_TSV);check-beacon-seed.shruns atstop,switch,startandwait. 25 validators (archive2 dropped), quorum 17.stoprefuses withoutCONFIRM_HALT_CHAIN21=halt-chain-21-for-<first 8 hex of the pushed genesis hash>.verifyneeds theCHAIN_CONSTRAINT_SETSrow. Every changing phase appends todeploy/roll-records/v0.8.7-chain22-cutover.record.SELFTEST=1rehearses the whole cutover against 26 fake hosts (deploy/rehearse-cutover-fleet-chain22.sh). - Workspace version 0.8.7 (
Cargo.toml, the seven workspace crates inCargo.lock, therand_getVersiontest).
Perps (a chain cut, chain 22; chain 21 unchanged):
- Chain 22's perps on constraint set 11. The cut pins the engine at
482215a8…5073(chain 21's image, the same bytes, under the Grain Poseidon2 constants; durian.market #2) and the perpsgenesis_rootat the recorded set-11 roota45d8fda…98b4(perp-prover genesis-state→rand perp genesis-root; the genesis words are chain 21's). It no longer asserts chain 21'sf286a611…/da0e3a53…;perp_genesis_root_steprefuses the set-9 root and any other (selftest 474 passed, 0 failed).tests/vectors/perps-v1.json's three digests are regenerated under set 11:perps_vectorsfailed on the set-9 values. - Pinned state-proof verifier keys (CON-601, monorepo#23). A new gated genesis field,
perps.state_proof_keys, lists the state-proof shapes a chain admits, each with the SHA-256 of its precomputed key file. It is omitted when empty and bound into the genesis hash only when set (rand-perps-ext-3in the persisted section). On such a chain an unpinned shape is refused before any key build, at validate and apply. Pinned keys come only from hash-matched files, loaded at startup (--perps-key-dir,RAND_PERPS_KEY_DIR, default beside the binary). The node refuses to start if one is missing or mismatched, and never builds a pinned key.rand_status.perps_keysandrand_getPerps.state_proof_keysreport them. Newrand-node keygen-perp-vk(--print-pinned,--check,--genesis-json,--profile --out-dir). Chain 22's four keys are the canonical tier-18 shapes (program 14, input 16, poseidon2 20, public 7–10), 13 685 bytes each, committed incrates/randprotocol-zkvm/keys/, shipped by the release workflow and installed bydeploy/roll-all.sh(PERPS_VK_DIR). The chain-22 cut script sets, asserts, hash-probes and reads back the field.rand perp proverefuses a non-canonical shape on a pinned chain.
zkVM (a chain cut: constraint set 11, for chain 22 and v0.8.7; chain 21 stays on the set-9 v0.8.6 line):
- EVM block context in the guest (circuits
41d64acd, #27; issue #168): under anInvokeAt's version-2 context the vendored EVM interpreter'sNUMBER,TIMESTAMP,CHAINID,BASEFEE,GASPRICE,PREVRANDAO(beacon; traps without one),COINBASE(0) andGASLIMIT(u32::MAX) read public words 11–27 instead of trapping.evm_core::Hostgainedread_public;evm.binhc3869b014…8920720d,evm-v1.bin040c01c8…3454.CIRCUITS_PINand both rand-zkvm-cuda revs at41d64acd. Newcrates/randprotocol-zkvm/tests/invoke_at_context.rs. - Circuits re-vendored at constraint set 11 (circuits
76a48dc, fromb3e21d9at set 9): the Grain-derived Poseidon2 round constants (every guesthc, note commitment, nullifier, Merkle and state root and verifier key moves), a declared poseidon2 table height in the proof header (Proof::poseidon2_log_height, an 8-component verifier-key shape), the rate-¼ quotient layout (FRI blowup 2, 92 queries / 24 pow bits at Production), versioned rVM keys, and gas by table cells (KECCAK134,SHA25649, the per-op MODQ weights, 4 per Poseidon2 absorb): the tier-14 bundle ceilinggas_max(14, 0, 0)is 22 527 (was 20 479), the auth guest's 1 407 (was 1 279), msauth's 355 775 (was 436 159). New guest digests: bundle v300782b22…141e, auth8373994c…6078, msauth41db73c5…9cd1; production msauth key blob 23 851 B,168d79a8…71b3. Bundle and auth proofs declare their tier's full poseidon2 height, msauth 16. BUILD_CONSTRAINT_SETis 11, and chain 21 is refused. Chain 21 joinsCHAINS_THIS_BUILD_CANNOT_RUN; because set 11 moves every Poseidon2 output, no genesis file of chains 14–21 builds under it any more, soinit,runandverifyrefuse them by chain id (constraint_set::build_genesis) before touching a datadir. Chain 22'sCHAIN_CONSTRAINT_SETSrow is added at its cut. The chain-22 cut script expects the set-11 digests and bundle limit.
Core and node (genesis-gated, on no chain — chain 21's genesis hash, header and block bytes, state root, wire tags 0–45 and store rows are unchanged, pinned at values taken before the change):
- The randomness beacon (PREVRANDAO). Genesis
beacon(a commit delay and one hash-chain commitment per genesis validator; hashed last, only when present; needsprogram_state.reference_block_window). Each validator commits toL^N(seed); every block opens with its proposer'sBeaconReveal(wire tag 46), the preimage of its commitment, andbeacon(n) = H(beacon(n−1) ‖ reveal ‖ n). A validator registers a new commitment withBeaconCommit(tag 47), in forcecommit_delay_blockslater — a delay the proposal did not have, without which two colluding consecutive leaders could grind a fresh seed. A validator that cannot reveal misses its slots and keeps voting; nothing is slashed. The state is under a new outermost root wrapper (rand-state-beacon-1) and in one store row, both only under the section. A reference block's context words 19–27 carry the value. Node: the seed file<datadir>/beacon.seed.json(0600; never copy it between hosts),rand-node beacon init|commitment|recommit|status,rand-node genesis --beacon-commitment, RPCrand_getBeacon, and a prefilled compact proposal so the reveal costs no fetch. Same trust level as Ethereum'sPREVRANDAO— one bit of withholding per slot — and a contract must pintarget = NUMBER + kat bet time or the prover re-rolls across the window:docs/ evm-block-context.md§11.4. The guest'sPREVRANDAOread waits for the constraint-set-10 re-vendor.
Core and node (issue #168, ZKVM-203; genesis-gated, on no chain — chain 21's genesis hash, wire, storage and behaviour are unchanged):
- Block context for invokes: the reference block. Genesis
program_state.reference_block_window(0 or absent = off; 256..=4096; needs abridgeorperpssection, which bound block time; hashed last and only when nonzero). Under it a new action,InvokeAt(wire tag 45: anInvoke's fields, thenref_height), names a recent closed block; its proof is made over context version 2 — version 1 with 17 block words at fixed offsets 11..28 (ref_height, time in seconds, chain id, the gas price the block's calls paid, and a reserved randomness flag and value, zero) — which the ledger fills from its own ring of the lastwindowblocks' facts, recorded at each block's end beside the anchor and stored, restored, audited and truncated with it. A reference block outside the window is refused by name (StaleReferenceBlock,FutureReferenceBlock), and a pooled one is evicted when it expires. RPCrand_getBlockContext;rand-node genesis --program-state-reference-block-window. An ordinaryInvokeis byte for byte what it was (pinned incrates/randprotocol-core/tests/invoke_wire_pin.rs). The EVM guests still trap on the block opcodes: reading these words is circuits work on constraint set 10, at the chain-22 cut. Spec:docs/evm-block-context.md.
Deploy (no node change):
- The chain-22 cut carries
program_state.reference_block_windowand the beacon (deploy/cut-chain22-genesis.sh):REFERENCE_BLOCK_WINDOW(256, 256..=4096) andBEACON_COMMIT_DELAY_BLOCKS(256), owner values to confirm;BEACON_TSVjoined by validator name, one distinct 64-hex commitment each; field-probed, read back by check-limits (rand_getBeacon,rand_getBlockContext), written to the cut record with the operator seed procedure. Newdeploy/check-beacon-seed.sh, run on each validator host before its node starts. - The chain-22 treasury is 5 of 6 with its balance carried; perps is carried empty (owner's
decisions of 2026-11-19,
deploy/cut-chain22-genesis.sh).TREASURYmust list exactly six distinct signers,threshold 5, none of them chain 21's (genesis or rotated); itsbalancemust equal chain 21'srand_getSupply.multisig_rand_heldat the snapshot (100 000 RAND) — carried from the register, not new issuance — and the genesis may not seed more RAND than chain 21'stotal_supply.TREASURY_SIGNERS_CHANGED/TREASURY_ROTATEDare gone;MULTISIG_NOT_CARRIED_OKcovers only a vault token or another account's RAND, andPERPS_STATE_NOT_CARRIED_OKonly a non-empty exchange (each refused when there is nothing to drop). An empty exchange is carried with its genesis root asserted equal; program vaults stay dropped (PROGRAM_VAULTS_DROPPED_OK). The cut record'scarries:names the treasury and perps.docs/multisig.mdnow advises 5 of 6;docs/deploy.mdrecords the owner's 256 / 65 536 forPERPS_MAX_WINDOW_HEIGHTS/MULTISIG_MAX_ACCOUNTS(still inputs) and that rand-archive-2 is abandoned, chain 21's history on record starting at height 187 556 (e, obs1). SELFTEST 404 → 426. - Chain 22 drops archive2 and accepts a pruned carry scan on the record (owner's decisions of
2026-11-19).
BONDEDdefaults toobs1 g1 g2 g3 g4 g5 g6and no other list is accepted: chain 22 starts with 25 validators (quorum 17), the beacon takes 25 commitments, nothing reads archive2's registration or key, and archive2's chain-21 stake is not recreated — the cut prints it and the record'sdrops:must name archive2.PRUNED_SCAN_OK=1letssnapshotandbalancesread a node withprune_floorabove 0 (none other exists: e and obs1 prune below 187 556), prints the floor loudly and records it; the cut then needs the override and ascan-floor:record line naming the floor, and refuses the override when nothing was pruned. A pruned scan is complete for shielded notes and spends and misses only an envelope below the floor that does not open (RS-1). SELFTEST 426 → 444.
Node (issue #166, ZKVM-201; node-only, no wire, genesis or consensus change):
- A build of one constraint set no longer starts on, or truncates, a datadir of another. A
genesis records no constraint set, so a re-vendored binary that still carried the chain's guests
passed
check_build_runs_genesis, read every proof in the chain's history as a corrupt block at its startup walk, and truncated the chain (rundid this itself;verify --repairtoo). Now:BUILD_CONSTRAINT_SETis held to the vendored zkVM'sCONSTRAINT_SETat compile time;constraint_set::CHAIN_CONSTRAINT_SETSlists chains 14-21 by genesis hash with the set each was cut under, and a listed chain of another set is refused by name with both numbers; andinitandrunwrite<datadir>/constraint-set(one number), whichrun,verify,verify --repairandinitread before the database is opened — a datadir of another set is refused and left byte-identical. A datadir with a database, no marker and an unlisted genesis (a devnet from before this release) still starts, but a walk that finds a problem there is an error instead of a truncation until the marker exists; a clean walk writes it. Chain-21 hosts need nothing: the table covers them and the first start writes the marker. Operators:constraint-setis part of the datadir — copy it withgenesis.jsonanddb/. deploy/sync-zkvm.shends ondeploy/check-constraint-set.sh: it prints the vendoredCONSTRAINT_SETbefore and after the sync and exits non-zero when the node's number was left behind. CI'sguest-provenancejob runs the same script against circuits atCIRCUITS_PIN.- A chain cut says which row it owes
CHAIN_CONSTRAINT_SETS, andcheck-limitsrefuses a tree without it.deploy/cut-chain22-genesis.shprints(22, "<genesis hash>", <set>),and appends it to the cut record asconstraint-set-row:; itscheck-limitsruns the newdeploy/check-constraint-set.sh --chain N --genesis-hash <hash> [--binary-set M]and exits non-zero until the table holds exactly that row at the node's set. The table's unit tests hold it to the committeddeploy/genesis-chain<N>.jsonfiles in both directions and toCHAINS_THIS_BUILD_CANNOT_RUN. The sets listed for chains 14-20 were checked against the cut records and the vendored zkVM at each cut: all confirmed, none changed.
Node, wallet and viewing (audit v14 addendum rows; node-local policy and client-side reading only: no wire, storage-format or consensus change):
- CON-701, the first minute (Medium, was Partial): without
--max-state-proof-tiera node holds its state-proof tier cap at 16 or lower from its start until the first re-reading of the memory left, a minute later; a fresh process's small resident size no longer reads 18 on an 8 GB host. The startup warm follows the held cap and builds the shapes above it once a re-reading admits their tier. The flag still wins and is never re-read. Not closed: nothing measures that the node has reached its working size at that first re-reading. - CON-752: the cap's wiring is pinned by tests: the host reading, the startup default, the status tick's call, the refresh's recurrence and the least-of rule of the cgroup walk (a fixture tree, so it runs on macOS; the real Linux readers have a Linux-only test).
- CON-751 (docs):
docs/perps.md,docs/node-hardware.mdanddocs/cli.mdgive the default cap per host size. A 2 GB validator underMemoryHigh=85%reads 14 or 12 at rest and does not pool or relay a cold tier-16 state proof unless--max-state-proof-tier 16is set; the v0.8.5 entry's "16 on 2 GB and 4 GB hosts" is true of that release's host-total rule only. - VK-751: a note is
sentonly when its creator field is the key's own address, in the wallet and in the node's viewing scan. A leaf whose sender part opens but whose creator is a chain-fixed word (a relayed deposit, a mint, a payout, a perps withdrawal) issent_unverified(a newrolevalue inrand_getViewingNotes; "(sender unverified)" inrand history); one created by another key is no row. A holder of a wallet's viewing key can no longer plant sent payments in its history. Rows an existing wallet store already holds are reclassified by a rescan. The explorer and the wallet apps carry the same rule in their own repositories. - VK-1003, VK-1004:
program_codeandassets()refuse out-of-range or wrong-typed reply values instead of truncating them or reading zero. - LED-1001: the perps digest log loads an out-of-order stored document in one pass (it was quadratic: 4,096 descending entries took seconds); the stored bytes are unchanged.
- PROV-1001 (
deploy/prover/router.py): a job the router has forgotten is remembered only against a member that answers for it (HTTP 200 with a JSON-RPCresult). An HTTP error, a body that is not JSON-RPC or another JSON-RPC error used to pin the job to that member for an hour; the first two are now an outage (503) and a member's own refusal is relayed, neither remembered.
Deploy and records (audit v14 addendum rows; no node code, no host touched):
- The one-at-a-time roll is a committed script:
deploy/roll-fleet.sh(PROC-751). The v0.8.5 and v0.8.6 rolls ran from a throwaway loop roundupdate-droplet.sh; the rejoin gate their records describe was in no file.roll-fleet.shreads the inventory (NODES_ENV), verifies the signedSHA256SUMSbefore any host (unsigned refused withoutALLOW_UNSIGNED=1), rolls one host at a time throughupdate-droplet.sh, and after each polls the host and a reference node until the host is active on the release's binary, within--within(5) blocks of the reference with at least--min-peers(10) peers, and the reference has moved; after--timeout(900 s) the roll stops.--skip,--last,--ref,--dry-run. It writes the roll record itself: both sha256s and how they were authenticated, the gate's numbers, the hosts skipped, and per host the timestamps and the values the gate read.SELFTEST=1 bash deploy/roll-fleet.shruns it against sandboxed hosts (66 checks). update-droplet.shandPRUNE_ARGS(PROC-751): from 2026-09-24 (65f75553) to 2026-11-08 (7e640561, v0.8.6) the new-binary path expanded${PRUNE_ARGS}underset -u, so it aborted on any new binary unlessPRUNE_ARGSwas set, before the service was stopped or anything installed. The fix is v0.8.6's (${PRUNE_ARGS:-}); the script's header now says so, and the selftest runs that path withPRUNE_ARGSunset and set.- The limits selftest runs what the hosts are sent (PROC-701): its
sshstub only recorded each remote command, so an install step sent insideif false; then … fistayed 40 of 40.deploy/lib/host-sandbox.shnow runs each remote command in a temp root per host with a fakesystemctlthat models drop-in order, reload and start; the checks read the host's files and theLimitNOFILEits service started with.vps-setup.shis run there too (it was only searched as text: with the line that loads the library deleted, the selftest stayed green and a fresh host got no drop-in), and now fails loudly when the library or its script is missing. 66 checks; a dead-branch install in each roll path, the deleted library load and each of the three call-site deletions turn it red. - A legacy drop-in keeps what else it sets (PROC-702 residual): the clean-up moved the whole
file aside, so a drop-in that also set an
Environment=orExecStartPre=lost it; such a file is now rewritten without itsLimitNOFILE/MemoryHighlines (the original kept as<name>.removed), and a file that sets nothing else is moved as before. A key written with blanks round the=(LimitNOFILE = 65536) is matched. - Records and dates (DOC-751, DOC-601): the v0.8.6 entry's date is the tag's in UTC
(2026-11-08; it said 2026-11-09, the roll's date) and has its roll line; the v0.8.5 CON-601
entry points at v0.8.6, not at an empty Unreleased;
AGENTS.mdanddocs/deploy.mdsay chain 21 runs v0.8.6;AGENTS.md's release list no longer calls v0.8.3 "no wire change" (it added the stem and anonymous-lane protocols) and says what the v0.8.6 tags on the other repositories mean (CLI-751);deploy/roll-records/v0.8.6.recordcarries an amendment of 2026-11-17 (its probe line, its host count, the procedure that ran). - The msauth proof figures (MSC-751):
docs/multisig.md,docs/cli.md,docs/prover.md,docs/shielded.md,docs/node-hardware.md,docs/zkvm.mdand the chain-21 runbook said no multisig authorisation proof had completed and to plan for 96 GB. One Production proof completed on 2026-11-06 (M = 3, tier 18, 3.7 MB, 69 minutes, peak RSS 92.9 GiB ≈ 99.7 GB): at least 128 GB. It has not been submitted on chain 21 by a wallet flow; the logs are the operator's.
Docs (issue #119, AGG-E2E-2; no code change):
- Aggregation's memory figures lead with the vendored build, not with constraint set 8.
docs/node-hardware.md§4 (and its §5 and DigitalOcean tables) anddocs/aggregation.md("Before enabling aggregation", §1, §3.8, §6) led with the constraint-set-8 measurements (376.9 GB for a production N = 1 aggregate, so "≥ 512 GB"; ~750 GB and over 1 TB estimated for N = 2 and 3) and appended later projections piecemeal. They now state first what holds for the build vendored today (circuitsb3e21d9, constraint set 9, rVM phase 5): production N = 1 / 2 / 3 at 235 744 / 471 105 / 706 466 rows, rVM tiers 18 / 19 / 20, and the tree's production leaf and step at tier 19, all by emulation; N = 1 projected at ≈ 32–75 GB (a ≥ 96 GB host); the 256 GB droplet as the tree's class on record, projected when its steps were tier 21. No production aggregate has been proved since constraint set 8, so those runs stay in the docs as labelled history: superseded, not re-measured, and "≥ 512 GB" outdated rather than disproven.docs/aggregation.mdgains a short "What is still open" list (the targeted forgery, still not built; one measured production-profile run; the bundle shape andaggregate_program_digeston the build that cuts, which constraint set 10 moves from792a66d4…toa3d5c38b…, issue #166).docs/deploy.md,docs/compute-optimization.mdandREADME.mdfollow.
Node, network and deploy (monorepo audit-v14 issues, merged 2026-11-18/19; no consensus change — what each needs before it takes effect is in its PR):
- A committed systemd drop-in turns the public RPC listener on (VK-2; deploy only, no
consensus or network change):
deploy/systemd/rand-node.service.d/60-public-rpc.confsetsRAND_NODE_PUBLIC_RPC=127.0.0.1:8546, which--public-rpcnow also reads;DROPIN=1 deploy/enable-public-rpc.shinstalls it. Newdeploy/check-public-rpc.shchecks a listener, tunnel end or host — the viewing-key methods,rand_mint,rand_getPeersand batches must be refused by the node's public listener — and its output is the deploy record's evidence. The live hop's check is still to be run and stored. (#186) deploy/sign-release.shno longer erases existing signatures (PROC-5; release tooling only): without a flag it refuses where aSHA256SUMS.sig*exists;--appendadds a second holder's signature beside the first, refusing a duplicate signer or a signature set that is not over thisSHA256SUMS;--replacestarts over. Self-tests for the two- and three-holder flow and for k-of-n verification run in CI. Still one release key listed and a threshold of 1: the second key and the raise to 2 are the owner's. (#188)- A node stems around a successor that acknowledged a stem and went silent before it publishes (PRIV-604; network behaviour local to the node, no wire or consensus change): the first time a held transaction's embargo runs out the node sends it to a successor that has not had it, under a fresh embargo, and publishes it itself only when that one runs out too or it has no such successor. Before, the submitter of a transaction whose successor dropped it was the node that published it. (#183)
- A request body is charged against the admission budget at three times its length (OPS-602;
node-local, no consensus or network change):
tests/burst_memory.rsmeasures the 27 Oct burst on a real node with a counting allocator and found a 5.8 MB body held about 18 MB while the budget counted it once — 24 at once held 344 MiB on a 2 GB host's 117 MiB budget. The budget's floor counts the largest body the same way (129 MiB on chain 21, which is now a 2 GB host's default). Measured heap now stays at about the budget for any burst size; over-budget submissions hear-32005before their body is read. Newdeploy/probe-memory.shrecords each host's RAM, swap,MemoryHigh, resident memory and budget. Not re-run on live 2 GB hosts; the test's proofs do not verify, so verifier scratch is unmeasured. (#185) - From v0.9.0 a node gossips transactions on the anonymous lane only by default (PRIV-601;
network only, no consensus change): the default follows the node's own version — a v0.8.x node
still subscribes and relays on the legacy signed topic unless
--anonymous-tx-only, a v0.9.0 node leaves it unless the new--legacy-tx-relay(or--legacy-tx-publish). Interoperates with every node since v0.8.3.tests/dandelion.rsnow runs a first-spy measurement in process; the fleet run is still to be recorded, so origin hiding on chain 21 remains design intent. (#180) rand_getScanLeavesis refused by default from v0.9.0 (RPC-201; RPC only, no consensus change): the default now follows the node's own version — served before v0.9.0 unless--disable-scan-leaves, refused from v0.9.0 unless the new--enable-scan-leaves— so the flip the owner decided on 2026-11-05 happens with the version bump. No change on a v0.8.x node. A serving node logs a warning at its 1st, 2nd, 4th, … served call (the count only), so the journal shows whether wallets before v0.8.3 still scan through it. (#179)randrefuses the retired RandProtocol prover keys (VK-9; wallet CLI and pool router, no consensus or network change): the build carries the list (the shared key retired 2026-10-01 and the four members retired 2026-10-22), never stores a pairing with one and never sends one anything, so a pairing file from an olderrand prover pair --trustedis refused at the update — runrand prover pair --trustedagain. The pool answers a retired member's URL with HTTP 410 and a reason instead of an empty 404. Wallets 0.6.9–0.8.0 still pin those keys and must be updated; no release can change that. (#187)- A state proof that pays more than the exchange can hold is not pooled (PERP-6, node policy
on every chain; consensus unchanged): the pool's pre-screen and its direct insert refuse a
PerpStateProofwhose payouts total more thanMempool::payout_ceiling— the chain's count under genesisperps.bound_payouts; otherwiseinitial_collateral + rand_in − rand_outfor RAND collateral and the token's total supply for a token — so it is not verified, pooled, relayed or proposed by this node (StateProofOverpays: not cached, no peer penalised). On chain 21 a block that carries one still applies; the validity rule isbound_payouts, at the chain-22 cut. (#173) rand-node run --max-multisig-accounts <COUNT>(MSA-4, node policy; consensus unchanged): once the multisig register holds that many accounts, the node's pool refuses aCreateMultisig(MultisigAtNodeCap: not cached, no peer penalised), so it is not verified, pooled, relayed or proposed there. Off by default. For a chain whose genesis sets nomultisig.max_accounts(chain 21): a block carrying a create still applies, so the register is bounded only when every proposer sets the flag. The validity rule stays genesismultisig.max_accounts, an operator input of the chain-22 cut. (#176)- Chain-22 cut: the record must say how validators hold the tier-18 key build (CON-601,
CON-60; deploy script only):
deploy/cut-chain22-genesis.shrefuses a cut record whosereason:,carries:andclients:lines name neitherCON-601,validator memorynorkey build. The engine pin bounds the shapes a state proof may declare, not what a key costs to build: a block carrying amax_tier-18 proof makes every validator build a ~3.6 GB key, which node policy cannot refuse. Listed as OPEN 9 in the script and indocs/deploy.md. (#174) - PERP-101, the
max_window_heightsdecision (docs and a test; no behaviour change):docs/perps.mdtabulates what the chain-22 input costs — heartbeat interval, state proofs a day on an idle chain (heights / max_window_heights, so the lower bound 64 needs as many proofs as chain 21's dense rule), back-pressure distance — and a ledger test pins the proof counts. (#177) - Prover pool router: an IPv6 /64 is one address, and active addresses split the capacity
(VK-10, audit v13;
deploy/prover/router.py, deploy only): the submit meter keys an IPv6 client on its /64, and when more than 1/SUBMIT_SHAREaddresses were admitted a submit in the last ten minutes each one's refill is an equal split of the pool's capacity instead ofSUBMIT_SHAREeach. Three addresses alone still take about 90% (README). Needs a router roll. (#178)
v0.8.6 — 2026-11-08 (chain 21, node-only; audit v13 rows; no wire, storage-format or consensus change; rolled 2026-11-09)
Rolled 2026-11-09 00:16–02:22 UTC, one host at a time: tag 6591c884 (tagged 2026-11-08 19:20 UTC),
rand-node sha256 61c2a8bb… from the user-signed SHA256SUMS, by the roll record
(deploy/roll-records/v0.8.6.record). Read the record with its amendment of 2026-11-17: no probe
output was committed with it, its host count is to be settled by a fleet probe, and the loop
that ran is committed only since (deploy/roll-fleet.sh).
- Chain-22 cut (
deploy/cut-chain22-genesis.sh): the genesis setsperps.max_pending_digests = 65536, the owner's decision of 2026-11-05 for chain 22's perps digest cap (about 18 h of input-bearing blocks with no prover; ~2.6 MB of log). The script writes it in the perps section, asserts it on the finished file, probes it in the genesis hash (eight variants now), reads it back incheck-limits, and refuses arand-node(orEXPECT_NODE_VERSION) below v0.8.5, the first release with the field.docs/deploy.mdlists it.
Node (audit v13 rows; node-only, no wire, storage-format or consensus change):
- A failed gossip copy no longer ends a held stem transaction's embargo (PRIV-701): a
marker-form copy (GOSSIP-2) of a transaction this node holds on the stem carries the held one's
id, is queued, and fails
PrunedFormOutsideSync; that failed verdict took the honest transaction out of the stempool and cancelled its embargo, so it was neither held, pooled nor published although its submitter had heardOk. Only anOkverdict ends the embargo now. - A full stempool no longer publishes the node's own submission first (PRIV-605): at 1 024
held transactions or 64 MiB,
decideansweredFluff(Full), so a transaction submitted over this node's RPC was pooled and published by the submitter itself. The submission now makes room by fluffing the oldest transactions the node holds for peers (theFullfluff a relayed arrival gets) and takes the stem as usual. A relayed arrival at a full stempool is still fluffed, and when every held entry is the node's own the old answer stands. - The default state-proof tier cap counts the memory left (CON-701): v0.8.5 sized
--max-state-proof-tier's default from the host's RAM alone, so host e (7.9 GB;MemoryHigh=85%is 6.7 GB; the node ~5 GB resident) kept tier 18 and a free forged tier-18 header bought a 3.56 GB key build there. The default now fits the documented build peak in three quarters of min(host RAM, the cgroup v2memory.high/memory.maxof the node's cgroup and its ancestors) less the node's resident size, at startup and every minute on the status tick (logged when it moves). Host e is 16; a 16 GB host with a small node stays 18. With no cgroup or/procreading (macOS) the old rule stands.--max-state-proof-tierstill overrides it.
Deploy (audit v13 rows; no host touched):
- The limits drop-in's wiring is tested by running the roll scripts (PROC-701): the selftest
checked only that
update-droplet.sh,roll-all.shandvps-setup.shmentionunit_limits_install_script, so deleting the already-current refresh inupdate-droplet.shor the install step's call inroll-all.shstayed green.SELFTEST=1 bash deploy/lib/unit-limits.shnow runsupdate-droplet.sh(already current, written and unchanged; and a new binary) androll-all.shagainst stubssh/scp/launchctlthat only record, and asserts each path sends the install script to each host before its restart or stop-all; either deletion turns it red.vps-setup.sh(root on a fresh host) is checked for a live call before the node's first start. Running it found thatupdate-droplet.sh's new-binary path died underset -uwithPRUNE_ARGSunset (${PRUNE_ARGS}in thesed); it is${PRUNE_ARGS:-}. - The hosts' hand-placed
nofile.confis retired by the next roll (PROC-702): every host still had therand-node.service.d/nofile.confof 1 Nov beside the generated50-limits.conf; it sorts after it, so it is what setLimitNOFILE. The install scriptunit-limits.shwrites now also moves aside (<name>.removed, which systemd does not load) any other*.confin that directory that setsLimitNOFILEorMemoryHigh, on every run whether or not50-limits.confchanged, with onedaemon-reloadand alimits: removed legacy <path> …line each; a second run removes nothing.update-droplet.sh's already-current branch restarts the node after such a removal too.
v0.8.5 — 2026-11-04 (chain 21, node-only; audit v12 rows; no wire or consensus change; rolled 2026-11-04 to all 25 inventory hosts)
Rolled 2026-11-04 17:46–19:52 UTC to all 25 inventory hosts (archive2 offline, skipped) plus the
durian site node: tag d8efd472, rand-node sha256 2cdb3d18… from the user-signed SHA256SUMS,
with rand-node.service.d/50-limits.conf written on every host. Fleet probes of 2026-11-07 show
25/25 on 0.8.5 (deploy/roll-records/v0.8.5.record).
Node (audit v12 consensus-adjacent rows):
- CON-601 (node policy, every chain; consensus unchanged):
rand-node run --max-state-proof-tier <T>caps the perps state-proof tier a node verifies for its pool when it holds no verifier key for the proof's shape. A cold proof above it is refused at the pool's pre-screen, before the ledger's segment, the executor's pre-key rules, a cold-build token or a key build, so it is not verified, pooled, relayed or proposed there (StateProofAboveNodeTier: not cached, no peer penalised). The default is the highest tier whose documented key-build peak fits in three quarters of the host's RAM: 16 on 2 GB and 4 GB hosts, 18 from about 5.73 GB, 20 from about 22.9 GB (audit v13, CON-701, sizes it from the memory left instead; see v0.8.6). The startup warm skips shapes above the cap too. A block carrying such a proof still applies and builds its key: that residual waits for chain 22's genesis engine pin. Also, the state-proof pre-key checks now refuse a FRI transcript of the wrong structure (commit rounds, proof-of-work words and openings of unequal counts, no round, an arity out of range, another query count, another final-polynomial length) before the key; each is a check the verifier makes after the key, so no verdict moves. - PERP-5 (genesis-gated, off on chain 21):
perps.max_pending_digests(requiressparse_windows;max_window_blocks..=1 048 576). While that many recorded digests wait on a state proof, deposits, orders, cancels and withdrawal requests are refusedDigestLogFull(retryable) until a proof drains the log; only the sparse-window heartbeat keeps recording. Absent, the section's genesis bytes, JSON and stored row are unchanged (chain 21 replays byte for byte); set, the stored row carries a second trailer version (rand-perps-ext-2), which an older build cannot read.rand_getPerpsreportsmax_pending_digests(0 when unset).
Node (audit v12 network and privacy rows; node-only, no wire or consensus change):
- Validators' hosts stay reserved across a restart (NET-601): the source addresses the
connection guard learned for validators' peers are written to the store every five minutes
(
reserved_sources, beside the peer bindings) with the time each was last seen, and put back before the first connection at the next start. Their 24 h expiry runs on across the stop. A fleet-wide restart no longer leaves the reserved pending slots serving only the bootstraps' hosts. A build that predates the row ignores it. - No signed legacy copy of a node's own transactions by default (PRIV-601): v0.8.3 and v0.8.4
published every fluffed transaction on the signed legacy topic
rand/<chain>/txas well as the anonymous lane unless--anonymous-tx-only, which no deploy template set, so every fluff named its fluffer. A node now publishes only on the anonymous lane; it still subscribes to and relays the legacy topic, so transactions from nodes before v0.8.3 still arrive.--legacy-tx-publishbrings the signed copy back for a chain that still needs it. Transaction origin hiding remains design intent, not a measured property, until the first-spy test is re-run against a fleet running these fixes. - Stem successors are chosen by trust and host, not by who dialled whom (PRIV-602): the
router preferred peers this node had dialled, but identify-advertised addresses are redialled
every 30 s, so any peer that connected once became one. Successors now come first from trusted
peers (validators by their signed binding, bootstraps,
--reserved-peer), and a public host is one candidate and holds at most one of the two successor slots however many identities it runs. In the router simulation, 24 identities on one host against 12 honest hosts take the submitter's route in about 1/13 of epochs instead of 65%. - A held stem transaction is answered like an unknown one (PRIV-603): a copy of a
transaction this node holds on the stem, arriving over gossip, used to be accepted (and so
relayed) at once, and an RPC resubmission of one answered
Okat once, while an unknown one waited for its verification. Both now take the ordinary verify queue and are answered on the verdict; the gossip copy's verdict also ends the embargo. Costs one extra verification per holder per such copy. - One embargo distribution, and a silent successor is routed around (PRIV-604): the
submitter's embargo was
2b + Exp(b/4), never under a relay'sb + min(Exp(b/4), b), so the delay before a fluff told a successor that dropped the stem whether its predecessor was the origin. Every holder now drawsb + min(Exp(b/4), b). The stem acknowledgement timeout drops from 10 s to 1.5 s, under the 3 s default embargo, so a successor that never answers is dropped and the transaction rerouted to the other successor before any embargo fires. (A successor that acknowledges and then drops is still covered only by the embargo.)
Node and deploy (audit v12 operations rows):
- Every roll writes the service's limits (PROC-601):
deploy/lib/unit-limits.shwritesrand-node.service.d/50-limits.conf(MemoryHigh=85%,LimitNOFILE=524288:524288) idempotently.update-droplet.sh,roll-all.shandvps-setup.shall call it, so theMemoryHighof #157, which lived only in two unit templates and reached 0 of 26 hosts, is on every host after this roll.SELFTEST=1 bash deploy/lib/unit-limits.shruns in CI. - Early low-disk warning (OPS-601): under 16 × the startup minimum (16 GB by default) the
node logs
disk_warnhourly with the measured growth rate and the days left todisk_low;rand_getHealthcarriesdisk_warn,free_bytes,disk_bytes_per_dayanddisk_days_leftbeside an unchanged status word. Archive sizing is indocs/node-hardware.md(about 5 GB a day unpruned). - The 27 Oct burst, re-run in process (OPS-602): tests only. The admission byte budget bounds
counted bytes, not RSS, so on 2 GB hosts
MemoryHighand the 4 GB validator minimum remain the OOM protection (docs/rpc.md). --disable-scan-leaves(RPC-201): refusesrand_getScanLeaveson both listeners with-32601naming the flag. Off by default, since wallets before v0.8.3 still scan with it.
Client and prover pool:
rand multisig-private signapplies the apps' fee rule (MSC-2): it refuses a fee over--max-fee(default 0.1 RAND) or over the RAND the proposal pays out;--allow-high-feeoverrides.randprotocol-msiggainsDEFAULT_MAX_FEE,fee_refusalandsign_expecting_within_fee.- The router's per-address submit rate follows the pool's capacity (VK-10): one address's
refill is
SUBMIT_SHARE(default 0.3) of the members' measured capacity, so one address gets about a third of the pool's jobs instead of about 85%. A setSUBMIT_PER_MINis a ceiling, not an override.
- Perps digests no longer cost per block in proportion to the chain's length. A chain nobody
proves on keeps one digest per block: at height 654 000 on chain 21 every
Ledgerclone copied 25 MB, every state root rehashed them all and every commit rewrote a 26 MB row.DigestLogholds them in shared chunks with cached Merkle roots; the root and the serialized bytes are unchanged, so this is not a consensus change and needs no cut. - Storage: digests are stored as one
CF_METArow per height (perp-digest/<height>). The first commit moves them out of theMETA_PERPSrow in one batch. A node that has committed on v0.8.4 cannot go back to an older build on the same database: the older build would read no digests. Keep a copy of the datadir if a rollback must stay open. - RPC:
rand_getPerps.pending_heightslists the lowest heights (at least 4 096 and at leastmax_window_blocks), withpending_heights_moreset when more wait. The other perps reads no longer load the log.
Node:
- RocksDB caps its open table files and merges small ones (2026-10-28 incident): archives e
and obs1 crash-looped at open with
Too many open filesonce they held ~67 000 table files against the 65 536 soft limit — WAL-full flushes write the quiet height-keyed families (anchors,perp_inputs,notes) a few KB at a time, and RocksDB only moves such files down, never merges them.max_open_filesis now 16 384 (a table cache instead of every file open), and every 1 024 blocks a background pass force-compacts runs of small files, at most 256 MiB a compaction and 1 GiB a pass, sharing the history compaction's one-at-a-time flag. - Dandelion++ stem relay for transactions (issue #145): a transaction submitted over RPC is
sent to one stem successor over the new request-response protocol
/rand/<chain>/stem/1, relays pass it on and fluff it (publish on gossip) with probability q, and an embargo timer on every holder fluffs it if the stem drops it. Stem transactions sit in a stempool no RPC, sync request or proposal sees.--dandelion on|off(on),--dandelion-fluff-prob(0.1),--dandelion-embargo-ms(3000). The transaction lane publishes withoutflood_publish. Only peers that advertise the protocol get stems, so it rolls node by node (docs/deploy.md, "Dandelion++"). - Transactions gossip anonymously (issue #146): a second gossipsub behaviour,
MessageAuthenticity::AnonymousunderValidationMode::Anonymous, protocol/rand/<chain>/txsub, topicrand/<chain>/tx/2; consensus, status and peer bindings stay signed. Rolls node by node with the legacy signed topic still published and relayed;--anonymous-tx-onlydrops it once no older node is left (docs/deploy.md). - No duplicate-publish WARN spam (issue #144): a status's gossip id covers its author and
sequence number, so an unchanged status re-announced on a connect or the 3 s tick goes out
instead of being dropped as "already published";
PublishError::Duplicateis a debug line. - No ANSI colour in journald (issue #143):
rand-nodeandrand-provercolour their log only at a terminal and never underNO_COLOR;deploy/update-droplet.shdrops "chain 14" from an old unit'sDescription=. - Admission memory is bounded (issue #157): one byte budget (
--admission-budget-mb; default 1/16 of RAM within 64–256 MiB, never under one largest transaction) over RPC request bodies and the verify queue, gossiped and submitted. Past itrand_sendTransactionanswers-32005(HTTP 503,Retry-After: 1) without reading the request into memory, and gossip sheds withIgnore.rand_statusgainsadmission_bytesandadmission_budget_bytes. The hashrand_sendTransactionreturns means verified and then stemmed or broadcast (pooled and handed to gossip), now documented; a stemmed transaction is charged on the verify queue like a gossiped one and dropped, its peer unpenalised, past the budget. The unit templates setMemoryHigh=85%; 4 GB is the validator minimum. - Faster proving (issue #151): the hiding PCS's random columns and the hiding MMCS's Merkle
salts are ChaCha20 counter-mode streams filled in parallel (
vendor/p3-merkle-treecounter_rng.rs), sampled exactly as before; verifier-key label streams keep the serial draw, so no verifier key moves and the wire format and verifier are unchanged.ProverDatais cached per(profile, tier, table heights)in a process-wide LRU (4 shapes, tiers ≤ 16). A tier-14 bundle proof on an M4 Max: 19.5 s → 11.3 s (10.1 s warm); an auth proof 1.4 s → 0.9 s. - One decode per proof per admission (issue #152): the canonical decode is memoised on the
exact bytes across the header checks and both verifies, and
rand_sendTransactiondecodes its hex body withfaster-hex(18 ms → 1.2 ms for a bundle); an admission is ~63 ms, was ~90 ms. faucetmeans this node can mint (issue #153):rand_status.faucetandrand_getEmission.faucetaretrueonly on a validator whose key is a faucet minter, andrand_minton any other validator refuses up front, naming the minters.
Deploy tooling (no node or chain change):
deploy/cut-chain22-genesis.sh: the chain-22 cut, derived from chain 21's script with chain 21 as the source, switching on v0.8.2's genesis-gated rules —program_state.refuse_panics(PST-1, monorepo#15),perps.bound_payouts(PERP-6, #13),perps.sparse_windowswithperps.max_window_heights(PERP-101, #12),perps.engine_program_log_height14 (CON-60),multisig.max_accounts(MSA-4) andtokens.incremental_root— each asserted on the finished file, field-probed into the genesis hash and read back bycheck-limits.max_window_heights,max_accountsand the treasury's balance are the owner's (no default); chain 21's treasury vault, perps exchange and program vaults are refused unless dropped knowingly and named on the record. Not run: no cut was made (docs/deploy.md, "The next cut: chain 22").
Wallet (rand; client-only, no node or chain change):
randno longer exits 1 after a successful submit (#141):submitted <kind> <hash>is printed on stderr as soon as the node accepts a transaction; status polls that time out or are reset are retried with backoff until the wait's deadline; a wait that never sees the commit exits 4 ("submitted, confirmation unknown", with arand tx <hash>hint). Exit 1 is a real failure only. New global--wait-timeout <SECS>/RAND_WAIT_TIMEOUT. Exit codes indocs/cli.md.- Behaviour change:
rand token create --initialand--fixed-supplyread display units at--decimals(#142), astoken mint --amount,token burnandsend --assetalways have:--decimals 6 --initial 1000000is now a million tokens, not one. The base-unit form is--initial-units/--fixed-supply-units. Scripts that passed base units must switch to the-unitsflags.token createechoes the mint asminted <display> <SYMBOL> (<N> units). - Privacy: the scan no longer reveals which leaves are the wallet's (#147):
randpagesrand_getCommitmentsover the whole range in fixed 500-row pages and decides ownership locally, so its requests do not depend on what it owns; it no longer readsrand_getScanLeaves. Cost: at most ~2.26× the bytes of the v0.8.0–v0.8.2 heads scan (3 885 vs 1 720 bytes of JSON a leaf on chain 21's envelope).--scan-chunkis accepted and ignored, with a warning. --proxy <URL>/RAND_PROXY(#148): every request to the node and to a paired prover goes through a SOCKS5 (socks5h://for Tor,socks5://) or HTTP(S) CONNECT proxy; a dead proxy fails the command, never a direct connection. reqwest'ssocksfeature is enabled in the client (no new crates: reqwest 0.12.28 proxies through hyper-util). Tor recipe indocs/cli.md.
Runs on chain 21 as it is: every rule below that changes what a block may contain is switched on
by a genesis field chain 21 does not have, so chain 21's genesis hash (ca76c276…ca9a) and its
replay are unchanged. Upgrade note: MSA-4 below splits the multisig register into rows at the
first open; snapshot each datadir before rolling.
- rVM phase 5 re-vendored (circuits
b3e21d9,recursion/docs/10-phase5-n2-tier19.md; node-only until a chain admits aggregation): the recursion programs are 235 418 rows an inner verification (315 391 before), so a production N=1 aggregate is tier 18 and N=2 tier 19;admitted_tiersproduction is {18, 19, 20, 21};verify_rv32.digestc3065887…1b24and the productionaggregate_program_digest792a66d4…a982(8bc2cecb…d8c7before). No ISA, AIR or key change; constraint set 9 and every wallet proof are untouched.
Audit v10 fixes (node and client policies, no chain change unless a genesis field says so):
- CON-101 (consensus, node-only): a proposal whose bundle proof is the pruned marker form —
hash-equal to the leader's honest block — is refused on its body by both prechecks
(
MarkerFormInProposal) and never takes the honest block's place in flight. - CON-102 / NODE-101 (node-only): the recent-transaction cache hashes every body it files; a rebuilt compact block's bodies are remembered only once the precheck accepts it; a startup checkpoint skip still hashes the ledger snapshot against the tip's state root and refuses to start on a mismatch.
- RPC-201 (client-only):
randreads envelopes by whole aligned chunks of--scan-chunkleaves (256;0= every envelope) after paging scan heads, so the node learns the chunk and not the leaf (docs/rpc.md, scan heads). Heads are paged on chunk boundaries (whole chunks, at least 500 leaves), so no chunk straddles two pages and each is read once per scan; the chunk count is a lower bound on the wallet's notes, and a partial tip chunk hides a leaf only among the leaves written so far (documented). - MSA-4 (genesis-gated, next cut): genesis
multisig.max_accountscaps the public multisig register; aCreateMultisigpast it is refused (RegisterFull, permanent). Absent — chain 21 — the register is unbounded and the genesis hash is unchanged. Node-only: each account's leaf hash is cached, so a state root rehashes only the accounts that changed, and the store keeps one row per account (multisig_accountscolumn family) plus a totals row, so a commit writes only the accounts its blocks touched; a store's one-blob register is split into rows at the first open (rand-node db restore-multisig-blob --datadir <dir>, node stopped, restores v0.8.0's layout before a downgrade). Upgrade note: snapshot each datadir (stop the node, copy it) before rolling this build; that rollback needs no tool. - MSA-1 / MSA-2 (docs):
docs/multisig.md,docs/cli.md,docs/prover.mdanddocs/shielded.mdsay plainly that no private-multisig (tier-18) auth proof has yet been completed or verified by a node; ≈ 76 GB is a lower bound from a stopped Test-profile attempt, not a measured footprint; the end-to-end test is ignored and has not run to completion; funds sent to a private-multisig address may not be spendable yet. - DOC-32 (docs): README,
docs/deploy.mdanddocs/multisig.mdname chain 21 (v0.8.0, constraint set 9) as the running chain and chain 20 as retired; the chain-18 gas pages no longer say "not yet cut";docs/tokens.mdno longer says RPL is uncut; the README release table gains v0.8.0. - OPS-402 (deploy tooling): with chain 21's genesis committed,
deploy/cut-chain21-genesis.sh'sDRY_RUN(and so its selftest and the 26-host rehearsal, which cuts two dry-run files) scans a copy of the committed genesis files without chain 21's own; the real cut still refuses chain id 21. Selftest 237 of 237. - PST-1 (genesis-gated, next cut; pool policy now): an
Invokewhose call proof publishesguest-sdk's panic sentinel (0xdeadbeefin output 7) is refused (ProgramPanicked) on a chain whose genesis setsprogram_state.refuse_panics: true(rand-node genesis --program-state-refuse-panics); bound into the genesis hash only when set, so chain 21 hashes and replays as before. Every node's pool refuses such an invoke on every chain (node policy, never cached). A trapping run has no execution and so no proof; tests cover panic, trap and a normal exit on the real executor. - NET-1 (node-only): the node-wide cap on inbound handshakes is the connection guard's, not
libp2p's identity-blind one, and holds slots back for reserved peers (validators and
bootstraps): 96 pending in all, 32 of them only for a source address a reserved peer is known
at (its bootstrap address, an address it was learned at, or a connection it held). Strangers
keep the 64 they had and can no longer lock a validator out by stalling handshakes from many
hosts. The per-address cap (4) still applies to everyone.
One reserved peer holds at most 4 reserved slots over all its sources; of the addresses it
advertises only one is trusted; observed sources evict advertised ones; advertised and
observed sources expire 24 h after they were last in use — a source with a connection open
never expires (bootstrap addresses never do). Every validator
should be in the fleet's
--bootstraplists, since learned sources do not survive a restart.
Prover pool and release tooling:
- VK-9 / PROV-301 (client):
randpins the two pool membersaandb(names, key fingerprints, URLs); the four retired members and their keys are removed.deploy/proverdocs carry no host addresses. - Prover memory gate (client, prover):
randrefuses a local proof before any work when the machine reports less free memory than one proof peaks at (6.2 GB measured);--skip-memory-check(orRAND_SKIP_MEMORY_CHECK) overrides, asrand-prover rundoes. Proofs that are always local (call,invoke) are checked whatever--proversays.deploy/proversetsMemoryMaxto 7 GB a proving slot plus 1 GB. - CLI-301 (client):
rand prover pair --trustedon a build whose pins are out of date says to updaterandto 0.8.2 or later; it says so only when a member answers with a different key, and says to try later when no member answers. - CLI-303 (CI): CI and the release workflow run the pool-pin test by name.
- VK-10 (deploy): the pool router's per-address submit limit defaults to a burst of 2 and 1 a minute; CI runs the router's tests.
- VK-2 (deploy):
deploy/enable-public-rpc.shand avps-setupoption turn on the node's public RPC listener (--public-rpc 127.0.0.1:8546); a unit whoseExecStartcontinues on the next line is refused. - PROC-5 (deploy): release verification accepts a threshold of the listed release keys
(
deploy/release-threshold, signaturesSHA256SUMS.sigand.sig2–.sig9);deploy/sign-release.shsigns with every key it is given;cert-authoritylines are refused. - DOC-301 (docs): the prover guide,
AGENTS.mdand the README describe the two-member pool and name chain 21 as the running chain. - WEB-502 (repo): the tree carries no real host addresses or SSH host-key fingerprints
(documentation-range placeholders;
deploy/nodes.envis a placeholder list); the deploy scripts read the fleet list fromNODES_ENVand refuse placeholder hosts.
Perpetual futures (RPL-3):
- PERP-1 (pool policy): the pool bounds fee-less perp actions per account and in all, ranks
withdrawals first and offers accounts round robin. Holding new orders while state proofs lag
applies only on a chain with
perps.sparse_windows; chain 21 keeps accepting orders. - PERP-6 (genesis-gated, next cut):
perps.bound_payouts— a state proof may not pay out more collateral than the exchange was given (withperps.initial_collateralfor a seeded engine). Without it the collateral counters saturate and nothing new is refused; the stored perps row stays readable by v0.8.x. - PERP-101 (genesis-gated, next cut):
perps.sparse_windowswithperps.max_window_heights— blocks with no perp inputs are left out of state-proof windows, with height back-pressure; on such a chain a cancel must name an order of its own account.rand_getPerpsalso returnsengine_program_log_height. - CON-60 (node-only, plus a genesis-gated pin): an invalid state proof no longer forces a
verifier-key build. Every check
Machine::verifymakes before its key runs first (Machine::check_pre_key); engine keys are pinned per cache; the startup warm builds at most the 8 newest shapes after the bundle key; cold builds take a token from a bucket that foreign proofs cannot drain, one build at a time; a pool verification that would build while another build runs is answeredStateProofBusyat once instead of waiting for it (a block's application still waits).perps.engine_program_log_height(next cut) pins the engine's canonical shape, andrand perp provedefaults to that shape only on a chain with the pin (--smallest,--canonical).
Dependencies:
- RUSTSEC-2026-0387 (node-only, no consensus change): secp256k1 is k256 0.14 (crypto-bigint
0.7) instead of 0.13 (crypto-bigint 0.5.5, whose "constant-time" operations branch on secret
values). The node only recovers guardian signatures, so the exposure was the test-only
sign_digest; the bridge daemons, which sign with real keys, move in the bridge repository. 0.14 recovers a key from a high-s signature where 0.13 refused it, sobridge::recover_addressnow refuses high-s itself (verify_decodedalready did, before recovering): checked against 0.13 over 1.8 M valid, high-s, bit-flipped, out-of-range and random signatures, with identical results and byte-identical signatures. crypto-bigint 0.5.5 is left only underrevm(a zkvm test dependency; revm-precompile still requires k256 0.13), sodeny.tomland.cargo/audit.tomlignore the advisory, and CI'ssupply-chainfails if crypto-bigint 0.5 reaches a non-dev dependency graph. - The rest of
supply-chain(lockfile only, semver-compatible): quinn-proto 0.11.19 (RUSTSEC-2026-0338/0340/0343, remote peers could panic a QUIC connection), rustls 0.23.46 (RUSTSEC-2026-0346 to 0349), rustls-webpki 0.103.16 and webpki-roots 1.0.11 (RUSTSEC-2026-0381, 0382, distrusted intermediates), tokio 1.54.1 (RUSTSEC-2026-0386, unsoundAsyncFdconstructors;cargo denyrefuses unsound), and ctutils 0.4.2 → 0.4.6 (RUSTSEC-2026-0385).
Tagged from fullnode main (vendoring circuits d217252: constraint set 9 — rVM phase 4's
Merkle spans and the MODQ chip — with tree aggregation and the scan heads' viewing.rs; the
branch pins d217252). A minor bump, not a patch: the release carries a new constraint set, a
node-only wire change (compact blocks) and the consensus rules a new chain needs. What reaches
each chain:
- Chain 21 onward; not for chain 20. Constraint set 9 (the MODQ chip) changes every verifier
key and the proof encoding: this build refuses chains 18–20 at startup
(
CHAINS_THIS_BUILD_CANNOT_RUN). Chain 20 stays on v0.7.x until chain 21's cut. - Startup checkpoint (node-only): a restart of the same clean build skips the startup chain
walk (
verified_headMETA row, bound to the build sha);--verify-chain replayforces it. The first start of v0.8.0 itself still runs the full check. - Verify cache (node-only):
rand-node runremembers theOkverdict of each STARK verifier under a digest of all its inputs (32 768 entries, FIFO), so an aggregate admission has seen is verified once per node, not three times on the leader and twice on a follower. CLI tools are unchanged. The admission verified set (B5) is folded in: the ledger never decodes a proof at apply. - Off-loop proposal apply (node-only): an incoming proposal's apply runs on a blocking thread
(at most 4 at once, up to 8 waiting behind a parent, at most 2 of them per proposer, each past
HotStuff's orphan checks) while the prechecks,
on_proposal's checks and the insert stay on the loop; sync batches, the leader's own block and orphan re-runs still apply on it. A leader's second block for a view waits behind the first and is refused as an equivocation once the first is in. A view timeout firing during a slow apply only sends a timeout message and re-arms; the vote is lost only if a timeout quorum or a QC moves the view before the apply lands.rand-node run --apply-proposals-inlinerestores the inline apply. Independent of the flag, and always on: a by-hash fetch answer that is not the block asked for is dropped and the next peer asked. - Chain 21 and later, by genesis section:
fees(burn_base,burn_floor,subsidy_net_of_fees,proposer_share_bps,prove_base,usd_subsidy),perps(RPL-3),multisig,aggregation_tree, and theincremental_nullifier_rootflag (the hot path's consensus half: block apply 495.0 → 55.5 ms at 2.4 M nullifiers, and 56.1 ms at 80 M,docs/node-hardware.md§7).deploy/cut-chain21-genesis.shsets which of these the cut carries. - Private multisig (
hc_auth_multisig): an M-of-N Dilithium2 policy hidden inside a second auth guest (9705f8e2…8247, tier 18, the MODQ chip;M_MAX3,N_MAX16). Admission tells the two auth guests apart by the proof's pinned shape, with no wire, txid or binding change; the chain learns only "multisig-authorised". The multisig auth proof's Production size is unmeasured (estimated ≥ 3.4 MB; a genesis naming the guest needsmax_proof_bytes≥ 4 MiB, and chain 21 is cut at 6 MiB with 19 MiB blocks: the decided chain-21 values, asserted by the cut script onfeat/chain21-msauth(a7379a6c), which merges after this branch). Wallet:rand multisig-private new-policy|address|balance|prepare|check|sign|prove|submit(docs/cli.md), wherecheck/sign --expect-to <address>(optionally:AMOUNT) refuse a proposal paying anyone but the named payee; the auth proof is proved locally (tier 18; a ≈ 76 GB peak footprint at the Test profile, so ≥ 96 GB), the bundle proof may go to a paired prover. The signer checks are the pure craterandprotocol-msig(randprotocol_client::multisig_private, vendored by the clients' core). RPC:rand_statusandrand_getLimitsservehc_auth_multisig(hex,nullwithout it),rand_status.msauth_keywhere the key came from. Every validator loads the pinned msauth verifier key,msauth-vk-production.bin(23 754 B, SHA-25668facb06…cd30), from beside its binary at startup and inrand-node verify, and refuses to start without it;deploy/roll-all.shinstalls it (fifth argument orMSAUTH_VK). Constraint set 9: every verifier key and the proof encoding change, so this build runs chain 21 on and refuses chains 18–20. - Aggregate wire change, every chain:
Action::Aggregategainspayout_totalandlayout, so its encoding, txid and signing domain move. No chain has carried an aggregate. - Rollback: going back to v0.7.1 is possible only on a chain v0.7.1 runs (18–20); a chain-21 database cannot be rolled back across constraint set 9.
Assets, when signed: rand-node, rand, rand-prover, msauth-vk-production.bin (the pinned msauth verifier key, listed in SHA256SUMS), SHA256SUMS, SHA256SUMS.sig.
-
Scan heads (node-only, no chain change): new public RPC
rand_getScanLeaves— therand_getCommitmentspage with each envelope cut to its 1 208-byte head (kem_ct ‖ to_receiver ‖ to_sender, base64).randtrial-opens heads and reads full envelopes only for the leaves its keys open (and heads of any other length), falling back to full pages on an older node; on chain 20's leaves that is 2.26× fewer bytes per leaf (1 718 against 3 876). The wallet also derives its ML-KEM key once per wallet instead of once per leaf (38 → 21 µs per leaf on an M4 Max). Vendors circuits56b7061(viewing::ScanKey,EnvelopeHead). -
The chain-21 cut carries
perpsandmultisig(deploy only; no node change):deploy/cut-chain21-genesis.shswitches on two more genesis sections besidefees, each a constant of the script, asserted on the finished file, proved to move the genesis hash and read back bycheck-limits.perps: one market, BTC-PERP on zUSD (collateral asset 1; lot 100000, tick 100000000 = $1 a BTC at zUSD's eight decimals, 20x, maintenance 250 bps, fees 5/2 bps),max_tier18,max_block_inputs24,max_window_blocks64,min_deposit1 zUSD, the pinned enginef286a611…(checked withrand perp image-hconPERP_IMAGE), and a genesis root the cut derives with durian.market'sperp-prover genesis-state(PERP_PROVER, required) andrand perp genesis-root; spliced after zUSD, sincerand-node genesis --perpscannot name a token the base file does not list yet.multisig:create_fee1 RAND and one account, the treasury, 2 of 3, its signers and balance (new issuance) read from the operator'sTREASURYfile, a fresh salt per cut, the id derived offline and matched againstgenesis --multisig's, printed asTREASURY ID; the cut record must name the treasury (require_cut_record_mentions, new indeploy/lib/cut-policy.sh).check-limitsnow expectsfee_rules'proposer_share_bps,prove_baseandusd_subsidyasnull(the cut build serves them), and readsrand_getLimits.perps/.multisig,rand_getPerps,rand_getSupply.multisig_issuedandrand_getMultisig. Operations perps adds: NTP on every validator, a perp-view service and a prover host (~22 GB a proof); a token collateral is outside the supply audit (M6).docs/deploy.md. -
The chain-21 cut carries
hc_auth_multisig(deploy only):deploy/cut-chain21-genesis.shpassesrand-node genesis --auth-multisig-guest(refusing a build without it;DRY_RUNskips loudly), asserts the msauth guest9705f8e2…as the last field beside a differenthc_auth, probes it (7 variants) and reads it back fromrand_getLimits/rand_status; chain 21's limits become 6 MiB proofs (pending the measured msauth proof) and 19 MiB blocks (byte target 9961472). -
Tree aggregation (genesis-gated, off by default: no existing chain carries the section; every aggregation genesis is still refused at startup): a genesis
aggregation_treesection (TreeConfig:shape,leaf_size,max_depth,leafheights,vk_leaf, per-levelsteps[{heights, program_digest, key}];docs/aggregation.md§3.8), appended last to the genesis hash and only when present, so no existing hash moves. An aggregate may cover exactlyL·2^dbundles as one rVM tree (rv32nleaves,rv32t2-to-1 steps), verified by the bottom-up recompute under the transaction's binding and the pinned per-level keys; new refusalsTreeNotAdmitted,TreeLayout,TreeDepth,TreeTier,TreeKeyPin,CoveredPublicValues,TreeRootDigest,TreeRebuild. A node whose genesis carries the section rebuilds every pin at startup and refuses to start on a mismatch. Aggregate wire change (every chain; none has carried an aggregate):Action::Aggregategains a last field,layout(FlatorTree, a trailing 4-byte enum index), so its encoding and txid move; aFlataggregate signs exactly as before, aTreeone underrand-aggregate-tree-1(genesis-bound-2);tx_json'saggregategainslayout,rand_status.aggregationgainstree. CLI:rand-node genesis --aggregation-tree TREE.JSON(the section asTreeConfigJSON, the form circuits'production_tree_genesis_valuesprints; pins checked against this build before anything is written) andrand-node aggregate --layout flat|tree(treeproves the largestL·2^dthe unsealed list fills). Vendors circuits4a244b6(feat/tree-aggregation). -
Compact-blocks follow-ups (node-only, no wire or consensus change): the first-header equivocation record is capped at 64 entries (was 1 024; ~6 MB worst case at 26 validators, against ~100 MB); a gossiped transaction refused by the per-forwarder limiter is held, unhashed and unverified, in a one-block overflow cache that a compact proposal's rebuild consults after the pool and the recent cache (and that fills an open park), so it no longer costs a fetch — never pooled, and not served directly (a body used in a rebuild enters the recent cache with the block); and with both park slots full, the lowest-view park is replaced only by a header whose justify certifies that view or a later one and verifies in full (new
HotStuff::justify_verifiesin core), so two adjacent Byzantine leaders cannot evict an honest current-view park. -
Dollar-indexed prover pay (genesis-gated, off by default: no existing chain carries it; aggregating chains only): a genesis
fees.usd_subsidy { usd_micros_per_sealed_block, max_subsidy_per_block, price_max_age_blocks, initial_price_micros }(all four required) makes the sealing subsidy's schedulemin(⌊usd · 10⁹ / price⌋, cap)while a RAND/USD price is fresh, andmin(subsidy(n), cap)otherwise (docs/fees.md§1.3);subsidy_net_of_feesnets it unchanged. The price is the validator set's vote, not an oracle:SetRandPrice(wire tag 44), bundle-less and fee-less,AdmitValidator's quorum (staking::check_votes, now shared), the next nonce, at most a factor of two per update. State root wrapperrand-state-price-1, persisted underMETA_RAND_PRICE, mempool claim role 10. RPC:rand_getRandPrice,rand_getLimits.fee_rules.usd_subsidy,rand_getEmission.subsidy.currentfollows the price. The aggregate daemon seals at the node's price; CLIrand-node price status|sign|submit. Aggregate wire change (every chain; none has carried an aggregate):Action::Aggregategainspayout_total, signed (rand-aggregate-4/ genesis-bound-5); the ledger refuses one it does not pay exactly (PayoutMismatch) instead of paying a note its envelope cannot open — a price vote, a stale price or a halving between seal and inclusion no longer loses the payout; the pool evicts such an aggregate and the daemon re-seals the same proof. -
Multisig accounts (genesis-gated: no existing chain carries the section; node-safe on chain 20, where all four actions are refused
UnsupportedAction("multisig")): a new genesismultisigsection (docs/multisig.md) with M-of-N controlled public balances, seeded with RAND at genesis (the foundation treasury) or created by anyone. Four actions, tags 40–43, after the perps actions (CreateMultisig,MultisigDeposit,MultisigPay,MultisigRotate); a payment pays the 0.001 RAND base from the account's RAND row, a rotation is fee-less. State root wrapperrand-state-multisig-1, persisted underMETA_MULTISIG, mempool claim role 9. RPC:rand_getMultisig,rand_getSupply.multisig_*,rand_getLimits.multisig. CLI:rand-node genesis --multisig,rand-node multisig id|status|pay|rotate,rand multisig create|deposit. -
The aggregate daemon survives a failed pass (node-only): in
rand-node aggregate --watcha failed pass (an RPC failure, a nonce that moved while proving, a failed prove, a mempool refusal, a key whoseregisterhas not committed yet) is logged atwarnand retried on the interval instead of stopping the daemon; a new--watch-max-failures <N>(default 20) caps consecutive failures, and a stop-class error — the node serving another chain id, or reporting nobinding_domainfor the chain — still exits at once. A one-shot run is unchanged (docs/aggregation.md§3.7,docs/cli.md). -
The proposer/aggregator split (genesis-gated, aggregating chains only; no chain carries it): two optional numbers in the
feessection (docs/fees.md§1.3,docs/compute-optimization.md§6.2–§6.3).fees.proposer_share_bpskeeps that share of the base to the proposer at inclusion and buckets the rest beside the excess — paid to a covering aggregate, swept back to the proposer otherwise;fees.prove_baseraises every bundle's floor by a proving share bucketed whole and never burned (underburn_floorthe burn is the floor without it). Hashed only when set, afterburn_floor. RPC:rand_getLimits.fee_rules.proposer_share_bps/.prove_base;rand_estimateFeeand the wallet's default fees includeprove_base. Recommended 4000 / 600000 once aggregation is admitted (docs/deploy.md). -
Compact blocks (node-only wire change; a flag-day roll, no genesis field): a leader publishes
GossipMessage::CompactProposal(bincode tag 4 on the consensus topic) — the header, the signature and the transaction hashes — instead of the full block. Replicas pre-screen the header, rebuild the block from the mempool and a new recent-transactions cache, and fetch only missing bodies by hash (SyncRequest::Transactions, 512 a request). At 26 validators and 2 000 hashes a compact frame is 166 416 bytes (docs/node-hardware.md§8). RPC:rand_status.compact_fetched. An old node rejects the new variant: roll observers and archives first, then every validator at once withdeploy/roll-all.sh, rollback the same way — a mixed validator set can stop commits entirely (docs/deploy.md). -
Fee feedback, the burned base (genesis-gated: a hard fork on a chain whose genesis sets a flag, node-only on every other chain — no existing chain carries the section): a new genesis
feessection (docs/fees.md§1.3). Underfees.burn_baseevery bundle'sBUNDLE_BASEis destroyed instead of paid to the proposer, who keeps the tip (fee − BUNDLE_BASE; nothing at inclusion on an aggregating chain, whose excess is bucketed as before). A new supply counterbase_fees_burnedsits on the right of the supply identity, persisted underMETA_BASE_FEES_BURNEDand replay-audited; the section is stored underMETA_FEESand restored from the genesis file byreload_ledger. RPC:rand_getSupply.base_fees_burned,rand_getLimits.fee_rules(docs/rpc.mdchangelog). -
Fee feedback, the fee-first subsidy (same gating): under
fees.subsidy_net_of_fees(it needsaggregation) an aggregate's proving shares pay the subsidy schedule first and only the shortfall is minted — the payout note ismax(subsidy(n), shares),subsidisedandrand_getAggregate.subsidymove by the minted part,sealed_blocksadvances as before (docs/fees.md§1.3,docs/aggregation.md§3.3). -
The aggregate daemon nets the subsidy:
rand-node aggregatereadsrand_getLimits.fee_rulesand, undersubsidy_net_of_fees, seals its payout note at the ledger's ownmax(subsidy(n), shares)(aggregation::minted_subsidy) instead of their sum — a note the ledger never pays, whose envelope opened to nothing (docs/aggregation.md§3.3). -
rand_getAggregatefollows the ledger's payment:Ledger::apply_aggregaterecords what it paid (PaidAggregate, drained to storage onCommittedBlock::aggregateslike the deposits), and storage stores that, so a sync that commits a bundle and its covering aggregate in one batch no longer undercountsproving_share(pre-existing) or overstatessubsidyunder the flag. -
fees.burn_floor, the full EIP-1559 form (#135): a third flag (needsburn_base, elseGenesisError::BurnFloorWithoutBurnBase; hash bytesb"burn_floor" ‖ 0x01aftersubsidy_net_of_fees's) burnsmin(fee, floor)withfloorthe ledger's own floor for the bundle — base for a transfer, base + per-word for a Deploy, the tier-exact Call floor at the block's prices in force,BRIDGE_BURN_FEEfor a BridgeBurn, an Invoke's cell fee included — from one helper (Ledger::settled_floor) that is also the post-decode fee check; the bucketed excess becomesfee − floor;bucketed_excessis deleted (the bucket entry is the authority);rand_getLimits.fee_rules.burn_floor(docs/fees.md§1.3). -
The aggregate daemon reads
fee_rulesonce (#132): through the client's cachedrand_getLimitsreply (RpcClient::fee_rules), before the prove beside the envelope format; a node without the method, a reply without the field, ornullare the default rules; a transport error is not cached. -
Storage refuses a block whose aggregates lack their paid records (#133): every
Action::Aggregatemust be matched by exactly onePaidAggregateonCommittedBlock::aggregates(a missing, stale or duplicated record refuses the commit by block height and aggregate hash, nothing written). -
Tests (#134): the live proposer/peer root agreement under
burn_base+subsidy_net_of_fees, and across a restart throughreload_ledgerwith a never-restarted peer as the control. -
The pinned recursion fixtures ride in the repo (#131):
Test-0..2.proofatcrates/randprotocol-node/fixtures/recursion/arefixture_proof's default, socargo test -p randprotocol-node --libpasses with noRECURSION_FIXTURESset (the pinned-vectors test's interface list rides on those exact proofs' random notes — a freshly proved set can never satisfy it);scripts/recursion-fixtures.sh --checkverifies the sha256 pins and its prove path regenerates from a circuits checkout atCIRCUITS_PINfor a re-pin. -
Storage:
META_FEES(JSON,{}without a section) andMETA_BASE_FEES_BURNED(bincode0without the flag) are written on every new database; an existing database without them opens unchanged, both reading as their defaults. -
The chain-21 cut, prepared (not cut):
deploy/cut-chain21-genesis.sh, derived from chain 20's script — chain 20's shape and value from a snapshot of chain 20, plus the genesisfees: {burn_base: true, burn_floor: true}written asfees.jsonand passed as--fees, asserted on the finished file, proved part of the genesis hash (the hash re-derived without the section and withoutburn_floormust move) and read back bycheck-limits(rand_getLimits.fee_rules,rand_getSupply.base_fees_burned == "0"). It refusessubsidy_net_of_fees(aggregation stays refused until its admitted shape is re-measured, b053a76) and arand-nodewithout--fees;SELFTEST=1andDRY_RUN=1exercise it with no network (docs/deploy.md, "The next cut: thefeessection (chain 21)"). The cut now also carriesperpsandmultisig: see "The chain-21 cut carriesperpsandmultisig" above.
Not rolled onto chain 20: the consensus-visible change is genesis-gated and needs a new cut.
incremental_nullifier_root(genesis flag,rand-node genesis --incremental-nullifier-root): the nullifier slot of the state root holds an append-only range root in insertion order, the composite re-domainedrand-state-nf-mmr-1; the peaks persist asmeta/nullifier_mmr. No existing chain's hash or state root changes, and nothing rolls onto chain 20 without a genesis cut.SharedSet: the ledger's commitment and nullifier sets share a committed base between clones, soLedger::clone()isO(delta); the HotStuff commit step drains the deltas into it. Node-only.- Propose without a clone per candidate: the leader applies candidates in place and replays the
block on a failure, at most
MAX_PROPOSE_REPLAYS= 8 times a block. Node-only. rand-node run --verify-workers: verification limits sized to the host (the cores minus two, at least four), and QC signatures verified in parallel, once per (certificate, validator set). Node-only.rand-node bench apply: the synthetic-load harness; the measured tables are indocs/node-hardware.md§7.
RPL-3: perpetual futures, behind the perps genesis section (hard fork for a chain that sets it; on no chain yet)
docs/perps.md. A chain whose genesis has no perps section is untouched: every perp action is
refused, the genesis hashes as before and the state root keeps its domain. A chain with one is a
new chain, so this ships with the next cut rather than as a node-only roll.
- Six actions, 34–39 (appended after
Invoke):PerpDeposit(rides a bundle that burns the collateral),PerpOrder,PerpCancel,PerpWithdrawandPerpOracle(signed overperp_sign_message, bundle-less, fee-less), andPerpStateProof. Orders enter through consensus unexecuted; each block closes with a digestD_hof its inputs and the oracle's stake-weighted median; one STARK of the engine guest, which anyone may make, advances the exchange's state root over a window of blocks and pays withdrawals as chain-computed notes (PERP_FROM). Settlement is final at proof. - A
PerpDeposit's bundle is an ordinary bundle for the fee split (bundle_fee_split): it pays the schedule floor and the genesisfeesrules —burn_base,burn_floor,proposer_share_bps,prove_base— apply to it as to any other;rand perp deposit's default fee includes the servedprove_base. - The genesis section (
rand-node genesis --perps perps.json): collateral asset,max_tier,max_window_blocks(1 to 64),max_block_inputs(required, 1 to 1024),min_deposit(optional, 0), the engine'sengine_hcandgenesis_root, and 1 to 2 markets (the pinned engine's capacity;maintenance_bpsat least 1). It needs the sections RPL-2 needs. - Consensus rules from the final review: at most
max_block_inputsperp inputs a block and 8 from one account, a deposit counting towards the account it credits (BlockFull,AccountBlockFull; the overflow stays pooled for the next block); a deposit floor (DepositTooSmall); one pending withdrawal per account (WithdrawalPending); a payout is the full request or nothing (PartialPayout) and names a request recorded inside its window (RequestOutsideWindow), and a proof settles every request recorded at or below its end, paid or not; perp signatures bind the chain'sbinding_domain(rand-perp-sign-2under domain 1); the oracle median is published only with a quorum of fresh stake (at least half the active, non-jailed stake), else the close carries 0 rather than the old median. - Node policy for state proofs: a
ProofRefusedverdict is cached by transaction hash and segment until the proved root moves, and the pool keeps one reserved slot for a state proof above fee-0 orders.rand perp provesizes the tier from its dry run and refuses one overmax_tierbefore proving. - State root
rand-state-9on a chain with the section, and bounded block time there (the bridge's rule), since eachClosecarries it. - RPC:
rand_getPerps,rand_getPerpAccount,rand_getPerpAccounts,rand_getPerpInputs(all on the public listener);rand_getLimits.perps;rand_getSupply.perps_rand_outandperps_rand_held, which keep the supply identity whole across a RAND deposit and a payout;tx_jsonkindsperp_deposit…perp_state_proof(docs/rpc.md). - CLI:
rand perp keygen | deposit | order | cancel | withdraw | oracle | prove | genesis-root | state | account | inputs;rand perp proveis what durian.market'sperp-proverruns (docs/cli.md). - Storage: a new
perp_inputscolumn family (block height to the block's input words, written in the block's own batch, pruned when a proof covers the height) and the perps state underMETA_PERPS. The family is created on every database at first open, so a rollback to v0.7.1 or earlier needsrand-node db drop-perp-inputs --datadir <dir>first; it is refused on a perps chain's database, which no older build can follow. - Not in v0: a prover register or payment, a forced exit, a backstop vault, markets after
genesis, sealed orders, a fee on withdrawal requests; a token collateral's supply is not
audited (
docs/perps.md, "v0 limits"). - Vectors:
tests/vectors/perps-v1.jsongainsdigest_4000,digest_4001anddigest_8001, the multi-chunkperp_digestwith the real Poseidon2.
Four circuits pins since v0.7.1. Every one keeps inner_vk_digest, so bundle proofs are
unchanged on every chain; each moves only rVM keys, proofs or the aggregate program, which a chain
reads only through an aggregation section. Any future chain with one needs every node on this
build.
- Phase-2 row cuts (circuits
75b7893, 4c03dcb1): the production inner proof 2 047 268 → 893 606 cpu rows, tier 21 → 20;admitted_tiers{21, 22, 23} → {20, 21, 22} production, {19, 20, 21} → {18, 19, 20} test; aggregate program digest →c90b3f0a…74d8. - Quotient layout (circuits
5ff7676, 22827279;vendor/p3-batch-stark): the rVM commits each instance's quotient chunks as one matrix. Tier-16 peak 9.09 → 6.41 GB; the tier-18 test twin proves at 33.27 GB peak live (a 64 GB host). Aggregate program digest unchanged. - Phase 3 and the rate-¼ profile (circuits
71e1a04, 17d7cefb, 37f217cd): the reduce chip's FOLD / POW rows (585 686 cpu rows, still tier 20) and the rVM's own proofs at log_blowup 2, 92 queries, 24 grinding bits (86.38 proven bits against 86.41). Aggregate program digest →dc350ecf…e38ba0; the tier-18 twin 26.88 → 15.64 GB. Node side: one warmed key per admitted tier × canonical reduce height, and productionN ≤ 5refused by name atverify_aggregateand atrand-node genesis. - Tree aggregation (circuits
92b750e, then4a244b6):rv32t,verify_tree,TreeShapes,TreeKeys; see Features. The production depth-2 tree is not proved yet (it needs a ≥ 256 GB host).
scripts/dev-chain.sh(e96f15b3): a throwaway single-validator chain for the downstream repos' integration tests;rand-node genesis --fees.- The
rpc_contractcanary (19dd8528): the RPC reads that randscan, randbridge.org, randprotocol.org and zusd.money depend on, pinned by presence and JSON type, in CI. - Network tests (1e7c4c9e): 54 tests pinning the wire, the codec limits, the connection guard and the swarm's policy.
- Fixture-backed node tests run in CI (d0d551fb): the skip list keeps only the two rVM proving tests, by full name.
- Coverage (9a259aeb):
cargo-llvm-covover check-and-test's suites on every push tomain, uploaded to Codecov; the badge inREADME.md. - Research tests reach the vendored copy (abf5cb23, circuits
5f69747): 155 new tests, sources byte-identical to5ff7676. - The binaries under test (2c669a1d):
rand,rand-nodeandrand-proverdriven as an operator runs them, against loopback RPC fakes — about 100 tests (wallet reads, perps, tokens, bridge governance, multisig, staking, vesting, the datadir commands, prover keygen/pair/run); the proof-free prover service, HTTP, hosted-prover and network suites now run in check-and-test and the coverage measurement.
Node-only: no consensus rule, wire format, verifier key or genesis change. From this release on,
every RandProtocol repository is tagged v0.7.1 together (the monorepo's version line), so one
version names the fleet, the explorer, the bridge, the circuits and the sites. Beyond v0.7.0:
- Proving threads (185cda96):
--threadswith an efficiency-based default (the wallet uses every core; the prover service cores−1, capped at 8),--cpu, and the GPU by default when a CUDA build sees one, one module forrand,rand-proverand the hosted prover; the measured curve indocs/node-hardware.md§6. - Tests (c0138892): the corruption test verifies the repaired store with the node stopped.
- Spikes (49a0710f): the browser-prover feasibility spike, moved from randprotocol.org and ported to the hidden-asset bundle.
- Docs (56ac2d6d):
AGENTS.mdrecords the v0.7.0 roll on chain 20 over the signed path.
Tag TAG_SHA. Node-only: no consensus rule, wire format, verifier key or genesis change; rolled
onto chain 20 one node at a time, from the first release built by .github/workflows/release.yml
(CI-gated, --locked, attested) and signed by the release key (SHA256SUMS.sig; the fleet's roll
scripts verify it, PROC-4/5, #110). What it carries beyond v0.6.9:
- The audit v7 addendum, every row but the aggregation one — Medium: SYNC-5/CON-6 (#120, a
peer's unsigned claimed height holds a by-hash fetch back for at most 10 s), RPC-5 (#121, header
pages capped at 16 MiB of reply, carried public-note transactions proof-stripped, the wallet
halves a page answered too large or too slowly), VK-12 (#122, a proving timeout in
rand-prover); Low: SYNC-6 (#127, the by-hash gate measures the pending tip), PROC-11 (#128, the gate pinned throughfetch_block), CLI-18/CLI-19 (#129, #130, the wallet's first sync keeps a page's notes across a rising floor and drops a planted note no leaf matches), VK-13/VK-10 (#125, #126, the pool's unit confined to loopback and a syscall filter; flood limits), VK-9/OPS-9 (#123, #124, a key per pool member, the pool installed only from a signed release). - The last audit v6 rows: PROC-2 (#109, the workspace builds from a clean clone:
evm-core/sbpf-corevendored, the cuda backend a git dependency, CI'sclean-clonejob required), CS6-2 (#97, the reference ledger verifies withverify_public, fixed upstream and re-vendored at circuits 6d2015d), TOK-1 (#86, genesistokens.incremental_root: an incremental registry commitment and per-token storage rows, dormant until a genesis sets it; the legacy root cached on every chain), ZKV-5 (#95, the digest-prefix rows' gas under-count pinned numerically; the circuit fix is constraint set 9's, zkp-circuits#2), OPS-6 (#112, the key-separation schedule — by 2026-11-01, before any mainnet genesis — enforced byrequire_key_separation_or_testnet). - A fresh wallet's first sync on chain 20 no longer times out on a 29 MB header page (04092f28).
Open after this release: #119 (aggregation's memory and a targeted rVM forgery, before any genesis
enables aggregation). Assets: rand-node, rand, rand-prover, SHA256SUMS, SHA256SUMS.sig.
Tag 3f43101b. Node-only, rolled onto chain 20 one node at a time: a rand_getBlocks header
carries its block's invokes in public_notes with their proofs stripped, so a wallet rebuilds an
RPL-2 payout from public fields rather than the invoker's envelope (d0bb73fb). Assets:
rand-node, rand, rand-prover, SHA256SUMS.
Tag c9c9bd3c. Hard fork for chain 20 (genesis 6210cf071a390d7ac61d8cbea5dd9d139d1a493a862b54a45a498f36af2d5135), rolled all-stop/all-start with
the cut; it computes and runs chain 19's genesis too, but its consensus changes must never roll
node by node. Two lines of work:
- The zUSD bridge fees — genesis
bridge.fees: 10 bps of each mint and each burn kept on Rand as a treasury zUSD note, the release attestingamount − fee. - RPL-2 — program state, program vaults and the
Invokeaction (Action33), behind aprogram_stategenesis section (docs/program-state.md). - The final audit v6 fixes (issues #67–#118, one commit each): consensus — CON-4 (no
automatic lock release;
rand-node safety release-lock) and CH-1 (a timeout-certificate pacemaker); node-only hardening (a second--public-rpclistener, read timeouts, reserved validator peers, sync and gossip budgets, the pool's byte cap, a startup refusal when the reloaded state is not the head's, wallet key-file permissions, and more); and genesis-gated rules, dormant on any chain whose genesis does not set them:testnet,binding_domain(proofs and signed messages bound to the genesis hash),proof_window_blocks, the gas price ceilings and paying byte load, staking admission by vote and slashing, vesting revokes by a threshold to a fixed treasury, and bridge rotations that need possession and wait out a delay. Wallets need this build to send on a chain withbinding_domain.
Assets: rand-node, rand, rand-prover, SHA256SUMS.
Tag 86941a1. Node-only: fixes on the chain-18 build that change no consensus rule, wire format,
verifier key or shipped program digest; rolled onto chain 18 one node at a time. The sealed-proof
pruning pass keeps a height index of seal marks (#51, dormant: no chain aggregates); a wallet takes
the note-envelope format from the chain id, not from a node's claim (#64); the viewing-key
registry is keyed by a one-way id (#65); circuits aeacf31 (#49 GPU kernels without aliasing
&mut, #63 the rVM DSL allocator, #66 ALU test coverage). Tagged before its full workspace suite
finished, on the operator's instruction; no result of that full suite is recorded. Assets:
rand-node, rand, rand-prover, SHA256SUMS.
Tag 0017de7, a pre-release. Hard fork: v0.6.6's content (gas, constraint set 8) rebased onto
v0.6.4 (split authorisation). The build chain 18 was cut with: genesis
a7cb020cc99a33c83fc38cfa0ec1db357f67fbf8b6dab13ab1d9812280b4da76, live 2026-09-29 04:56 UTC, the
first gas-metered chain and the first with the encrypted memo on (envelope_bytes: 1860). Refuses
chains 14 to 17. Assets: rand-node, rand, rand-prover, SHA256SUMS.
Tag d742a9b. Hard fork, never cut as tagged: the gas model (Phase 0's header-priced call floor as
node policy; Phase 1's in-circuit meter, pv::GAS, the genesis gas section and the pinned
bundle gas limit 20 479; Phase 2's dynamic gas and byte prices) on constraint set 8, and the
chain-18 cut scripts. Its content reached a chain as v0.6.7-rc1. The tag has no GitHub release.
Tag b388540. The launch record of chain 17 (genesis
d1afefc3dd68f73e3799aa0803b692d0e6a5c7c27d228bdeb3d06cdf4027e7ff, live 2026-09-29 03:03 UTC,
replaced by chain 18 at 04:56 UTC): the committed genesis file, its pin test and the AGENTS.md
entry. The code is v0.6.3's. Assets: rand-node, rand, rand-prover, SHA256SUMS.
Tag d4fd0a3. Hard fork: delegated proving, phase 2 — split authorisation. A Bundle gains
auth_commit and auth_proof on the wire and the transaction id domain becomes rand-txid-3; the
bundle proof no longer takes the spend key (bundle guest v3 plus the auth guest, genesis hc_auth),
so a paired prover holding only a viewing key can prove; an optional prover fee. Refuses chains 14
to 16. Assets: rand-node, rand, rand-prover, SHA256SUMS.
Tag 98d1ff6. Node-only and opt-in: delegated proving, phase 1 — the randprotocol-prover crate,
the rand-prover binary, rand-node run --prover, and the wallet's --prover. A phase-1 prover
receives the spend key, so delegating is handing over custody. One change every node gets: SIGTERM
is handled like ctrl-c. Assets: rand-node, rand, rand-prover, SHA256SUMS.
Tag 2c75e08. Hard fork: constraint set 7 (circuits b9ffc39) — every LogUp terminal blinded,
every declared table floored at 2^7 rows, 32-bit range checks on input, public and salt words, the
POSEIDON2_LEN syscall, the JALR fix, verifier keys salted from key_derivation_v2. Every
verifier key changed. Chain 16 (genesis
20925ae63cfa6e6c96f3ff369486ead8ea04821fec026a55df9e2893f3d53005, live 2026-09-28 16:39 UTC) was
cut with --hardening-v6 --bundle-guest v2. Refuses chains 14 and 15. Assets: rand-node, rand,
SHA256SUMS.
Tag 12a56d1. Same chain, but rolled all-stop/all-start, not one node at a time: Machine::verify
refuses a non-zero commit-phase proof-of-work word unconditionally, so a mixed fleet could
disagree on a rewritten proof. The zkVM, rVM and aggregation fixes of the 27–28 September reviews:
the prover floors private tables at 2^7 rows and nodes refuse to pool a call proof below it; the
branch-free bundle guest v2 and the hardening_v6 switch, both for the next cut; the bundle key in
its own Machine; the dormant rVM and aggregation-interface fixes. Assets: rand-node, rand,
SHA256SUMS.
Tag cc65c5e. Genesis-gated, active on no chain: timelocked genesis vesting for team, investor
and partner allocations (a public vesting register, actions 24 to 27, state root domain
rand-state-6). Without a vesting genesis section the four actions are refused at admission.
The cluster and wallet-flow suites were not run for this tag. Assets: none.
Tag 0c0f4db. Node-only on chain 15: address sharing — the 80-bit address fingerprint, randpay:
links and QR codes — and the encrypted memo (genesis envelope_bytes: 1860, first set by chain
18). CLI changes: token amounts are display units, rand address prints only the address on
stdout, rand send confirms first. Assets: rand-node, rand, SHA256SUMS.
Tag 8abf85e. Node-only, rolled one node at a time: the fixes of the 2026-09-27 rescan. A faucet
mint is admitted only from a genesis validator (LEDGER-1; the validity rule is genesis
staking.faucet_minters, set from chain 16); sync back-off and peer ranking (CN-1); meters that
survive a reconnect and a node-wide Blocks budget (CN-2); consensus gossip prechecked before it
is forwarded (CN-4); a signed NotHeld view (CN-3); bridge.min_inbound_sequence (C15-1); the
wallet resumes at a pruning node's floor (RS-1). Assets: rand-node, rand, SHA256SUMS.
Tag b933724. Node-only: the fixes of the ten-reviewer pre-release scan — the orphan pool bounded
(SW-1), a Status read only from its propagation source (SYNC-1), one vote per (view, voter)
within a view window (CONS-1), wallet defences against a lying node (WAL-1, WAL-2, WAL-3), RPC
blocking reads capped, deploy scripts that ship git archive HEAD only. The fleet took it through
the chain-15 cut (genesis cc30e0854fb25b3abcee96bb7bc206dcd6e37862f6dfe80a05b3e474c2d1b6b8, live
2026-09-26 13:05 UTC, build dd2ccbe). Assets: rand-node, rand, SHA256SUMS.
Tag 089bdd6. Same chain, rolled all-stop/all-start: Status gains floor, and a v0.5.7 node
cannot decode a v0.5.6 Status. History pruning: rand-node run --prune-history <n>m|h|d keeps
that much history and prunes the rest; a node without the flag is an archive; RPC error -32010
answers a height below the floor. The database is forward-only for a pruned data directory.
Assets: rand-node, rand (no SHA256SUMS).
Tag a2d4021. Same chain, rolled all-stop/all-start: DS-3 is a validity rule (a call proof's
header is pinned before a key is built: tier at most 14, keccak at most 2^12, sha256 at most
2^13). The rest of the deep security-and-math scan (DS-1 to DS-9): a pruned record is
length-checked, connection limits on the swarm, the equivocation record outlives eviction, the
2^63 note bound. Assets: rand-node-v056, rand-v056 (no SHA256SUMS).
Tag 0154fe2. Same chain, rolled to all 18 validators at once. The audit-v5 fixes and the recovery
from the chain-14 stall: a committed block's QC is stored once (a node rolled back below v0.5.5
needs a resync); the lock is released only on a not-held quorum; certified blocks above the head
are durable; three recovery rules for a QC on a block no replica holds; tokens.burn_registration_fee
(genesis-gated). Assets: none.
Tag d0778d8. The audit-v4 fixes, in three classes. Node-only: a disk guard, a bound on sibling
proposals, the ghost-QC memory, the 256 MB write-ahead-log cap. Wire-coordinated: signed NotHeld
attestations. Genesis-gated, for the next cut: the staking section, consensus_domain: 1, bridge
rules_v2 with rolling mint caps, tokens.max_tokens. Assets: none.
Tag 9c142c1. Node-to-node only, rolled one validator at a time: the audit-v3 consensus fixes —
sync commits only through the three-chain rule, the lock survives a restart and a sync,
conflicting finality stops the node. Assets: none.
Tag b143cb9 (fleet build b3c594c). Hard fork: chain 14, genesis
1cff3b7da248d93ab547aef5c05bb7d0d22da510b592dab9cf7374807de7c7ff, on eighteen fresh validator
keys generated off-repo. RPL tokens (a ledger-level registry of shielded native assets), one
4-in/4-out hidden-asset bundle for every transfer, every bundle proof bound to its transaction,
a mint's commitment opening checked (POOL-1), and the hardened bridge for zUSD: per-backing mint
caps, a pause key, a forward bound on block timestamps, a post-quantum co-signature quorum.
Every u64 RPC amount became a decimal string. Assets: none.
| release date | 2026-09-19 |
| chain | 13, genesis 8123ccac1883a45750e4df6964fb7cd3f0b321798cde4c0ef406a0293939ece3 (deploy/genesis-chain13.json) |
| pinned build | fullnode 86af6eb (Linux rand-node sha256 cc20bf84…; laptop binaries in bin-86af6eb/) |
| circuits | main 7ef3220 (tag v0.4) |
| aggregation | off (no aggregation section, as chains 9–12) |
Chain 13's limits:
| limit | value |
|---|---|
max_program_words |
65 535 |
max_proof_bytes |
8 388 608 (8 MiB) |
max_block_bytes |
20 971 520 (20 MiB) |
max_call_envelope_bytes |
65 536 |
max_program_public_words |
32 768 |
v0.4 is the RISC-V developer release: the rand-guest toolchain and the two bytecode
translators, sbpf2rv (Solana) and evm2rv (Ethereum). They live in the circuits repo (main
7ef3220). Fullnode's side is the program cap as a genesis parameter and the deploy of a
rand-guest image. Those commits are already listed under v0.3's
Also included: the program cap as a genesis parameter
and are not repeated here. They take effect on the first chain whose genesis sets
max_program_words.
New in v0.4 on the fullnode side (branch feat/call-limits, spec
docs/superpowers/specs/2026-09-19-call-limits-design.md):
- The call limits are genesis parameters:
max_proof_bytes,max_block_bytes,max_call_envelope_bytesandmax_program_public_words, threaded likemax_program_words(optional, bound into the hash only when present). Every proof cap, the whole-transaction and block caps, the envelope cap, the node's sync and gossip limits and the RPC's body limit and pre-check follow them. A call's fee gains a byte term past today's allowance. - A program's public input is fixed at deploy:
rand program deploy --public <words | ELF>, a new program id rule (rand-program-2),H_PUBchecked on every call against the digest recorded at deploy,h_pubin receipts, andrand_getLimits/rand_getProgramPublic. There are no per-call public words. deploy/cut-chain13-genesis.shcuts chain 13 with 65 535 / 8 MiB / 20 MiB / 65 536 / 32 768. Chain 13 was cut with it on 2026-09-19 and runs on the 16 droplets and node A (deploy/README.md, "What the chain-13 rollout actually did").
Both translated programs were deployed from the genesis wallet shielded-1 on the live chain
(production FRI profile), and the ERC-20 was called.
| action | wallet output | on chain |
|---|---|---|
deploy the translated ERC-20 (evm2rv stage 2, hc a0feae92… in rand-guest's spelling) |
program id: f074c4eb834cf01886a8241b6a2e0caf6e1cee5327fee6cb1a1a37436607280d (11686 words, hc 92aefea0951c31a717574962aeb70e10a37012a7d035d48e8713c36df68feae0); bundle proved in 92.2 s (tier 14, 1 419 655 bytes) |
deploy tx c7a66dc4…53acd0, committed at height 381 |
call it: approve(BOB, 5), 649 private words |
proved in 388.7s: tier 16, 3412405 bytes, outputs [1, 942495465, 790002515, 1351749335, 1059083501, 2923046783, 2814575942, 696258848]; bundle proved in 96.0 s (tier 14, 1 420 423 bytes) |
call tx 279e1f62…c4bfa7, anchored at 802, committed at height 919; fee 0.00357 RAND; envelope 2 700 bytes; receipt h_pub null |
deploy the translated SPL Token (sbpf2rv, hc 8ca905ae… in rand-guest's spelling) with its ELF as the public input |
program id: 740236918310f8e52bb0c1ef49b2b0e0c018762e289666660685b0694c8dd00a (65096 words, hc ae05a98c…b516ad, public input 27151 words, digest ec57b10e…d67e); bundle proved in 94.3 s (tier 14, 1 418 406 bytes) |
deploy tx 626fc938…927530, anchored at height 400; fee 9.2257 RAND |
What the call shows:
| claim | measurement |
|---|---|
| the production call proof needs chain 13's proof cap | 3 412 405 bytes, over chain 12's 2 MiB cap: a call chain 12 could not accept |
| the fee's byte term applies | 0.00357 RAND: the 3.41 MB proof is above the 2 MiB + 18 432 B free allowance |
| the call is faithful | the receipt's eight outputs equal the interpreter's for the same vector |
| a laptop can make it | 622.8 s wall time, 22.9 GB peak RSS, on a 48 GB M-series laptop |
Method: rand program deploy <image.bin> (with --public spl_token.so for SPL Token) and
rand call f074c4eb… --input … against chain 13, 2026-09-19. Full hashes and transcripts:
docs/translators.md §4.6, §4.6.1 and §5.4.
| claim | measurement | method |
|---|---|---|
rand-guest builds a Rust or C guest into an image the chain accepts |
a Rust and a C guest built, checked, run and deployed; the call's receipt outputs equal rand-guest run's |
a local one-validator chain, test FRI profile, 2026-09-19 (docs/guests.md) |
| the build is reproducible | the Rust fib guest rebuilt at a different checkout path gives the committed hc ed475c16…b99e |
rebuild and compare; rand-guest/tests/build.rs gates the four committed guests |
| the raised cap admits large images | the 11 686-word ERC-20 image deployed on a chain cut with --max-program-words 65535 (fee 1.1696 RAND); the same deploy on a 4096-word chain is refused before any proving |
the same local chain setup |
evm2rv output equals the interpreter's |
identical eight words for transfer, approve and transferFrom; 66 235 / 48 119 / 88 824 cycles against 121 638 / 85 645 / 161 434 on evm.bin (54.5–56.2 %) |
rand-guest run on both images and diff, re-run 2026-09-19; evm2rv/tests/parity.rs (8 vectors, both stages) and tests/fuzz.rs (10 000 random programs) |
sbpf2rv output equals the interpreter's |
identical eight words for SPL Token Transfer 250; 765 851 cycles against 694 498 on sbpf.bin; all 8 vectors in tier 20; image 65 096 words |
sbpf2rv/tests/parity.rs, 2026-09-18 |
| SPL Token translation does not pay off today | about 98 % of each run is the fixed sBPF ABI harness; the translated image is 69–75 k cycles dearer per vector | per-stage cycle attribution (sbpf2rv/README.md) |
| the call limits are genesis parameters, and a genesis without them is chain 12 byte for byte | each field bounded, refused out of range (including block ≥ 2 × proof + 1 MiB) and bound into the hash only when present; the chain-12 file still hashes to 605eb783…; all five restored after a restart and replay |
the_call_limits_are_optional_and_bound_into_the_hash_only_when_present, the_call_limits_are_refused_out_of_bounds, chain_12s_genesis_file_still_builds_chain_12, the_call_limits_hold_through_replay_and_restart |
| the ledger enforces the chain's limits, not constants | a 2 MiB + 1 B proof refused by default and admitted at 8 MiB (call, fee bundle, burn); a 5 MiB call block refused by default and applied on a raised chain; the envelope cap is the genesis value | every_proof_cap_is_the_ledgers_max_proof_bytes, the_whole_transaction_cap_is_the_ledgers_max_block_bytes, apply_block_for_sync_uses_the_ledgers_block_cap, the_call_envelope_cap_is_the_ledgers |
| a call costs what it cost before up to the free allowance | call_fee unchanged at ≤ 2 097 152 + 18 432 bytes, +1 000 units per KiB (or part) past it; the node answers rand fee call 16 --bytes 2115584 with 0.0023 RAND and --bytes 2115585 with 0.002301 RAND |
the_call_fee_charges_only_bytes_past_todays_allowance; rand fee against the local chain below |
| the node's transport follows the block cap | a ~14 MiB block syncs between two libp2p nodes on 20 MiB limits and is refused between two on the defaults; a default chain keeps 6 MiB / 12.25 MiB / 16 MiB | two_nodes_on_a_20_mib_chain_sync_a_block_over_the_default_reader_limit, the_wire_limits_follow_the_ledgers_block_cap |
| a public input is fixed at deploy and binds every call | the id with a public input is injective over the code/public split; the deploy pays for its public words and stores the digest; a call proved over the right words verifies and its receipt carries h_pub, one over other words or &[] fails with PublicValues (stub and real zkVM proofs) |
a_public_input_changes_the_id_and_an_empty_one_does_not, the_code_and_public_boundary_is_bound, a_deploy_with_public_words_gets_the_new_id_pays_for_them_and_stores_the_digest, a_call_is_checked_against_the_programs_public_digest_and_the_receipt_carries_it, zkvm a_call_is_checked_against_the_records_public_digest, a_program_with_a_public_input_is_warmed |
| the RPC and the wallet expose both | rand_getLimits returns the five limits; rand_getProgramPublic serves the words; end to end on a test-profile chain: deploy public_echo with --public, call it, receipt h_pub equals the digest, --expect-public refuses before proving, a proof over other words is refused by the chain (354 s) |
get_limits_reports_the_chains_five_limits, a_programs_public_input_is_served_with_its_digest_and_the_receipts_h_pub, wallet_flow::a_program_with_a_public_input_is_deployed_and_called_over_it |
| the translated ERC-20 is called on chain 13's limits | approve (649 private words, tier 16) through rand call: receipt outputs [1, 942495465, 790002515, 1351749335, 1059083501, 2923046783, 2814575942, 696258848], equal to rand-guest run's and the native interpreter's; call proof 796 019 bytes, transcript 2 700 bytes, fee 0.0023 RAND; 505.6 s end to end (call proof 392.6 s, fee bundle 95.8 s), 19.8 GB max RSS, 22.9 GB peak footprint; rand open-call re-opened the words: faithful |
a local one-validator chain with chain 13's five limits, test FRI profile, 48 GB laptop, /usr/bin/time -l, 2026-09-19 (docs/translators.md §4.6.1) |
| the translated SPL Token deploys with its ELF as the public input | program id 74023691…d00a (the bare image's is 65d234ce…), 65 096 code + 27 151 public words, public_digest ec57b10e…d67e, fee 9.2257 RAND, 97.3 s (bundle 93.2 s); rand call --expect-public with a one-byte-changed ELF or a 4-word file refused in ≤ 0.01 s at 11 MB RSS, nothing proved. The call proof (tier 20, about 330 GB) was not run |
the same local chain (docs/translators.md §5.4–5.5) |
| ERC-20 is proven; SPL Token is not | tier 18 (ERC-20 transfer): OOM-killed at 24.7 GB on a 48 GB laptop, above 47 GB at 25 min on a 64 GB droplet; proved on a 128 GB droplet (m-16vcpu-128gb) at 85.0 GB (translated) / 85.5 GB (interpreted) peak RSS, 3 230.5 s / 3 143.3 s, 811 600 / 805 108-byte proofs. Tier 16 (ERC-20 approve, translated): 21.7 GB, 786.7 s (13.1 min), 798 930-byte proof. Tier 20 (SPL Token): OOM-killed at 65.1 GB on a 64 GB droplet after 10 m 41 s; not yet proven — extrapolated at about 330 GB and about 3.6 h, more than DigitalOcean's largest memory droplet (m-32vcpu-256gb, 256 GB) |
/usr/bin/time, watchdogs; the prover is single-threaded (99 % of one core on 16 vCPUs) |
docs/guests.md: the Rand ISA, the syscall ABI, the image container, step-by-step Rust, C and hand-built deploys,hcversus program id (andhc's two spellings), the hermetic build, the cap.docs/translators.md: the trust model, the parity guarantee and its accepted divergences, the ERC-20 and SPL Token walkthroughs, measured tables, limits.docs/node-hardware.md: what each role proves or verifies, measured RAM and disk, DigitalOcean sizes, prover memory per tier, setup.- The call limits and the public input:
docs/cli.md(the fourrand-node genesisflags,deploy --public,call --expect-public,fee --public-words/--bytes),docs/rpc.md(rand_getLimits,rand_getProgramPublic,h_pub),docs/guests.md§8.1,docs/confidential.md(Call limits and a program's public input), anddocs/translators.md(calling the ERC-20; the SPL deploy with--public spl_token.so).
- This build is chain-13-only. It must not be same-chain-updated onto chain 12. The
encodings of
Action::Deploy(it carries the public words),ProgramRecord(public_digest,public_len) andCallReceipt(h_pub) changed, so a chain-12 database and chain-12 blocks do not decode under it. A proof whose bytes are not the canonical postcard encoding is now refused, which is a consensus tightening. The sync wire carries proofs and envelopes as CBOR byte strings, which an older node cannot read. A chain-12 genesis file still hashes to605eb783…, but that says only that the genesis is unchanged, not that the build can run on the chain. Roll it out as a chain cut (deploy/cut-chain13-genesis.sh). - The chain side of both translated programs needs chain 13's limits. On chain 12 (no limit fields) the images are over the program cap, SPL Token's public input is refused, its 10 458 private words are over the default 4 295-word input cap, and a keccak-carrying ERC-20 call proof (3 198 430 bytes at tier 10, production) is over the 2 MiB proof cap.
- SPL Token calls are unproven. No SPL call proof exists: tier 20 needs about 330 GB, more
than any DigitalOcean droplet (256 GB max). Its deploy (live on chain 13), public input and
refusal paths are run; its call proof is not. The ERC-20
transferandtransferFromcalls are tier 18 and need about 85 GB; onlyapprove(tier 16) was called on chain 13, from a 48 GB laptop. rand call --no-envelopeapplies no input-word cap, since nothing is sealed.- EVM: the nine block-context opcodes trap; a
CALLwith nonzero value traps; ecrecover, bn256 mul and pairing, large modexp and long blake2f exceed the 2^20-cycle tier cap. - sBPF: CPI and unknown syscalls trap at run time; Ed25519 and secp256k1 exist in software but are unlinked.
- Fixed:
deploy/vps-setup.shdeleted therand-nodeunit it had just written (a leftover of the rename). It still inits from chain 5'sdeploy/genesis.json;docs/node-hardware.mdgives the manual steps.
Released 2026-09-18 · chain 12 (genesis 605eb783…) · same-chain update, no fork
The fleet runs 4504a03. The tag also carries two later groups of commits, neither deployed yet:
3ee3913,c36d690: therand viewing-keyandrand tx-keywallet commands and one node-side fix. See Keys you can hand out.3cfc0a2..10422b6: the program cap as an optional genesis parameter, and deploys ofrand-guestimages. See Also included.
v0.3 is an RPC release. We lined the node's JSON-RPC up against Ethereum's execution API and Solana's RPC, method by method. Then we added the methods a wallet or explorer author reaches for first and could not find here:
- post-submit status that tells pending apart from dropped
- per-program receipt queries
- multi-gets
- finality
- health and build identity
- two new WebSocket push topics
Everything is node-side. Blocks, transactions, gossip, sync and genesis are byte-for-byte unchanged, so v0.3 nodes and chain-12 nodes run side by side. The whole fleet was upgraded in place with no chain cut.
| Method | What it answers | Ethereum twin | Solana twin |
|---|---|---|---|
rand_getVersion |
crate version, full git sha, chain id, hc_bundle, FRI profile |
web3_clientVersion |
getVersion |
rand_getGenesisHash |
the genesis hash this node was initialised with | — | getGenesisHash |
rand_getHealth |
ok / syncing / behind + the lag in blocks |
eth_syncing |
getHealth |
rand_getTransactionStatus |
up to 64 hashes → committed / pending / rejected (with reason) / unknown |
eth_getTransactionReceipt |
getSignatureStatuses |
rand_getReceipts |
a program's receipts over a height range, paged | eth_getLogs |
getSignaturesForAddress |
rand_getWitnesses |
up to 32 Merkle witnesses from one tree build | eth_getProof × N |
getMultipleAccounts |
rand_getBlocks |
up to 128 block headers in one call | batch only | getBlocks |
rand_getFinality |
committed / certified / proposed / unknown from the replica's own QCs |
eth_getBlockByNumber("finalized") |
getBlockCommitment |
rand_getProposer |
the leader per view (≤ 64) under the current validator set | — | getLeaderSchedule |
rand_getMempoolInfo |
pooled count, bytes, oldest age, cap | txpool_status |
— |
rand_getEmission |
inflation (a fixed "0"), the aggregation subsidy schedule, faucet flag |
— | getInflationRate |
Full parameters, result shapes, caps and error codes are in docs/rpc.md. The
method-by-method comparison is in docs/rpc-comparison.md.
- Know when a transaction is dead.
- What it covers:
rand_getTransactionStatuschecks the chain first, then the mempool, then the node's refused-transaction cache. A transaction refused for its own bytes readsrejected, with the exact reason the node gave. Those reasons include:- a bad proof, digest or mint signature
- the wrong chain
- an oversize part
- What it does not cover: a refusal about state is not remembered. Examples are a spent
nullifier or an expired anchor. Such a transaction reads
unknownonce it leaves the pool.
- What it covers:
- Receipts by program, paged with a soft-floor limit (default and cap 256).
- A page never splits a block, so
next_heightis always the first height not yet served. - A client never sees a receipt twice and never loops.
- A page never splits a block, so
- Witnesses in bulk.
rand_getWitnessrebuilds the whole commitment tree for every call.rand_getWitnessespays that cost once for up to 32 leaves.- A wallet spending several notes needs one round trip.
- Finality you can show a user.
certifiedmeans a quorum certificate exists but the block has not committed yet.committedis final.- A block that commits while you are asking still reads
committed, neverunknown.
- Emission. There is no inflation on RAND, and the method says so explicitly. Clients
porting from Solana's
getInflationRateget a number instead of a missing method.
Same port and path as before (ws://host:8545/). newHeads is unchanged.
| Topic | Subscribe with | You get |
|---|---|---|
receipts |
["receipts"] or ["receipts", "<program_id>"] |
one message per block that carries matching receipts |
transaction |
["transaction", "<hash>"] |
exactly one message when the hash commits or is refused, then the subscription removes itself |
- No race on submit-then-subscribe. If the transaction already committed or was refused before you subscribed, the answer arrives on the next block. Clients have one code path.
- A slow topic can't disconnect you from another one. A lag closes a connection only when
it is subscribed to a stream that fell behind. A
newHeads-only client is never dropped because of receipt or refusal traffic. - The three streams are independent. A client subscribed to several may see block N's receipts before block N's head.
Two new wallet commands export the keys a holder may choose to share. Neither can spend.
rand viewing-keyprints the wallet's viewing key: 64 hex, the exact parameterrand_importViewingKeytakes. It reveals every note the wallet has sent or received.rand tx-key <hash>prints one row per output of that transaction the wallet sent, received or kept as change, with the per-transaction key the output was sealed under.- A
sentrow's key is a payment proof.rand_checkTransaction <hash> <key>discloses that one output to whoever holds the pair, and nothing else. - Nothing is stored at send time. Every envelope carries its key twice, under the sender's outgoing viewing key and under the recipient's KEM secret. So the sender and the recipient both recover the same key, for any past transaction.
- A
$ rand tx-key bee116bf…
output role amount tx key
bundle:0 sent 1000 RAND 5f60738f…ae46
bundle:1 change 99.979 RAND b5624451…9654
Node change: rand_checkTransaction now also discloses a faucet mint's note (mint:0).
Its recipient recovers the key through the envelope's KEM half. The chain-12 fleet runs
4504a03, so this check applies once nodes are rebuilt at or after c36d690.
These ten commits were written for the v0.4 chain and change nothing on chain 12.
- A genesis file may set
max_program_words(1..=65535). Absent, the cap stays 4096 words and the genesis hash is unchanged, so running chains see no difference. The ledger, admission, reload andrand_estimateFeeall read it. rand_estimateFeefor a deploy refuses past the chain's cap, with the cap in the message. No method, parameter or result shape changed.rand program deployaccepts the image containerrand-guest buildemits, printshcinrand_getProgram's spelling, and refuses an over-cap program before any proving.- It takes effect on the chain cut that sets the field. Details are in
docs/rpc.md, entry "for the v0.4 chain".
-
New
receipts_by_programindex, a RocksDB column family written in the same atomic batch as each receipt and dropped with it on a truncate. -
One-time backfill on first start. Chain 12's explorer node indexed its 117 receipts instantly. A later restart finds the marker and skips the backfill. A node killed mid-backfill finishes on its next start.
-
The database is forward-only. A pre-v0.3 binary refuses to open a database that has the new column family. To roll back, run the new subcommand with the v0.3 binary while the node is stopped:
rand-node db drop-receipts-index --datadir <dir>
Then re-pin the old build. The full procedure is in
deploy/README.md, section "Rolling back v0.3". Tests cover both directions: a pre-v0.3 database migrates, and a dropped database opens with the old column-family list.
wait_for_transactionnow fails fast onrejected, with the node's reason in the error, instead of waiting out the full timeout.- Old nodes still work. Against a node older than v0.3, the client detects the missing method once and falls back to its old polling loop.
- New
transaction_status(&[Hash]).
The RPC is unauthenticated, so every new surface is bounded. Code review during the release found and fixed the following before release.
rand_getProposerrefuses a range wider than 64 views before allocating anything. It used to build the whole range first, so one call with[0, u64::MAX]could exhaust a node's memory.rand_getTransactionStatusreads only a transaction's location (height and index). It no longer decodes the full record, which on chain 12 includes a ~1.2 MB proof. That was up to 64 decodes per call on the threads consensus shares. The lookup now also runs off the async runtime.rand_getMempoolInfokeeps a running byte total. It no longer re-serializes every pooled transaction on the consensus loop for each call. Block building reuses the stored lengths too.rand_getEmissionreads two metadata keys. It no longer rebuilds the whole ledger and commitment tree for each call.rand_getReceiptscursors always advance. The earlier design could loop forever on a height with more receipts than the page size.rand_getFinalityby hash no longer readsunknownfor a block that commits while you ask.- Every new method checks its caps on the input before doing any work: 64 hashes, 32 indices, 128 headers, 64 views, 256 receipts, 8 subscriptions per socket.
rand_getVersionreports the exact commit a node was built from.deploy/rebuild-vps.shwrites it into the tree before the rsync and passes it to the build asRAND_BUILD_SHA, so a stale.giton the build host can't mislead it.build.rsnow notices new commits on a branch.- It marks a build
-dirtyonly for modified tracked files.
rand-node db drop-receipts-indexis the rollback step described above.- Startup takes minutes, not seconds. A node's RPC opens after its quick chain verification, about 4 minutes at chain 12's ~59 000 blocks. This is unchanged behaviour, but worth knowing when you watch a rolling update.
docs/rpc.md: a section per new method and topic, plus the v0.3 changelog entry.docs/rpc-comparison.md: the Ethereum / Solana / RAND table, refreshed, and a new section "What v0.3 closed".docs/superpowers/specs/2026-09-18-rpc-v0.3-design.md: the design and a record of every decision changed during implementation.deploy/README.md: "Rolling back v0.3".
rand_getVersion'sversionfield reports the workspace crate version, which still reads0.1.0. Usegit_shato identify a build. The crate version will be bumped with the next binary change.main.rs'sthe_genesis_hash_is_pinnedtest fails on this commit and on the commit before it. The failure predates this release and does not touch chain 12's genesis.
These gaps are by design, because RAND's state is shielded. They are not planned.
eth_call/simulateTransaction: execution and proving happen in the wallet.eth_getBalance/getAccountInfo/getProgramAccounts: there are no readable accounts.debug_traceTransaction: the node never sees a call's private inputs.rand_feeHistory: it arrives with the fee-ordered mempool.
It is a drop-in binary swap on chain 12. There is no genesis change and no resync.
deploy/rebuild-vps.sh <build-host> # build once
deploy/update-droplet.sh <ip> # per node, one at a time; idempotentThe testnet fleet (16 DigitalOcean droplets plus the laptop validator) was rolled one node at a time with the chain producing blocks throughout.
| Commits | 28 |
| Files changed | 20 (+3 904 / −178 lines) |
| New tests | 30 |
| New RPC methods | 11 |
| New WebSocket topics | 2 |
| Review fix rounds before release | 6 (5 per-task + 1 whole-branch) |
What's next: v0.4 is the guest toolchain (rand-guest, Rust and C to RV32IM) and the
sBPF → RV32 and EVM → RV32 transpilers.
Short shielded addresses: a receiver id plus a verifiable receiver record. Reverted at
17db41d because a sender cannot seal a note to a hash and an empty wallet cannot register;
chain 12 returned to the long ML-KEM address. See AGENTS.md.
The first tagged full node: HotStuff BFT, the shielded pool, staking, the bridge, confidential programs on the zkVM, block aggregation, and the pre-v0.1 security review's fixes.