Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
151
void 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
159
void MemoryDB::purge()
160
{
Callers
3
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
insert
Method · 0.80
Calls
1
toBytes
Method · 0.45
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64