2 suggestions
Earlier concerns neither republished nor resolved: 1 minor finding · 2 suggestions. See the Run archive for their assessments.
Optional improvements
[suggestion] · getchainstates disappears without a compatibility window
This demo removes a public RPC that also works with one chainstate, giving existing callers only Method not found; downstream usage is unconfirmed.
Location: src/rpc/blockchain.cpp:3680 (base).
Details and suggested fix
The existing result can contain a single ordinary chainstate with its tip, verification progress and cache budgets. Dropping the registration makes an unchanged getchainstates request fall through CRPCTable::execute to the generic error, unlike the explanatory loadtxoutset tombstone. For the removal carve-out, retain the single-chainstate response behind -deprecatedrpc=getchainstates for one major release, with help and release notes describing the transition, as doc/developer-notes.md specifies. An explanatory tombstone would improve the error but would not provide that compatibility window.
[suggestion] · Snapshot-upgrade recovery instructions bypass translation
The new migration error follows an existing untranslated exception path, so GUI users cannot receive localized recovery instructions.
Location: src/validation.cpp:5360 (head).
Details and suggested fix
When chainstate_snapshot/base_blockhash exists, Flatten throws a plain English std::runtime_error. InitAndLoadChainstate wraps e.what() with Untranslated, which copies the English text into both bilingual strings, and the GUI displays message.translated without another translation lookup. Mark the recovery text with _() and carry the bilingual diagnostic through a typed exception caught before the generic handler. Preserve the rejection before BlockManager opens storage and keep FAILURE_FATAL, so this localization change does not enable the reindex-retry prompt.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Explain the block-index status check
- [minor]: Implicit rollback exports have no deprecation period (earlier report)
- [suggestion]: Migration tests miss the block-index-only snapshot guard (earlier report)