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

Function ParseHexUV

src/bitcoin-tx.cpp:567–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567static std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName)
568{
569 std::string strHex;
570 if (v.isStr())
571 strHex = v.getValStr();
572 if (!IsHex(strHex))
573 throw std::runtime_error(strName + " must be hexadecimal string (not '" + strHex + "')");
574 return ParseHex(strHex);
575}
576
577static void MutateTxSign(CMutableTransaction& tx, const std::string& flagStr)
578{

Callers 1

MutateTxSignFunction · 0.85

Calls 3

IsHexFunction · 0.85
ParseHexFunction · 0.85
isStrMethod · 0.80

Tested by

no test coverage detected