1 minor finding · 2 suggestions
Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.
Findings
[minor] · Public-descriptor exclusion checks inspect response keys
Both new “no tprv” assertions in the encrypted-wallet test always pass because they inspect the response keys, not the descriptor strings.
Location: test/functional/wallet_listdescriptors.py:40 (head).
Details and suggested fix
listdescriptors() returns a dictionary with wallet_name and descriptors keys. Iterating it directly tests only those names, regardless of the returned descriptors. The locked/unlocked equality catches a difference between states, but identical private-key-bearing output could pass it, and private descriptors derive the same addresses as their public equivalents. The previous encrypted-wallet test compared the public response exactly. Check each entry's desc instead, using assert all("tprv" not in d["desc"] for d in encrypted_locked_output["descriptors"]), and apply the same correction to the unlocked assertion.
Optional improvements
[suggestion] · The guide leaves the GUI's deprecation scope unclear
The guide broadly deprecates encrypting existing wallets, but the new gate covers only the RPC and the unchanged GUI offers encryption without a deprecation notice.
Location: src/wallet/rpc/encrypt.cpp:238 (head).
Details and suggested fix
The GUI's enabled Encrypt Wallet action opens AskPassphraseDialog(Encrypt) and reaches CWallet::EncryptWallet through WalletModel and the wallet interface, bypassing this RPC check. Its existing warnings do not mention deprecation. The release note opens with an explicitly RPC-scoped deprecation, so a separate GUI change may be intentional. State explicitly in managing-wallets.md and the release note that only the RPC is deprecated for now and GUI encryption remains unchanged, rather than leaving readers to infer whether the broader policy applies there.
[suggestion] · The guide drops the backup warning for existing-wallet encryption
The guide removes the backup-after-encryption warning while opt-in RPC and GUI encryption remain available, although both interfaces still warn users when they encrypt.
Location: doc/managing-wallets.md:36 (base).
Details and suggested fix
Deprecation does not remove the need for a fresh backup: encryption generates a new HD seed, so pre-encryption backups cannot recover funds received by the new keys. Keep a short conditional warning in section 1.2 explaining that users who encrypt an existing wallet must immediately make a new backup, and note that the RPC requires -deprecatedrpc=encryptwallet. This preserves the exception to the guide's later statement that a single HD-wallet backup is sufficient, without restoring the discouraged encryption example.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Keep encrypted-wallet coverage for the signing cases in this test (earlier report)
- [suggestion]: Encryption guide retains a stale wallet-selector explanation (earlier report)