Repository navigation
v0.6.0
Warning
The appliance images on this release are superseded by 0.6.3. They contain satd 0.6.0 and the TLS trust stores as they stood when the images were built, which still trust the eMudhra (emSign) intermediate CAs whose private keys were disclosed on 2026-10-20, and they do not install updates by themselves. Use the 0.6.3 images for new installs. On an installed appliance, run sudo apt update && sudo apt full-upgrade, then replace /usr/local/bin/satd, sat-cli and sat-tui with the binaries from the verified 0.6.3 tarball and run sudo systemctl restart satd. See the 0.6.2 and 0.6.3 release notes.
📄 Canonical release notes:
docs/release-notes/0.6.0.md
satd 0.6.0
satd 0.6.0 builds a solo-mining server into the node, Stratum V1 and V2
with Job Declaration, so a miner can point its hardware at its own node with
no pool and no proxy. It adds silent-payment sending (BIP 375 over PSBT
version 2), completing the receive side shipped in 0.5.0, and re-keys every
index on transaction ordinals, which halves a fully indexed chainstate.
The rest is sync, reorg and reindex robustness, and another round of Bitcoin
Core parity found by running Core's own functional tests against satd.
One chainstate rebuild is required. The chainstate schema moves from 3 to
7, so the first start runs one -reindex-chainstate from the block files
already on disk; app-store installs do it by themselves, and pruned nodes
must resync. See Upgrade notes. The new listeners are off unless you turn
them on, and defaults stay Bitcoin Core-compatible.
Highlights
- Stratum V1 and V2 solo-mining server. Mine to your own address from
your own node, with TLS for V1, Noise for V2, Job Declaration, and
per-miner statistics. See Mining. - Silent-payment sending (BIP 375). PSBT version 2 on every PSBT method;
analyzepsbtandfinalizepsbtverify every silent payment output before
it can be broadcast, andsat-clisigns. The node stays keyless. - A fully indexed chainstate is half the size. Indexes key on 5-byte
transaction ordinals instead of 32-byte txids: a synced mainnet node with
every index went from 805 GB to 388 GB. - Block templates match Bitcoin Core's: the right difficulty at a
retarget, the sigop limit, CPFP package selection,-blockmaxweight, and a
validity check on every template before a miner sees it. - Faster block relay: BIP 152 high-bandwidth compact blocks, compact
fetches for blocks announced byheaders, and BIP 339 wtxid relay. - Install from Umbrel's community store or a signed appliance image for
amd64 and arm64, each opening onto a new status page; the StartOS package
is submitted to Start9's registry. See
Installing satd.
Mining
The Stratum server
- Stratum V1 (
--stratum=1). A miner connects to the node and gets work
built from the node's own template; a found block is accepted and relayed
by the same process. The username is the payout address
(<address>.<worker>,--stratumaddressas the fallback) and the coinbase
pays it the whole reward: there is no share accounting, as with
ckpool -B. The plaintext listener binds loopback, and a non-loopback
plaintext bind is refused unless--stratumallowplaintextremote=1, because
V1 carries the payout address in cleartext. TLS and mTLS are on
--stratumtlsbind; AxeOS stores at most 511 bytes of custom CA, so the
manual gives a CA recipe that fits and satd warns when a chain ends in a
larger one. No work is served during initial block download, and the server
is refused on signet, whose blocks need the network's signing key (#746). - Stratum V2 (
--stratumv2bind): the Mining Protocol over Noise NX, with
standard and extended channels (AxeOS 2.14 and later uses extended). The
authority key is created once at<datadir>/stratum_v2.key(mode 0600,
--stratumv2keyto override) and logged in hex and base58check. Miners pin
it, so it survives restarts, a malformed key file stops the node rather than
being replaced, and it belongs in your datadir backups (#748). - Job Declaration (
--stratumv2jd=1), with solo semantics: a miner
running a Job Declarator Client chooses its block's transactions. Every
declared transaction must already be in this node's mempool in minable
order, and the coinbase must build on the current tip, pay the token's
address and claim no more than the subsidy plus the declared fees (#751). - Seeing your miners.
getstratuminforeports the listeners, the
authority key, channels, share counters, blocks found, the current job, and
aminersarray with each miner's device, difficulty, shares, best share
and estimated hashrate. The metrics endpoint exports node-wide
satd_stratum_*series.-debug=stratumlogs per-miner detail; a
disconnect summary and every refused share, with its reason, are always
logged. See
Verifying a miner. - A found block is saved before it is submitted, to
<datadir>/stratum/found/<height>-<hash>.hex. If the node refuses it, the
warning names the file, andsat-cli -stdin submitblock < <file>sends it
to any node. - Miners are not dropped between shares. Every connection used to be
closed after 120 seconds without a message, so a miner on vardiff's 30-second
target was dropped about every half hour and restarted at its lowest
difficulty. An authorized miner may now stay quiet for twenty expected share
intervals, between 2 minutes and a day. - Steadier difficulty. Vardiff moves only when the shares since the last
change are significantly off target, leaves a rate within 15% alone, and
steps by at most ×8. In simulation over five hours, 95% of settled miners
kept their difficulty within a ×1.55 range with at most two changes; the
old rule's median was a ×17 range and about 170 changes. Slow "lottery"
devices (ESP32-class, about 1 MH/s) reach difficulty 1 in about twelve
minutes. They were closed as idle before vardiff could lower them, about 140
times a day, and averaged two shares a day. - Work follows a tip reached through block download, where it stayed on
the old tip for up to 30 seconds after the node caught up.
Block templates
- The right difficulty at a retarget. Templates carried the previous
block'snBits, so a miner on mainnet at every 2016th height, and on the
testnets after any 20-minute gap, found a block the node itself rejected as
bad-diffbits.mintimeis now median time past plus one, Core's value. - Every template is checked before it is used, as Core's
TestBlockValiditychecks its own. A structural check runs on each
template;getblocktemplateand thegenerateRPCs refuse a failing one
withTestBlockValidity failed: <reason>, and the Stratum server hands out
a coinbase-only job instead. A full check with scripts follows in the
background. A failure is a node bug: it is logged with the offending
transaction, counted insatd_template_checks_total, and raised as the new
criticaltemplate_invalidalert. - Templates keep to the sigop limit. A mempool dense in bare multisig
filled the 80,000 sigop budget long before the weight limit, and the
template made a block the node refuses. 400 are now reserved for the
coinbase, as in Core, andgetblocktemplatereports each transaction's
sigops. - Transactions are selected by package, with Core's ancestor-score
algorithm. A child paying for a cheap parent (a CPFP bump, a Lightning
anchor spend, a zero-fee parent with ephemeral dust) waited on the parent's
own fee rate and was often left out; the fees went with it. -blockmaxweighttakes effect (#836). It was parsed and read by
nothing. It now caps every template with Core's semantics, and a value above
the consensus maximum or a malformed one inbitcoin.confstops the node.
Silent payments: sending
- PSBT version 2 everywhere. Every PSBT method accepts and answers a
version 2 PSBT and carries the BIP 375 fields, and any field it does not
recognise, byte for byte.combinepsbtrefuses two values for one key
rather than keeping the first, andjoinpsbtsrefuses a silent payment PSBT
that has committed to its inputs. Version 0 behaviour is unchanged, error
text included. - Verification before broadcast. A wrong ECDH share sends the money to a
key nobody holds, with nothing visible on chain.analyzepsbtreturns a
per-output status (ready,missing_shares,invalid_proof, …) with the
script satd derived independently, andfinalizepsbtrefuses to extract
unless every silent payment output verifies; there is no override. Beyond
BIP 375's reference validator, satd requires each input's public key to
match the output it spends and checks every previous output against its own
UTXO set. The verifier is tested against the BIP 374, BIP 375 and BIP 352
vectors, and end to end with the node's tweak index and a scan-key watch
both finding the payment. - Creating one.
createpsbtaccepts ansp1…address as an output key
with a new trailingpsbt_version=2; a positional call written against
Core keeps its meaning.decodepsbtandanalyzepsbtspell the recipient
back as its address.createrawtransactionrefuses ansp1…key and says
why. - Signing one.
sat-cli signpsbtwithkeyis a BIP 375 Signer: it
computes and proves the shares for the inputs it holds, derives every output
script once all eligible inputs are covered, and only then signs. A signer
holding some of the inputs writes its shares and exits 2, and the next
signer continues.sat-cli signpsbtwithsignerpasses a version 2 PSBT to an
external signer and refuses a reply that does not verify.
BIP 375 is still a draft. See
Sending
in the Operator Manual.
Storage
- Every index keys on transaction ordinals (schema 3 → 7). An ordinal
numbers transactions in chain order, so 5 bytes replace a 32-byte txid that
was stored five to seven times over. The transaction index, the spend index
(76 bytes a row → 16), address funding rows (64 → 32) and address spending
rows (92 → 32) all move. On a synced, fully indexed node the chainstate
went from 805 GB to 388 GB on mainnet (−52%), −43% on signet and −40%
on testnet4. Nothing on any wire changes, iteration order included.
getrawtransactionindexes straight into its block, and Esplora's
/outspendsis one prefix scan. A node with neither-txindexnor
-addressindexwrites no index rows, as before. - AssumeUTXO indexes are no longer reported complete too early. Loading a
snapshot left the address and spend indexes marked complete, so they
answered "no history" and "unspent" for the chain below the snapshot base.
They now refuse untilbackfillindex addresshas run, the procedure that
was already documented. - UTXO counters stay exact across reorgs.
gettxoutsetinfo'stxouts
andtotal_amountdrifted on every reorg whose new branch re-mined the old
block's transactions; on signet, eleven one-block reorgs left them 19,547
coins away from the coin set, anddumptxoutsetrefused. The coins were
right throughout, and the upgrade's rebuild corrects the counters. - Exact recent UTXO ages.
utxo_age_distribution's<1h,<1d,<1w
and<1mobuckets are exact, with a newexactfield;<1dwas always
empty or a whole 1000-block chunk. No reindex: an existing datadir builds
the window with one background scan. getstoragefootprint(andsat-cli debug storage-footprint) reports
each column family's disk bytes, key estimate, bytes per key and pending
compaction on a live node, without an offlineldbdump.- A missing cumulative transaction count is an error, not a silent
restart at zero. Fixing it also fixedgetchaintxstatstotals, which were
one short for the life of any datadir that had run-reindex-chainstate.
Chain, sync and reindex
- Reorgs wait for the whole branch, and take it when it arrives (#739,
#856, #861). satd disconnected its chain for a heavier branch before
checking that the branch's blocks had arrived, then rolled back with an
ERROR, which was routine on testnet4. It now activates only a branch whose
blocks all have data, and does so as soon as the last one arrives instead of
waiting for the next block. A race between the downloader and the connector
that could stop sync for good is fixed. Connecting stored blocks above the
tip is no longer reported as a reorg. - Pruning keeps blocks the node has not connected yet. A pruned node in
initial sync deleted block files that also held blocks downloaded ahead of
its tip, then retried the next block forever. A file now goes only when
every block in it is at or below the cut, as in Core. A stored block whose
record is gone is now fetched again from a peer by itself. - An interrupted rebuild is no longer served (#839). A
-reindex-chainstate
or-reindexcut short left a datadir that looked finished, with its
indexes marked complete, and stuck at the height it reached. A marker now
makes the next plain start refuse and name the flag that finishes the job. -upgradechainstate=1runs-reindex-chainstatewhen the chainstate's
schema is older than the binary's or a rebuild did not finish, and does
nothing otherwise, so it can stay on. It never downgrades and refuses a
pruned node. Core has no equivalent; the app-store packages turn it on.- A
-reindexover missing block files says so (#504). It stopped at
the first missingblk*.datand still loggedReindex from flat files complete. The replay is now held to the tip the node had reached, and the
reindex.shortwarning names the missing file. - A clean shutdown no longer ends in a crash (#868). A node stopped during
initial sync could logsatd stoppedand then die of SIGSEGV, because the
block connector kept running into the exit. Shutdown now stops it before
the flush and exits without C++ static destructors. On a pruned signet node
in initial sync, the previous build crashed in 3 of 14 stops; this one
exited cleanly in 20 of 20, each within 21 seconds. - A reload sent during startup no longer stops the node. The
SIGHUPand
SIGUSR1handlers are installed as startup begins. - A node that mined its own chain takes relayed transactions (#759); it
read as still in initial block download and ignored them. invalidateblock,reconsiderblockandpreciousblockbehave as in
Core. The header tip leaves an invalidated branch (#778),
reconsiderblockclears the block's ancestors as well as its descendants,
andpreciousblock, which was a stub, works. Equal-work tips are ordered by
Core'snSequenceIdrather than by block hash.verificationprogressis Core's estimate (#744), equal to Bitcoin Core
v31.1's. It read 0.69 at genesis.
Consensus
- The BIP 34 height must be Core's exact encoding. satd accepted the right
height pushed non-minimally (padded, with a needless sign byte, as
OP_PUSHDATA1), which Core rejects asbad-cb-height. No block on a public
network does this, but one would have split satd from Core. Job Declaration
applies the same rule to a declared coinbase. - Signet block solutions are verified (#767, #837). The default signet's
were never checked, so a node followed any block that met signet's trivial
proof of work. Custom signets signed with Core's tooling never verified
either: satd's BIP 325to_spendlacked its leadingOP_0. Verification
starts at your tip, and stored blocks are checked on the next rebuild, which
this upgrade runs. One gap
remains: signetnBitsis not checked against the retarget schedule (#838).
Networking
- Compact block relay, hardened (#763). A
cmpctblock's header is
checked before the block is rebuilt, pending reconstructions are bounded per
peer, a block being rebuilt is no longer also downloaded in full, and a
merkle mismatch falls back to the full block without penalising the peer. - High-bandwidth compact block relay (#770). satd selects up to three
high-bandwidth peers and announces a new block to them as acmpctblock
before connecting it, including every block found through the Stratum
server. A solo miner's block reached the network later on satd than on
Core.getpeerinforeportsbip152_hb_toandbip152_hb_from. - Blocks announced by
headersare fetched as compact blocks (#867), on
Core's conditions, with the full block as the fallback; satd fetched every
block whole from a peer it had not picked for high-bandwidth relay.
sendheadersgoes to inbound peers too. - Reconstruction statistics. One
compact block reconstructedlog line
per block andsatd_net_compact_block_*metrics say how each block was
rebuilt.-blockreconstructionextratxn, accepted and ignored before, now
sizes Core's extra-transaction pool (default 100). - Opt-in compact block prefill (
-cmpctblockprefill=1, up to
-cmpctblockprefillbytes, default 8192): announces a block with the
transactions this node lacked already inside, following Core's unmerged
proposal #35558. Off by default. - Wtxid relay (BIP 339) (#714). A peer that negotiates it, as every Core
since 0.21 does, is announced transactions by wtxid and can fetch them by
wtxid. Two transactions with one txid and different witnesses are told
apart: the second is refused astxn-same-nonwitness-data-in-mempool. - Addresses from gossip (#866). An address naming no host (
0.0.0.0,
::) is never dialled; satd dialled a gossiped0.0.0.0, which on Linux
reaches the local host. Off regtest the address book takes routable
addresses only, as Core's does. A peer found through gossip is
outbound-full-relay, notmanual; see Upgrade notes. - Peer names are looked up again (#876, #879). An
-addnodeor
-connectname that does not resolve yet is kept and retried instead of
dropped, a disconnected named peer is looked up again before it is
redialled, and a config reload registers new entries as startup does. - An honest peer is no longer banned for headers the node cannot connect
yet, which could cut a syncing node off from its only peer. The P2P loop
also stops waiting out its 500 ms tick while its queue is full, which capped
initial block download at 64 messages per tick. - A
ponganswers for everything sent before theping, as in Core, so
send_and_ping(block)means the block is connected.
JSON-RPC and listeners
- Large replies are served (#723). One 20 MiB cap governed requests and
replies, sogetrawmempool verbosefailed with-32008above roughly
17,000 mempool transactions. Requests keep the 20 MiB cap; replies are
bounded at 256 MiB, which covers the default-maxmempool. getmempoolsummary [top_n]: a size histogram and the top transactions
by ancestor fee rate, about 9 KB wheregetrawmempool verboseis about
85 MiB and four seconds of node CPU on a mainnet-sized mempool.- Connection caps hold (#813). The TLS RPC listener's cap of 100 counted
only connections still in their handshake, so idle keepalive connections
could exhaust file descriptors. A peer outside-rpcallowipno longer takes
a slot, and at-capacity warnings are rate-limited. - A configured
-rpcallowipgates the TLS RPC listener too, and
-rpcreadonlyallowipthe read-only one. The packaged configurations now
writerpcallowip=0.0.0.0/0, since their TLS listener serves the LAN and
their plain one is kept off it by the network (#887). See Upgrade notes. - Esplora and
streamwscap their sockets. They bounded nothing at the
socket level and never closed an idle keep-alive connection.
-esploramaxsocketsand--streamws-max-sockets(default 1024) now apply,
idle connections close, and an open WebSocket keeps its slot. A mistyped cap
is clamped to 100,000 instead of crashing satd at boot. - HTTP/1.1 only on the JSON-RPC, Esplora and
streamwslisteners, so
-rpcservertimeoutcuts a client that connects and sends nothing; see
Upgrade notes.
Authentication
-rpcwhitelistand-rpcwhitelistdefaultlimit an RPC user to a list
of methods, with Core's semantics. Both used to stop satd at startup. A user
with a list is refused a WebSocket upgrade, and bearer tokens are
unaffected. See Authentication.- An
rpc:submitbearer capability, so a broadcaster's token can hold
rpc:readandrpc:submitand neverstopthe node.rpc:writeimplies
it, so existing tokens keep broadcasting. - Esplora's
POST /txneedsrpc:submit; anesplora:readtoken alone
could broadcast. - Batches and WebSocket calls are charged per call against a token's
rate_limit. A batch counted as one call however many it carried. A call
over budget is answered-32005withretry_after_secs.
Observability
- Metrics and health over TLS.
-metricstlsbindserves/metrics,
/healthzand/readyzon a second port, with optional client
certificates (-metricsmtls), so Prometheus can scrape across a network
without a proxy (#752). - A status page (
statuspage=1) on the metrics listener: a single-page,
self-refreshing view of sync, indexes, mempool, fees and peers for a
browser. It is unauthenticated like/metrics, so it shows no credentials,
addresses or error text, and connection strings come only from
statusadvertise(#749). - The metrics listener answers while the node starts (#841), including
through a mainnet rebuild that takes hours:/readyzis 503 with what the
node is doing,/metricscarriessatd_startup_*gauges, and the status
page shows the rebuild's progress and ETA. tip_stallno longer fires during initial sync (#814). Every first
mainnet sync raised a critical alert an hour in and held it to the end.sat-tui: the mempool and UTXO-age histograms are log-scaled bar charts
with their counts, the mempool panels readgetmempoolsummary, and a
failing RPC is named in the title bar (rpc failing: <method>) instead of
leaving its panel frozen.
Bitcoin Core parity
These came from running more of Core's functional suite against satd.
mining_mainnet, mining_getblocktemplate_longpoll, mempool_expiry,
mempool_accept_wtxid, feature_signet, feature_fastprune,
feature_maxtipage, rpc_bind, rpc_users, rpc_setban, rpc_whitelist,
p2p_compactblocks_hb, p2p_compactblocks_blocksonly, p2p_feefilter,
p2p_handshake, p2p_net_deadlock, p2p_nobloomfilter_messages,
p2p_ping, p2p_timeouts, p2p_tx_privacy and p2p_v2_transport now run
in the pull-request gate.
- RPC fields.
getmininginforeportsbits,target,blockmintxfee
and the next block'sheight,bits,difficultyandtarget;target
appears besidebitsingetblock,getblockheader,getblockchaininfo
andgetchainstates; signet nodes reportsignet_challenge;
getprioritisedtransactionsreportsmodified_fee;getmempoolentry
reportswtxid. - Address-manager RPCs:
getnodeaddresses,getaddrmaninfo, and the
hiddenaddpeeraddressandgetrawaddrman.peers.datmoves to format
version 2; a version 1 file still loads. - Mempool policy. A full mempool raises a rolling minimum fee
(mempool min fee not met), reports it ingetmempoolinfo, and advertises
it infeefilter. Rejections readreason, detailas Core's do;
getrawmempooltakesmempool_sequence=true; an expired transaction takes
its descendants with it. - A rejected script names the rule it broke:
mempool-script-verify-flag-failed (Non-canonical DER signature)rather
thanERR_SCRIPT, andtestmempoolacceptnames the input. - Mining.
getblocktemplatelong polling waits for a new tip or a
mempool change.generatetoaddress,generatetodescriptorand
generateblockrun on every chain, and their blocks always carry the
witness commitment. - Manual pruning.
-prune=1puts the node in prune mode with no budget,
and the newpruneblockchainRPC is the only thing that deletes.-fastprune
is Core's 64 KiB block-file size. - Options that were accepted and ignored now work:
-maxtipage,
-rpcservertimeoutinbitcoin.conf,mocktime=inbitcoin.conf, and
-peertimeout. With no-rpcbindthe RPC server listens on::1as well as
127.0.0.1.-norpcauth,-norpccookiefile, bracketed IPv6 in
-rpcallowip,-cjdnsreachableand Core's-noX=0double negative are
accepted, and bad-rpcbind,-rpcauthand cookie-file settings stop the
node with Core's messages. - P2P. BIP 324 v2 detection,
addnode'sv2transportargument,
feefilterrules, protocol-violation disconnects, ping timing on the node
clock, Core's handshake rules (service flags, connections to ourselves) and
Core's log lines. A 4 MB message over v2 is accepted, and initial block
download asks a peer only for blocks it has announced. - Signet: an invalid solution is
bad-signet-blksig, and a repeated or
non-hex-signetchallengeis refused in Core's words. sat-clireadsbitcoin.conflikebitcoin-cli:rpcuser,
rpcpassword,rpccookiefile,rpcport,rpcconnectand the chain, with
-conf,-signet,-testnet4and-chain=. A node configured with
rpcuser/rpcpasswordwrites no cookie, andsat-clicould not reach it
without repeating them.
App stores, appliance and packaging
- Where to get it. Umbrel: add the community store
https://github.com/epochbtc/umbrel-appsand install satd. StartOS: the
package is submitted to Start9's community registry; until it is listed,
buildepochbtc/satd-startos
and sideload it. Appliance images for amd64 and arm64, incoreand
desktopflavours, are attached to this release and signed with the release
minisign key. The new
Installing satd chapter
covers each, plus the container image and the tarballs. - Chainstate upgrades without a shell.
satd-initwrites
upgradechainstate=1, so an app-store node rebuilds its chainstate by
itself on the first start of this release and restarts a rebuild a power
cut interrupted. - Both packages open onto the status page; the appliance turns it on, and
the reference stack and the appliance serve metrics and the page over TLS on
9336. - Umbrel uses its own host ports (8430, 8433, 8436, 8439, 50012, and 8431
for Esplora over TLS), so it installs beside Bitcoin Node, Fulcrum and Ride
The Lightning, and its backups leave the chain out. - StartOS backups skip the AssumeUTXO background chainstate, and its sync
check shows blocks against headers instead of the old
verificationprogress.
Streaming API & SDKs
- The node advertises its version on every gRPC stream, in the
satd-versionandsatd-events-schemaresponse headers. - The SDK compatibility rule is written down in
STABILITY_POLICY.md:
an SDK works with any node of the same schema version at or above its own
version. - Both SDKs apply it. A node one minor version behind gets a warning; two
or more behind is refused (StreamError::NodeTooOld/ErrNodeTooOld,
overridden byallow_old_node()/WithAllowOldNode()), as is any schema
mismatch. - The Go SDK is versioned with the node:
satdevents.Versionequals the
node version, and the module is taggedclients/go/vX.Y.Zwith each
release.
Test networks with Warnet
contrib/warnet/ runs satd under Warnet's
stock Bitcoin Core Helm chart, with example networks of satd alone and mixed
with Core, and keyless mining, transaction-flood and cross-implementation
consensus scenarios. It is for test networks; run the published image for
anything else.
Upgrade notes
-
One
-reindex-chainstate, once. The chainstate schema moved from 3 to
7 across four changes in this release, and an earlier datadir is refused at
startup with a message naming the flag. That is one rebuild, not four:
the replay discards the RocksDB chainstate and replays the block files into
a new one, building every enabled index inline as it goes. The block files
are never touched, so nothing is downloaded again, and because the old
column families are dropped before the replay starts, the datadir never
grows beyond its current size during the rebuild. Budget roughly what an
-assumevalidsync of the same chain costs on your hardware.App-store and reference-stack installs do this by themselves on the first
start: their generated configuration setsupgradechainstate=1. The status
page shows the progress, and a rebuild interrupted by a power cut starts
again on the next boot without any action.There is no downgrade. 0.5.x refuses a schema 7 chainstate as this release
refuses theirs, so going back means another rebuild under the older
release. A rebuild refused before it starts (a pruned node, a gap in the
block files) leaves the chainstate untouched, so the previous release can
still open it.Two cases need more:
- Pruned nodes must resync. The replay needs every block and a pruned
node does not have them.-upgradechainstaterefuses them with a message
saying so rather than starting a rebuild it cannot finish. - AssumeUTXO nodes: finish or discard background validation before
upgrading: a background chainstate at the old schema is refused, and
-upgradechainstatedoes not rebuild it. Then, unchanged procedure: run
backfillindex addressonce background validation has reached the
snapshot base. This release also enforces it: loading a snapshot now marks
the address and spend indexes incomplete until the backfill has run.
- Pruned nodes must resync. The replay needs every block and a pruned
-
A configured
-rpcallowipnow also gates-rpctlsbind, and a
configured-rpcreadonlyallowipgates-rpcreadonlytlsbind. The TLS
JSON-RPC listeners never consulted either list. If you run one on a
public address and its allowlist names only the clients of the
plain-HTTP bind, add the TLS clients to the same list before upgrading.
An empty-rpcallowipis unchanged: a TLS bind stays reachable from
wherever it is bound, gated by TLS/mTLS and RPC auth. -
The JSON-RPC, Esplora and streamws listeners serve HTTP/1.1 only.
They answered HTTP/2 as well to a client that started it without
negotiation (h2c prior knowledge); none of them advertised it over TLS.
A client configured for HTTP/2 prior knowledge against one of them must
switch to HTTP/1.1. The events gRPC listener is separate and still speaks
HTTP/2. -
Esplora bearer tokens that broadcast need
rpc:submit.POST /txno
longer accepts a token holding onlyesplora:read; addrpc:submit(or
rpc:write) to any token that broadcasts through Esplora, or it gets403.
Operator credentials and the loopback default are unaffected. -
Peers the node finds for itself are no longer
manual(#866). A peer
reached through gossip,peers.dator a DNS seed is now
outbound-full-relay: it no longer takes-whitelistentries marked
out, and one that does not offerNODE_NETWORK | NODE_WITNESS(or
NODE_NETWORK_LIMITED | NODE_WITNESSwhile the tip is recent) is dropped
at the handshake, as Core drops it. Name a peer with-addnodeif it
should keepoutpermissions. Off regtest,peers.datentries for
private, loopback and other non-routable addresses are dropped on the
first start. -
Options that were ignored now take effect. Check your configuration
for-blockmaxweight(it now caps templates, and a malformed value stops
the node),-maxtipage,-rpcservertimeoutinbitcoin.conf, and
-stopatheight(it now stops a node in initial sync, and
-stopatheight=0means off). -
/healthzanswers during startup, so it says the process is up, not
that startup has finished. A supervisor that polled it as a started signal
should poll the JSON-RPC instead, which answers-28until the node is
running. -
Umbrel's ports changed. A client configured against the package's old
ports needs the new ones listed under App stores, appliance and packaging. -
Go SDK tag jumps from
v0.1.0tov0.6.0. It now follows the node
version:go get github.com/epochbtc/satd/clients/go@v0.6.0. -
An SDK newer than its node now complains. A 0.6 SDK (Rust or Go) logs a
warning against a 0.5 node, and from 0.7 on an SDK refuses a node two minor
versions behind. Upgrade nodes before clients, or passallow_old_node()/
WithAllowOldNode()while a rollout is in progress.
About this release
satd is free software under the MIT License.
- Stability & compatibility — Tier 1 surfaces (Bitcoin Core-compatible
JSON-RPC wire shape, CLI flag names/defaults,bitcoin.confkeys, on-disk
layout, Electrum/Esplora surfaces) are governed by
STABILITY_POLICY.md. satd follows
semantic versioning; while in the
0.xpre-1.0 line, deprecations may be accelerated (see the policy). - Security & disclosure — report vulnerabilities per
SECURITY.md. Consensus-affecting bugs are treated as
P0 with same-day acknowledgement. - Verifying this release — tarballs are signed with minisign, container
images with cosign (keyless OIDC), and git tags with SSH signatures (no GPG).
The key matrix and verification steps are in
SECURITY.md. - Intentional differences from Bitcoin Core — catalogued in
CORE_DIFFERENCES.md. - Operating satd — observability, the full flag matrix, tuning, and the
downstream packaging contract live in the
Operator Manual.
Full changelog: v0.5.2...v0.6.0
What's Changed
- chore(release): open 0.6.0 dev cycle — bump version to 0.6.0-pre by @bkeroack in #741
- rpc: verificationprogress is Bitcoin Core's GuessVerificationProgress by @bkeroack in #745
- metrics: native TLS listener (--metricstlsbind) with optional mTLS by @bkeroack in #752
- appliance: publish the images as release assets, built from the signed release by @bkeroack in #742
- packaging: make the Umbrel and StartOS packages publishable by @bkeroack in #743
- status: one read-only snapshot of the node, for the status page by @bkeroack in #747
- status: a status page on the metrics listener (statuspage=1) by @bkeroack in #749
- satd-init: status page and metrics TLS switches by @bkeroack in #761
- events: advertise the node version on every gRPC stream; write down the SDK compatibility rule by @bkeroack in #755
- satd-events-client: check the node version on every stream by @bkeroack in #756
- packaging: open the Umbrel and StartOS packages onto the status page by @bkeroack in #750
- satdevents: check the node version; version the Go module with the node by @bkeroack in #757
- ci(canary): one pin manifest, a weekly freshness check, and a release gate by @bkeroack in #753
- ci(canary): bump every downstream pin to its newest stable release by @bkeroack in #754
- Add a native Stratum V1 solo-mining server by @bkeroack in #746
- Add Stratum V2 to the solo-mining server by @bkeroack in #748
- Add Stratum V2 Job Declaration and getstratuminfo by @bkeroack in #751
- ci(canary): Stratum V1, V2 and Job Declaration canaries with real miners by @bkeroack in #758
- net: a node that mined its own chain takes relayed transactions by @bkeroack in #759
- net: harden the compact block receive path by @bkeroack in #763
- net: compact block reconstruction stats and the extra-transaction pool by @bkeroack in #765
- net: BIP 152 high-bandwidth compact block relay by @bkeroack in #770
- net: opt-in compact block prefill by @bkeroack in #772
- sdk: capture logs through one global subscriber, not a scoped one per test by @bkeroack in #779
- core-functional: re-measure every eligible skip; feature_fastprune runs by @bkeroack in #764
- rpc: Core's mining and mempool fields; mempool expiry takes descendants by @bkeroack in #766
- config: -maxtipage, Core's RPC bind and auth startup rules, double negatives by @bkeroack in #768
- p2p: Core's v2 detection, feefilter rules, protocol-violation disconnects and ping clock by @bkeroack in #769
- mempool: rolling minimum fee, Core's rejection messages, getrawmempool mempool_sequence by @bkeroack in #771
- rpc, p2p: honour -rpcservertimeout from the config file, -peertimeout, longpoll and Core's log lines by @bkeroack in #773
- storage, rpc: -prune=1 manual pruning, the pruneblockchain RPC, -fastprune by @bkeroack in #775
- p2p, validation: message ordering behind ping, and naming the script error Core's way by @bkeroack in #776
- chain: invalidateblock takes the header tip off the invalidated branch by @bkeroack in #780
- p2p: don't ban a peer for headers we cannot connect, and keep draining by @bkeroack in #781
- chain, rpc: Core's nSequenceId tie-break and a real preciousblock by @bkeroack in #782
- stratum: -debug=stratum and the log lines to verify a mining device by @bkeroack in #784
- stratum: per-miner stats in getstratuminfo, and satd_stratum_* metrics by @bkeroack in #785
- net: a cmpctblock announcement makes its peer a download source by @bkeroack in #793
- rpc: getmempoolsummary, a bounded aggregate for mempool dashboards by @bkeroack in #795
- tui: read the mempool aggregate, and stop discarding RPC errors by @bkeroack in #796
- psbt: a lossless PSBT codec that can carry version 2 and BIP 375 by @bkeroack in #787
- rpc: bound requests and responses separately (#723) by @bkeroack in #797
- rpc, mcp, cli: carry PSBT version 2 and BIP 375 on every PSBT surface by @bkeroack in #788
- psbt: verify BIP 375 silent payments, and gate extraction on it by @bkeroack in #789
- rpc, mcp: createpsbt pays a silent payment address by @bkeroack in #790
- sat-cli: a BIP 375 Signer by @bkeroack in #791
- storage: report where a chainstate's disk went by @bkeroack in #800
- storage: key the transaction index on chain-order ordinals by @bkeroack in #801
- storage: key the spend index on transaction ordinals by @bkeroack in #802
- storage: key address funding rows on transaction ordinals by @bkeroack in #803
- storage: key address spending rows on transaction ordinals by @bkeroack in #804
- docs: the footprint chapter after the ordinal re-keying by @bkeroack in #805
- fuzz: give the block-differential base the rows a chainstate has by @bkeroack in #807
- docs: an Installing satd chapter; release notes and README point at it by @bkeroack in #762
- stratum: a regression test for work that follows a caught-up tip by @bkeroack in #774
- nix: keep a crate's compile-time assets in the flake source by @bkeroack in #808
- ci(actions): bump taiki-e/install-action from 2.87.8 to 2.87.13 by @dependabot[bot] in #798
- ci(deps): bump rmcp from 1.6.0 to 2.1.0 by @dependabot[bot] in #786
- ci(actions): bump DeterminateSystems/nix-installer-action from 33c9ab3ef95cd57c164d9d6eb1f9a46338538d41 to 3138316df39ed29be04236d7ffc686fa525866aa by @dependabot[bot] in #799
- health: drive the tip-stall clock from the tip, not just chain events by @bkeroack in #815
- auth: add the rpc:submit bearer capability by @bkeroack in #809
- rpc: hold the TLS connection permit for the connection's life by @bkeroack in #813
- stratum: save a found block to disk before submitting it by @bkeroack in #819
- stratum: do not drop a hashing miner as idle by @bkeroack in #820
- auth: gate Esplora POST /tx on rpc:submit and charge batches per call by @bkeroack in #816
- rpc: document the connection cap, close denied peers, budget at-capacity warnings by @bkeroack in #817
- esplora, streamws: cap open sockets at accept and close idle connections by @bkeroack in #818
- storage: exact per-height UTXO window for recent ages by @bkeroack in #827
- rpc: exact <1h/<1d/<1w/<1mo UTXO age buckets by @bkeroack in #828
- sat-tui: log-scaled bar charts for the mempool and UTXO-age histograms by @bkeroack in #829
- consensus: BIP 34 requires Bitcoin Core's exact height push by @bkeroack in #830
- stratum: move vardiff only on significant evidence by @bkeroack in #832
- stratum: test the winning-block path end to end, and require Bitcoin Core to accept it by @bkeroack in #833
- mining: keep block templates to the sigop limit by @bkeroack in #831
- mining: select block-template transactions by ancestor package fee rate by @bkeroack in #834
- mining: check every block template before it is used by @bkeroack in #835
- -upgradechainstate, and refuse a chainstate rebuild that did not finish by @bkeroack in #848
- satd-init: turn on upgradechainstate for app-store and stack installs by @bkeroack in #844
- metrics: answer on the metrics listener, and show the status page, while the node starts by @bkeroack in #847
- mining: apply -blockmaxweight with Bitcoin Core's semantics by @bkeroack in #842
- signet: verify default-signet block solutions, and fix BIP 325's missing OP_0 by @bkeroack in #846
- packaging: StartOS shows rebuild progress; pins move to the upgradechainstate image by @bkeroack in #845
- canary: pause the Stratum V1 miner while Core fills the mempool by @bkeroack in #855
- test: use the handshake's job in the Stratum BIP 34 boundary test by @bkeroack in #851
- prune: never delete a block file that holds a block above the cut by @bkeroack in #853
- connect: fetch again a stored block whose record is gone by @bkeroack in #854
- contrib/warnet: run satd tanks under Warnet's stock Bitcoin Core chart by @bkeroack in #857
- ci: a Warnet canary running satd tanks beside Bitcoin Core in kind by @bkeroack in #859
- ci: a nightly Warnet rig with Bitcoin Core, satd and rbitcoin by @bkeroack in #860
- config: honour mocktime= in bitcoin.conf by @bkeroack in #862
- sat-cli: read RPC credentials, port and chain from bitcoin.conf like bitcoin-cli by @bkeroack in #858
- net: keep and re-resolve -addnode/-connect host names that do not resolve by @bkeroack in #863
- rpc: address-manager RPCs (getnodeaddresses, getaddrmaninfo, addpeeraddress, getrawaddrman) by @bkeroack in #864
- rpc: honour -rpcwhitelist and -rpcwhitelistdefault with Bitcoin Core's semantics by @bkeroack in #865
- chain: activate only a chain whose blocks have all arrived, and as soon as they have (#739, #856, #861) by @bkeroack in #869
- p2p: never learn or dial an address that names no host; gossip-learned peers are not manual by @bkeroack in #870
- p2p: fetch blocks announced by headers as cmpctblocks; sendheaders to inbound peers by @bkeroack in #871
- shutdown: stop the node's threads before exit, and exit without C++ destructors (#868) by @bkeroack in #872
- p2p, satd: register -addnode entries before RPC serves; -stopatheight stops initial sync (#876, #873) by @bkeroack in #877
- tests: wait for the Electrum listener before a test dials it by @bkeroack in #880
- satd: a reload registers new -addnode and -connect entries as startup does (#879) by @bkeroack in #881
- reindex: hold a full -reindex to the previous tip, and say when the block files end short (#504) by @bkeroack in #882
- storage: count a reorg's re-mined outputs once in the UTXO counters by @bkeroack in #878
- ci(actions): bump taiki-e/install-action from 2.87.13 to 2.87.20 by @dependabot[bot] in #850
- ci(actions): bump dtolnay/rust-toolchain from 6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 to 02cb101ec7c40f2c49e1d9714d64511d8e1b74de by @dependabot[bot] in #849
- p2p: BIP 339 wtxid relay (#714) by @bkeroack in #883
- A reload sent during startup no longer stops the node by @bkeroack in #885
- chore(release): 0.6.0-rc1 — bump version to 0.6.0-rc1 by @bkeroack in #886
- stack, appliance: admit LAN clients to the TLS JSON-RPC listener by @bkeroack in #887
- docs(release-notes): condense the 0.6.0 notes; refuse a release body GitHub would cut by @bkeroack in #889
- chore(release): cut 0.6.0 by @bkeroack in #897
Full Changelog: v0.5.2...v0.6.0