1 minor finding · 1 suggestion
Earlier concerns neither republished nor resolved: 1 minor finding · 2 suggestions. See the Run archive for their assessments.
Findings
[minor] · RPC removals omit the documented deprecation grace period
For mergeable carve-outs, getchainstates, loadtxoutset and implicit rollback exports lack the documented deprecation grace period; no in-tree production caller of getchainstates was found, and external-client impact remains unconfirmed.
Location: doc/release-notes-remove-assumeutxo.md:4 (head).
Details and suggested fix
doc/developer-notes.md requires at least one major release with the old RPC behavior available behind -deprecatedrpc=<feature>. Here getchainstates is unregistered, the hidden loadtxoutset handler always throws RPC_METHOD_NOT_FOUND, and the formerly advertised bare dumptxoutset <path> rollback returns RPC_INVALID_PARAMETER; explicit rollback=<height|hash> remains supported. The tombstone provides a diagnostic, not compatibility. When extracting these removals, precede them with a grace-period release that retains the old behavior behind the flag, including working snapshot import for loadtxoutset, unless an explicit exception is agreed and documented.
Optional improvements
[suggestion] · Migration tests miss the block-index-only snapshot guard
The marker-based migration tests fail in the constructor, so they do not verify the new validity-discontinuity rejection or that -reindex-chainstate leaves the coins database untouched on that path.
Location: src/node/chainstate.cpp:72 (head).
Details and suggested fix
feature_init.py and btck_chainman_tests create chainstate_snapshot/base_blockhash, so Flatten() rejects startup before loading the block index. The separate scan handles surviving validation flags after that directory is deleted and must reject them before InitCoinsDB(should_wipe). Add an on-disk fixture with a non-genesis middle block downgraded below BLOCK_VALID_CHAIN while its descendants remain at BLOCK_VALID_SCRIPTS, then reload without a snapshot marker. Assert the specific unfinished-validation diagnostic both normally and with a chainstate-only wipe requested, and verify that the coins DB best block is unchanged. Retain an ordinary persisted-chain success control for the genesis exemption.
Design and approach
The single download path and single prune upper height in this demo need only background validation removed, not snapshot loading. Move those cleanups to the stopping point, then compare the remaining import, runtime-activation and locking costs against early usability, as in the staged alternative and #36557. Retaining imports without background validation leaves snapshot users trusting the compiled commitment; neither the residual maintenance cost nor the early-usability benefit has been measured.
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]: Unfinished-snapshot recovery instructions bypass GUI translation (earlier report)