MCPcopy Create free account
hub / github.com/ElementsProject/elements / ParseHexUV

Function ParseHexUV

src/core_read.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName)
250{
251 std::string strHex;
252 if (v.isStr())
253 strHex = v.getValStr();
254 if (!IsHex(strHex))
255 throw std::runtime_error(strName + " must be hexadecimal string (not '" + strHex + "')");
256 return ParseHex(strHex);
257}
258
259int ParseSighashString(const UniValue& sighash)
260{

Callers 2

MutateTxSignFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls 3

IsHexFunction · 0.85
ParseHexFunction · 0.85
isStrMethod · 0.80

Tested by 1

FUZZ_TARGET_INITFunction · 0.68