Merge pull request #7120

105afa555 protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
wonerujo-v0.10.1
Alexander Blair 4 years ago
commit 575f6b5f13
No known key found for this signature in database
GPG Key ID: C64552D877C32479

@ -1997,7 +1997,7 @@ skip:
if (local_stripe == 0)
return false;
// don't request pre-bulletprooof pruned blocks, we can't reconstruct their weight (yet)
static const uint64_t bp_fork_height = m_core.get_earliest_ideal_height_for_version(HF_VERSION_SMALLER_BP);
static const uint64_t bp_fork_height = m_core.get_earliest_ideal_height_for_version(HF_VERSION_SMALLER_BP + 1);
if (first_block_height < bp_fork_height)
return false;
// assumes the span size is less or equal to the stripe size

Loading…
Cancel
Save