mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 10:36:14 -04:00
cryptonote_protocol: large block sync size before v4
This commit is contained in:
parent
7b74760756
commit
5a283078ec
7 changed files with 17 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue