diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-16 19:27:16 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-16 22:24:50 +0100 |
| commit | 7b747607566aa62460a4b4a278f2f8eb86f18bc2 (patch) | |
| tree | ed20fdc58cd97a6b6ca3def513078608b87ff5f5 /src/cryptonote_protocol/block_queue.h | |
| parent | d0a610183ab9de5a567ef00ab6bea0aaef13f7c7 (diff) | |
| download | monzero-core-7b747607566aa62460a4b4a278f2f8eb86f18bc2.tar.gz monzero-core-7b747607566aa62460a4b4a278f2f8eb86f18bc2.tar.xz monzero-core-7b747607566aa62460a4b4a278f2f8eb86f18bc2.zip | |
cryptonote_protocol: kick idle synchronizing peers
In case they dropped off downloading for any reason, they'll get
sent to download again.
Diffstat (limited to 'src/cryptonote_protocol/block_queue.h')
| -rw-r--r-- | src/cryptonote_protocol/block_queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/block_queue.h b/src/cryptonote_protocol/block_queue.h index 9a211ac47..fa1a0f217 100644 --- a/src/cryptonote_protocol/block_queue.h +++ b/src/cryptonote_protocol/block_queue.h @@ -86,6 +86,7 @@ namespace cryptonote size_t get_num_filled_spans_prefix() const; size_t get_num_filled_spans() const; crypto::hash get_last_known_hash(const boost::uuids::uuid &connection_id) const; + bool has_spans(const boost::uuids::uuid &connection_id) const; float get_speed(const boost::uuids::uuid &connection_id) const; bool foreach(std::function<bool(const span&)> f, bool include_blockchain_placeholder = false) const; bool requested(const crypto::hash &hash) const; |
