net: remove now unused global 'g_initial_block_download_completed'

This commit is contained in:
furszy
2023-12-22 10:32:37 -03:00
parent aff7d92b15
commit 27f260aa6e
3 changed files with 0 additions and 13 deletions

View File

@@ -9,8 +9,6 @@
#include <atomic>
static std::atomic<bool> g_initial_block_download_completed(false);
namespace NetMsgType {
const char* VERSION = "version";
const char* VERACK = "verack";
@@ -125,12 +123,6 @@ bool CMessageHeader::IsCommandValid() const
return true;
}
void SetServiceFlagsIBDCache(bool state) {
g_initial_block_download_completed = state;
}
bool GetServicesFlagsIBDCache() { return g_initial_block_download_completed; }
CInv::CInv()
{
type = 0;