mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
move-mostly: Make fHavePruned a BlockMan member
[META] In the next commit, we move the clearing of fHavePruned to
BlockManager::Unload()
This commit is contained in:
parent
c96524113c
commit
3308ecd3fc
10 changed files with 35 additions and 38 deletions
|
|
@ -645,7 +645,7 @@ public:
|
|||
bool havePruned() override
|
||||
{
|
||||
LOCK(cs_main);
|
||||
return node::fHavePruned;
|
||||
return m_node.chainman->m_blockman.fHavePruned;
|
||||
}
|
||||
bool isReadyToBroadcast() override { return !node::fImporting && !node::fReindex && !isInitialBlockDownload(); }
|
||||
bool isInitialBlockDownload() override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue