diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-08-17 21:39:44 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-08-17 21:39:44 +0200 |
| commit | 4466b6d1b08d827f3bdddb1cab8ca05833b65437 (patch) | |
| tree | 3e86342c3194fddb5fac2b5f51b33bcf55ec887a /src/cryptonote_protocol/block_queue.h | |
| parent | 0d15fab49ac60e75f923c0dc7793b4e02e2c8101 (diff) | |
| parent | 5a283078ec3cf276dd085219f4ead51ced969224 (diff) | |
| download | monzero-core-4466b6d1b08d827f3bdddb1cab8ca05833b65437.tar.gz monzero-core-4466b6d1b08d827f3bdddb1cab8ca05833b65437.tar.xz monzero-core-4466b6d1b08d827f3bdddb1cab8ca05833b65437.zip | |
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 '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; |
