Skip to content

QTC v0.2.4 — supersedes the unpublished v0.2.3: mining readiness, wallet signing, protocol floor at height 4100

Choose a tag to compare

@gavinwhyte gavinwhyte released this 13 Oct 01:58
· 3 commits to main since this release
v0.2.4
0ce4f64

QTC v0.2.4

Wallet performance, mining readiness, RPC and relay-policy update. No consensus rule changes: blocks are valid or invalid exactly as before, and v0.2.0 through v0.2.4 nodes interoperate. Activation height: none.

v0.2.4 supersedes v0.2.3, which was tagged on 12 October 2026 but never published. The testnet soak of that tag showed its mining-readiness fix did not work in the very situation it was written for, so no binaries were released for it; the correction is in this release.

Who should upgrade

  • Miners that were refused getblocktemplate work with "synced outbound peers" while their peers were in fact at the tip (issue #15). After upgrading, remove any miningminsyncedoutboundpeers=1 / miningmaxpeersyncheightlag=3 workaround lines.
  • Relays that should carry QTC-EVM anchor transactions: data-envelope P2MR spends are standard from this release and relays forward them.
  • Everyone who spends from a wallet, in particular miners sweeping coinbase outputs and anyone whose descriptor carries an SLH-DSA backup leaf (the default layout): spends and fee quotes are more than ten times faster.

Highlights

Mining readiness (#15; PRs #23, #27, #28). A node never announces a block back to the peer it received it from, so a well-connected miner that hears of a block first saw all of its outbound peers as stale and was refused work. Peers now count as synced by the higher of the height they announced and the height this node relayed to them, by headers, by inv, or by serving the block. The handshake-height fallback, which read an unpopulated field and always saw height 0, is fixed. The mainnet default of -miningmaxpeersyncheightlag rises from 1 to 3. getblocktemplate logs one line per readiness change instead of one per refused call. New diagnostics: getpeerinfo headers_sent, invs_sent, blocks_served; mining profile relayed_height, synced_by_relay, outbound_peers_synced_by_relay.

Wallet performance. Spending no longer produces and discards an SLH-DSA signature on every spend, and fee quotes use placeholder signatures instead of real signing. Measured against v0.2.2 on the same wallet: fundrawtransaction 13 to 14 s down to 0.2 to 1.2 s, send 15 to 16 s down to 0.2 to 0.7 s, signrawtransactionwithwallet 3 to 4 s down to 0.01 s.

Mixed inputs (#20). A transaction spending an imported fixed-key mr(<hex>, ...) output together with one of the wallet's own coins now signs on the raw path too; previously only the PSBT path and send completed it.

RPC. preferred_pq_algo (ml_dsa_44 or slh_dsa_128s) now reaches the signer on every RPC that signs P2MR inputs (send, sendall, walletprocesspsbt, signrawtransactionwithwallet, bumpfee, psbtbumpfee), so the leaf the fee was quoted for is the leaf that is signed. Omitting it keeps the previous behaviour.

Relay policy (PR #19). P2MR leaves that begin with an OP_0 OP_IF ... OP_ENDIF data envelope are standard and classified by what follows the envelope. mr() descriptors with more than one backup leaf can be re-parsed again, so wallets with three-leaf trees no longer fail to load; descriptor IDs are unchanged.

Build. Optional AVX2 SLH-DSA backend on x86_64 (-DQTC_SLHDSA_AVX2=ON), off by default and not used in the release binaries. libbitcoinpqc SLH-DSA signing uses its own entropy source; wallet signatures are unchanged.

Chain anchor

Refreshed per the release rule, from fleet node C at 2026-10-12 08:53 UTC (tip 1897):

  • Assume-valid block and checkpoint: height 1895, bbc9f64eee6ff9f9c69114e892f2e00a7859d3bcb1ea49b7f34c669053792227 (2026-10-12 08:34 UTC)
  • Minimum chain work: 0x19e0623e2c
  • Chain transaction statistics: 1898 transactions at 1791794985

The checkpoints at heights 300 and 1823 are kept. A fresh node validated the whole chain from genesis with assume-valid disabled against this anchor before tagging.

Known issues

  • fundrawtransaction occasionally fails with "Fee needed > fee paid" on the new placeholder-quote path (#21); retry, or fund with explicit inputs.

Downloads

Verify every archive against the signed SHA256SUMS as described in the README. Linux x86_64 is published as a CPU archive and a CUDA 12 archive; the macOS archives are signed and notarised and ship precompiled Metal kernels. Full notes: doc/release-notes/release-notes-0.2.4.md.