Do not re-use the function name ParseHashStr (core_io.h) for a function with different behaviour in rest.cpp.
Before:
src/core_io.h:uint256 ParseHashStr(const std::string&, const std::string& strName);
src/core_read.cpp:uint256 ParseHashStr(const std::string& strHex, const std::string& strName)
src/rest.cpp:static bool ParseHashStr(const std::string& strReq, uint256& v)
After:
src/core_io.h:uint256 ParseHashStr(const std::string&, const std::string& strName);
src/core_read.cpp:uint256 ParseHashStr(const std::string& strHex, const std::string& strName)