| 125 | } |
| 126 | |
| 127 | ImportResult Client::queueBlock(bytes const& _block, bool _isSafe) |
| 128 | { |
| 129 | if (m_bq.status().verified + m_bq.status().verifying + m_bq.status().unverified > 10000) |
| 130 | this_thread::sleep_for(std::chrono::milliseconds(500)); |
| 131 | return m_bq.import(&_block, _isSafe); |
| 132 | } |
| 133 | |
| 134 | tuple<ImportRoute, bool, unsigned> Client::syncQueue(unsigned _max) |
| 135 | { |