1 major finding · 3 minor findings · 1 suggestion
Earlier concerns neither republished nor resolved: 1 minor finding · 4 suggestions. See the Run archive for their assessments.
Findings
[major] · Genesis-only import lacks a reliable mainnet header-preparation workflow
A fresh mainnet receiver must know the snapshot base header without storing post-genesis blocks, but ordinary synchronization cannot reliably preserve that state; the documented alternative requires roughly 965,000 parent-ordered submitheader calls for the latest snapshot.
Location: src/init.cpp:1414 (head).
Details and suggested fix
The former RPC allowed importing while the ordinary tip still had less work than the snapshot. This guard instead rejects the receiver after even one historical block is stored. For the latest mainnet base, headers redownload releases its header with the minimum-work-crossing batch, after which block requests can start immediately. Older supported bases can appear earlier, but stopping at that point still depends on timing rather than a supported preparation step. The documented -networkactive=0 route prevents P2P synchronization entirely and requires an external header source: submitheader accepts one header per call and requires its parent first.
Provide a supported headers-only preparation mode, or a header-import helper with a worked procedure, before requiring this state for all imports. Either approach can preserve the empty-chainstate assumptions used by the startup loader.
[minor] · The RPC removal skips the documented compatibility grace period
Existing loadtxoutset callers lose the working RPC immediately, rather than having the documented one-major-release migration period behind -deprecatedrpc.
Location: src/rpc/blockchain.cpp:3504 (head).
Details and suggested fix
Moving the method to the hidden category preserves an explanatory error, not compatibility: the handler unconditionally throws RPC_METHOD_NOT_FOUND. Migration also requires more than changing a call, since callers now need a restart and a genesis-only receiver with the base header already indexed. doc/developer-notes.md specifies at least one major release with the old behavior behind -deprecatedrpc=<feature>. Retain that opt-in path for the grace period, including its mempool/work checks, cache coordination and service demotion. If immediate removal is an intentional exception, record the exception and migration timeline in the release note; the current note does not do so.
[minor] · The snapshot-tip notification can release startup before historical genesis connects
With retained headers and an empty ordinary coins DB, startup can expose a null historical tip to RPC or peer processing before genesis connects; no documented production workflow producing this state was identified.
Location: src/validation.cpp:5770 (head).
Details and suggested fix
Initialization skips LoadChainTip for the empty coins view, and AddChainstate assigns that tipless chainstate a historical target. The new blockTip notification publishes the snapshot tip and satisfies AppInitMain's genesis wait. Networking and RPC warmup can therefore finish before initload's ImportBlocks connects historical genesis. The functional load_snapshot helper constructs this state, but waits for mempool loading before connecting peers.
If an eligible non-limited peer completes its handshake first, the historical-download branch has no LoadingBlocks() guard: GetHistoricalBlockRange() returns (nullptr, target), and LastCommonAncestor dereferences the null tip. An early getblockchaininfo call instead fails CHECK_NONFATAL with an internal error. Whether a handshake fits this window in practice remains unconfirmed; the documented flow with previously flushed genesis is unaffected. Connect historical genesis synchronously before publishing the snapshot tip.
[minor] · A leftover import option produces the wrong restart guidance
After a successful import, restarting with -loadtxoutset fails with advice to use a separate datadir, although removing the option lets the existing snapshot resume.
Location: src/init.cpp:1553 (head).
Details and suggested fix
LoadChainstate resumes the snapshot before this guard checks its height, so the imported base height triggers the generic genesis-requirement error. The same rejection remains after background validation completes. This also affects retrying the original command when import succeeded but a later initialization step, such as binding or wallet loading, failed. Although the documentation says to remove the option, the fatal message does not identify that recovery. Detect the already-imported case and tell the operator to remove -loadtxoutset; preserve the rejection of new imports into an ordinary advanced chainstate.
Optional improvements
[suggestion] · The splash screen shows no progress during startup snapshot import
Qt users see a static loading message throughout snapshot deserialization, flushing and hashing, without progress or the available shutdown hint.
Location: src/init.cpp:1433 (head).
Details and suggested fix
Forward throttled GetNotifications().progress() updates from the existing coin counter, and display a separate status for the commitment-hash phase. The splash's ShowProgress path already supplies the percentage and “press q to shutdown” hint. Pass resume_possible=false, since interrupted population discards the partial import through cleanup_bad_snapshot. Pressing q or closing the window already requests shutdown, so the missing behavior is feedback and discoverability, not GUI responsiveness.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: An older startup wallet can prevent background validation after import (earlier report)
- [suggestion]: Startup-import tests do not isolate persisted unfinished reindexing (earlier report)
- [suggestion]: Persisted snapshot spends do not test the mempool-load ordering (earlier report)
- [suggestion]: Interrupted startup import and same-datadir retry lack coverage (earlier report)
- [suggestion]: Duplicate snapshot activation is rejected only after population (earlier report)