|
|
@ -418,3 +418,15 @@ void BlockQueue::retryAllUnknown() |
|
|
|
m_unknown.clear(); |
|
|
|
m_moreToVerify.notify_all(); |
|
|
|
} |
|
|
|
|
|
|
|
std::ostream& dev::eth::operator<<(std::ostream& _out, BlockQueueStatus const& _bqs) |
|
|
|
{ |
|
|
|
_out << "verified: " << _bqs.verified << endl; |
|
|
|
_out << "verifying: " << _bqs.verifying << endl; |
|
|
|
_out << "unverified: " << _bqs.unverified << endl; |
|
|
|
_out << "future: " << _bqs.future << endl; |
|
|
|
_out << "unknown: " << _bqs.unknown << endl; |
|
|
|
_out << "bad: " << _bqs.bad << endl; |
|
|
|
|
|
|
|
return _out; |
|
|
|
} |
|
|
|