Feeds the file name string directly into the hasher instead of pre-hashing it first. The resulting hash changes of course, but that doesn’t affect us since it’s only stored in-memory.
Fixes: #32604 (review)
A few other related nits were also addressed here:
- Comment was redundant,
CSipHasheris used in other hashers all over the codebase static_cast<size_t>skewed the whole method, changed to shorter functional-style caststructformatting is aligned withclassformatting - see https://github.com/bitcoin/bitcoin/pull/32813