Repository navigation
v5.9.0
Nuthatch 5.9.0 adds nuthatch diff: what happened in a block range, a block or a transaction, told in
fixed sentences from the rows a nest already holds (RFC-0071). It is read-only and makes no network
call beyond an optional receipt lookup for --tx. There is no storage migration, and no nest's NID,
data identity, registry hash or sealed segment changes.
The story
nuthatch diff --from A --to B (or --block, or --tx) prints, section by section:
- Control plane, uncapped: every ownership, admin, role, pause and upgrade event in range.
- Largest movements, per token: the top transfers by amount and the top addresses by net flow.
Amounts of two tokens are never compared, there are no prices, and every amount is exact decimal
text scaled bymetadata.json, never a float. - New holders, and tables whose first row falls in the range.
- Approvals, with unlimited ones (2^256-1) named.
- Flags and labels: threshold flags raised in range, and every labelled address that appears.
- Everything else, told by
storylines an author writes insemantic.toml, or grouped by each
indexed parameter's most frequent values. Every row in range is counted in exactly one section.
A range above the sealed boundary is told and labelled provisional; --final-only refuses it.
--since-last runs on from the previous diff, keeping its cursor under $XDG_STATE_HOME, never in
the nest directory. Formats are text, markdown and json.
semantic.toml is outside the data identity, so adding a story line moves the NID but reuses the
nest's data.
The flow
nuthatch diff --flow draws the token flow instead: one edge per (from, to, token) with the exact
amount, and each address's net flow, in text, JSON, DOT or Mermaid. WETH9's Deposit and
Withdrawal read as mint and burn for the listed wrapper on each chain only. Net flow is the sum of
the transfers seen, never a balance, and the output says what the nest cannot see.
Three surfaces, one document
The CLI, GET /diff and the MCP diff tool build the same document and return byte-identical JSON.
The route takes one /sql permit and runs under /sql's 30 s budget and hot-row ceilings; a bounded
mount refuses it. nuthatch diff --url asks the route, so story lines come from the instance's own
semantic.toml.
Address-history nests
On an RFC-0063 address-history nest, the diff reads the watched addresses' transactions, internal
transfers and token transfers. A transaction's value and an internal transfer are movements of the
chain's own currency, kept apart from every ERC-20. For two Euler-exploit addresses, every native and
internal row matched Etherscan's txlist and txlistinternal to the wei.
Limits
A diff reads at most 2,000,000 rows whole and draws at most 500,000 distinct (token, from, to) edges.
Past either it is refused with the reason, rather than leaving the per-cursor memory budget. The
widest real range measured had 119,056 edges, and two million GRT transfers peaked at 572 MiB.
Also
/apianswers BitBoxApp's balance, gas andcontractaddresscalls, takes POST forms as well as
query strings, and refuses achainIdthat conflicts withchainidrather than picking one (#2317).- rustls-webpki 0.103.16 and webpki-roots 1.0.10, for RUSTSEC-2026-0381 and 0382 (#2316).
Compatibility and upgrade
Replace the binary and restart. A 5.8.2 store is used as it is.