Review report

core: PR #34603

🟡 Minor

Distinguish symlinks from other reparse points (src/util/fs_helpers.cpp:354, head)

This helper treats every Windows reparse point as a symlink. GetWalletPath uses that result to reject regular-file wallet paths, even though its backwards-compatibility rule allows existing data-file paths. Non-symlink reparse points, such as cloud placeholders, can therefore cause a valid wallet data file to fail path validation. Broad reparse-point detection can remain for scan recursion, but this path-validation rule should distinguish actual symlinks.

Report the Windows attribute lookup error (src/util/fs_helpers.cpp:352, head)

When GetFileAttributesW fails, capture GetLastError() and use the corresponding system-category error code in the exception instead of always reporting invalid_argument. ListDatabases catches and logs this exception while scanning entries, so the current error can mislead users about access-denied, missing-path, or other lookup failures. This preserves the existing throwing and skip-entry behavior while making the diagnostic actionable.