cryptonote_protocol: large block sync size before v4

This commit is contained in:
moneromooo-monero 2017-08-16 21:19:53 +01:00
parent 7b74760756
commit 5a283078ec
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
7 changed files with 17 additions and 8 deletions

View file

@ -1286,7 +1286,7 @@ skip:
NOTIFY_REQUEST_GET_OBJECTS::request req;
bool is_next = false;
size_t count = 0;
const size_t count_limit = m_core.get_block_sync_size();
const size_t count_limit = m_core.get_block_sync_size(m_core.get_current_blockchain_height());
std::pair<uint64_t, uint64_t> span = std::make_pair(0, 0);
if (force_next_span)
{