Review report

core: PR #35170

Design and approach

Clarify what “Legacy” means for this parser (src/rpc/util.cpp:1386, head)

The legacy wallet database loader is one caller, but ParsePathBIP32 also handles user-supplied paths for the derivehdkey RPC, which derives keys associated with active or unused(KEY) descriptors. So the legacy-wallet-only rationale and the inference that this parser can be removed with legacy-wallet loading do not match the call graph: removing it would also break the current RPC. Consider a neutral BIP32-specific name, or clarify that “Legacy” describes the parser’s grammar or implementation, not its callers or lifecycle. This rename would not change runtime behavior.