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

Method pushKVs

src/univalue/lib/univalue.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146bool UniValue::pushKVs(const UniValue& obj)
147{
148 if (typ != VOBJ || obj.typ != VOBJ)
149 return false;
150
151 for (size_t i = 0; i < obj.keys.size(); i++)
152 __pushKV(obj.keys[i], obj.values.at(i));
153
154 return true;
155}
156
157void UniValue::getObjMap(std::map<std::string,UniValue>& kv) const
158{

Callers 8

ProcessSubScriptMethod · 0.80
DescribeWalletAddressFunction · 0.80
getaddressinfoFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
DescribeBlindAddressFunction · 0.80
validateaddressFunction · 0.80
getindexinfoFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64