aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/block_queue.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-17 21:39:44 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-17 21:39:44 +0200
commit4466b6d1b08d827f3bdddb1cab8ca05833b65437 (patch)
tree3e86342c3194fddb5fac2b5f51b33bcf55ec887a /src/cryptonote_protocol/block_queue.h
parentMerge pull request #2301 (diff)
parentcryptonote_protocol: large block sync size before v4 (diff)
downloadmonero-4466b6d1b08d827f3bdddb1cab8ca05833b65437.tar.xz
Merge pull request #2303
5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/cryptonote_protocol/block_queue.h1
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;