Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ValueFromString
Function
ValueFromString
src/test/rpc_tests.cpp:275–280 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
273
}
274
275
static UniValue ValueFromString(const std::string& str) noexcept
276
{
277
UniValue value;
278
value.setNumStr(str);
279
return value;
280
}
281
282
BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
283
{
Callers
1
BOOST_AUTO_TEST_CASE
Function · 0.85
Calls
1
setNumStr
Method · 0.80
Tested by
no test coverage detected