| 533 | } |
| 534 | |
| 535 | bool BlockQueue::isActive() const |
| 536 | { |
| 537 | UpgradableGuard l(m_lock); |
| 538 | if (m_readySet.empty() && m_drainingSet.empty()) |
| 539 | DEV_GUARDED(m_verification) |
| 540 | if (m_verified.isEmpty() && m_verifying.isEmpty() && m_unverified.isEmpty()) |
| 541 | return false; |
| 542 | return true; |
| 543 | } |
| 544 | |
| 545 | std::ostream& dev::eth::operator<< (std::ostream& os, QueueStatus const& obj) |
| 546 | { |
no test coverage detected