MCPcopy 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

startNextDownloadMethod · 0.80
verifierBodyMethod · 0.80

Calls 2

swapFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected