MCPcopy Create free account
hub / github.com/ElementsProject/elements / setStr

Method setStr

src/univalue/lib/univalue.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool UniValue::setStr(const std::string& val_)
87{
88 clear();
89 typ = VSTR;
90 val = val_;
91 return true;
92}
93
94bool UniValue::setArray()
95{

Callers 3

ParseGetInfoResultFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
calcfastmerklerootFunction · 0.80

Calls 1

clearFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64