MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / ParseHashUV

Function ParseHashUV

src/core_read.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127uint256 ParseHashUV(const UniValue& v, const string& strName)
128{
129 string strHex;
130 if (v.isStr())
131 strHex = v.getValStr();
132 return ParseHashStr(strHex, strName); // Note: ParseHashStr("") throws a runtime_error
133}
134
135uint256 ParseHashStr(const std::string& strHex, const std::string& strName)
136{

Callers 2

ParseHashUOFunction · 0.85
MutateTxSignFunction · 0.85

Calls 3

isStrMethod · 0.80
getValStrMethod · 0.80
ParseHashStrFunction · 0.70

Tested by

no test coverage detected