| 191 | } |
| 192 | |
| 193 | std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName) |
| 194 | { |
| 195 | std::string strHex; |
| 196 | if (v.isStr()) |
| 197 | strHex = v.getValStr(); |
| 198 | if (!IsHex(strHex)) |
| 199 | throw std::runtime_error(strName + " must be hexadecimal string (not '" + strHex + "')"); |
| 200 | return ParseHex(strHex); |
| 201 | } |
| 202 | |
| 203 | int ParseSighashString(const UniValue& sighash, bool enforce_forkid) |
| 204 | { |
no test coverage detected