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

Method status

src/cpp-ethereum/libethereum/BlockQueue.cpp:378–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378BlockQueueStatus BlockQueue::status() const
379{
380 ReadGuard l(m_lock);
381 Guard l2(m_verification);
382 return BlockQueueStatus{ m_drainingSet.size(), m_verified.count(), m_verifying.count(), m_unverified.count(),
383 m_future.count(), m_unknown.count(), m_knownBad.size() };
384}
385
386QueueStatus BlockQueue::blockStatus(h256 const& _h) const
387{

Callers 7

blockQueueStatusMethod · 0.45
queueBlockMethod · 0.45
isMajorSyncingMethod · 0.45
syncTransactionQueueMethod · 0.45
syncStatusMethod · 0.45

Calls 2

sizeMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected