Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ dequeue
Method
dequeue
src/cpp-ethereum/libethereum/BlockQueue.h:96–104 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
T dequeue()
97
{
98
T t;
99
std::swap(t, m_queue.front());
100
m_queue.pop_front();
101
m_size -= t.blockData.size();
102
103
return t;
104
}
105
106
std::vector<T> dequeueMultiple(std::size_t _n)
107
{
Callers
3
startNextDownload
Method · 0.80
verifierBody
Method · 0.80
drainVerified_WITH_BOTH_LOCKS
Method · 0.80
Calls
2
swap
Function · 0.70
size
Method · 0.45
Tested by
no test coverage detected