| 106 | } |
| 107 | |
| 108 | static bool ParseHashStr(const std::string& strReq, uint256& v) |
| 109 | { |
| 110 | if (!IsHex(strReq) || (strReq.size() != 64)) |
| 111 | return false; |
| 112 | |
| 113 | v.SetHex(strReq); |
| 114 | return true; |
| 115 | } |
| 116 | |
| 117 | static bool CheckWarmup(HTTPRequest* req) |
| 118 | { |
no test coverage detected