MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ParseHexUV

Function ParseHexUV

src/core_read.cpp:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193std::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
203int ParseSighashString(const UniValue& sighash, bool enforce_forkid)
204{

Callers 1

MutateTxSignFunction · 0.85

Calls 3

IsHexFunction · 0.85
ParseHexFunction · 0.85
isStrMethod · 0.80

Tested by

no test coverage detected