From b56025fd2fa8a2516cbbec61be3da3d21177f091 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Fri, 28 Dec 2018 16:10:38 +0800 Subject: [PATCH] Fix upload bandwidth and needless flood of AcceptToMemorypool errors on nodes being seeded from. Not sure why this fixes it, but it does. --- src/miner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/miner.cpp b/src/miner.cpp index 9ff925554..e54cbbed9 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -761,6 +761,8 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey, int32_t nHeight, void komodo_broadcast(CBlock *pblock,int32_t limit) { + if (IsInitialBlockDownload()) + return; int32_t n = 1; //fprintf(stderr,"broadcast new block t.%u\n",(uint32_t)time(NULL)); {