mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add setter for g_initial_block_download_completed
This commit is contained in:
parent
3f56df5b75
commit
eb9183535d
3 changed files with 17 additions and 9 deletions
|
|
@ -892,7 +892,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
|
|||
const int nNewHeight = pindexNew->nHeight;
|
||||
connman->SetBestHeight(nNewHeight);
|
||||
|
||||
g_initial_block_download_completed = !fInitialDownload;
|
||||
SetServiceFlagsIBDCache(!fInitialDownload);
|
||||
if (!fInitialDownload) {
|
||||
// Find the hashes of all blocks that weren't previously in the best chain.
|
||||
std::vector<uint256> vHashes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue