Repository navigation
Open
Labels
documentationImprovements or additions to documentation
Description
Summary
Notes and compatibility statements become false if those PRs land.
Severity: medium. Found in the 2026-11-04 review of the v1.0.1 change set (all 1.x.x merges since v1.0.0 plus the open PRs that target it), against 1.x.x 21fee6ee8e; area: #181, #297, #301.
Observed
Confidence: plausible. This depends on which PRs merge. The format and RPC changes are confirmed from the diffs.
- Location:
doc/release-notes-1.0.1.md:20-22("no wallet database format change"),:32-33, "Behavior changes", "Updated RPCs" and Known limitations. Fragments:doc/release-notes-280.md(wallet: keep the SQLite lock when probing loaded wallet files #297),-281.md(wallet: fail a send whose inputs a concurrent call spent #298),-284.mdand-287.md(wallet: deferred P2MR keypool refill at startup and unlock; Lock() waits for key copies #299),-285.md(wallet: remove deleted plaintext keys from the wallet file after encryption #300), and-283.mdplus a rewritten-277.md(wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301). - Scenario: one or more of wallet: keep the SQLite lock when probing loaded wallet files #297–wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301 merge and the notes are only partly updated.
- wallet: remove deleted plaintext keys from the wallet file after encryption #300
- It adds a new wallet record,
postencryptionrewrite(DBKeys::POST_ENCRYPTION_REWRITE). "No wallet database format change" then becomes an unqualified falsehood. The change is additive: v1.0.0 loads by type prefix, never reads the key, andLEGACY_TYPESprefix matching includes the length byte, so downgrade still works. - It rewrites (VACUUMs) every v1.0.0-encrypted wallet on first load. Load time grows with file size, and the rewrite needs up to 2× the file size in free disk, partly in the temp directory.
backupwalletcan now fail with a new message, andencryptwallet's result string can carry an appended warning.
- It adds a new wallet record,
- wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301 (stacked on wallet: remove deleted plaintext keys from the wallet file after encryption #300)
- It adds
getwalletinfo.pqc_key_validation.reencryption_requiredand changes the meaning ofplaintext_recordsandsigning_blocked. - It makes affected wallets refuse to sign until they are unlocked. For an exchange whose affected wallet is never unlocked interactively, that looks like a sudden signing outage after the upgrade.
- It brings in Background PQC key re-encryption can stall the scheduler for the length of a rescan #302, a scheduler stall during rescans.
- It adds
- wallet: fail a send whose inputs a concurrent call spent #298:
sendgains a-4race error that names the winning transaction. Losing calls still consume PQC counters. - wallet: keep the SQLite lock when probing loaded wallet files #297:
restorewalletand the GUI's Restore Wallet refuse a backup that is a loaded wallet's live file. - wallet: deferred P2MR keypool refill at startup and unlock; Lock() waits for key copies #299: startup resume of the top-up, with advice to run
rescanblockchainoncekeypoolsizereaches-keypool.walletlockcan take longer on large keypools.
- wallet: remove deleted plaintext keys from the wallet file after encryption #300
- Evidence: open-PR fragments and diffs read (
git diff origin/1.x.x...review/pr-N, and for wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301review/pr-300...review/pr-301). wallet: remove deleted plaintext keys from the wallet file after encryption #300's walletdb diff and v1.0.0'sLoadDescriptorWalletRecordsandHasLegacyRecords(prefix cursor) checked for the downgrade claim.
Impact
Upgrade and downgrade behaviour and RPC output and errors that scripts parse.
Suggested fix
For each PR that lands:
- Fold its fragment in and delete it.
- Change
:22to "no wallet database format change that v1.0.0 cannot read" and add wallet: remove deleted plaintext keys from the wallet file after encryption #300's one-time rewrite, with its disk-space and duration caveat, to "How to Upgrade". - Add wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301's signing refusal and new field, and wallet: fail a send whose inputs a concurrent call spent #298's and wallet: keep the SQLite lock when probing loaded wallet files #297's new errors, to "Behavior changes" and "Updated RPCs".
- Add Background PQC key re-encryption can stall the scheduler for the length of a rescan #302 to Known limitations if wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock #301 lands.
- For each PR that does not land, add a Known-limitations entry for its issue.
Related: extends #280/#281/#283/#284/#285/#287 (fix PRs known). New: the conflict with the notes' compatibility sentence, and the list of entries the notes need.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity