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

Method insertAux

src/cpp-ethereum/libdevcore/MemoryDB.cpp:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void MemoryDB::insertAux(h256 const& _h, bytesConstRef _v)
152{
153#if DEV_GUARDED_DB
154 WriteGuard l(x_this);
155#endif
156 m_aux[_h] = make_pair(_v.toBytes(), true);
157}
158
159void MemoryDB::purge()
160{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
insertMethod · 0.80

Calls 1

toBytesMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64