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

Function ParseHashO

src/rpc/util.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("%s must be hexadecimal string (not '%s')", name, strHex));
125}
126uint256 ParseHashO(const UniValue& o, std::string_view strKey)
127{
128 return ParseHashV(o.find_value(strKey), strKey);
129}
130std::vector<unsigned char> ParseHexV(const UniValue& v, std::string_view name)
131{
132 std::string strHex;

Callers 6

lockunspentFunction · 0.85
FundTransactionFunction · 0.85
parse_univalue.cppFile · 0.85
gettxspendingprevoutFunction · 0.85
AddInputsFunction · 0.85
ParsePrevoutsFunction · 0.85

Calls 1

ParseHashVFunction · 0.85

Tested by

no test coverage detected