MCPcopy Create free account
hub / github.com/LUX-Core/lux / stringMapRlp256

Function stringMapRlp256

src/cpp-ethereum/test/libdevcrypto/trie.cpp:292–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292bytes stringMapRlp256(StringMap const& _s)
293{
294 BytesMap bytesMap;
295 for (auto const& _v: _s)
296 bytesMap.insert(std::make_pair(bytes(_v.first.begin(), _v.first.end()), bytes(_v.second.begin(), _v.second.end())));
297 return rlp256(bytesMap);
298}
299
300BOOST_AUTO_TEST_CASE(moreTrieTests)
301{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 4

rlp256Function · 0.85
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected