Fix upload bandwidth and needless flood of AcceptToMemorypool errors on nodes being seeded from. Not sure why this fixes it, but it does.
This commit is contained in:
@@ -761,6 +761,8 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey, int32_t nHeight,
|
|||||||
|
|
||||||
void komodo_broadcast(CBlock *pblock,int32_t limit)
|
void komodo_broadcast(CBlock *pblock,int32_t limit)
|
||||||
{
|
{
|
||||||
|
if (IsInitialBlockDownload())
|
||||||
|
return;
|
||||||
int32_t n = 1;
|
int32_t n = 1;
|
||||||
//fprintf(stderr,"broadcast new block t.%u\n",(uint32_t)time(NULL));
|
//fprintf(stderr,"broadcast new block t.%u\n",(uint32_t)time(NULL));
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user