Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ setNumStr
Method
setNumStr
src/univalue/univalue.cpp:49–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
bool UniValue::setNumStr(const string& val_)
50
{
51
if (!validNumStr(val_))
52
return false;
53
54
clear();
55
typ = VNUM;
56
val = val_;
57
return true;
58
}
59
60
bool UniValue::setInt(uint64_t val)
61
{
Callers
2
BOOST_AUTO_TEST_CASE
Function · 0.80
ValueFromString
Function · 0.80
Calls
2
validNumStr
Function · 0.85
clear
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
ValueFromString
Function · 0.64