Suppress get headers call
This commit is contained in:
@@ -5192,11 +5192,11 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
|
|||||||
CheckBlockIndex();
|
CheckBlockIndex();
|
||||||
if (!ret && futureblock == 0)
|
if (!ret && futureblock == 0)
|
||||||
{
|
{
|
||||||
if ( KOMODO_INSYNC == 0 )
|
/*if ( KOMODO_INSYNC == 0 )
|
||||||
{
|
{
|
||||||
//fprintf(stderr,"request headers from failed process block peer\n");
|
//fprintf(stderr,"request headers from failed process block peer\n");
|
||||||
pfrom->PushMessage("getheaders", chainActive.GetLocator(chainActive.LastTip()), uint256());
|
pfrom->PushMessage("getheaders", chainActive.GetLocator(chainActive.LastTip()), uint256());
|
||||||
}
|
}*/
|
||||||
return error("%s: AcceptBlock FAILED", __func__);
|
return error("%s: AcceptBlock FAILED", __func__);
|
||||||
}
|
}
|
||||||
//else fprintf(stderr,"added block %s %p\n",pindex->GetBlockHash().ToString().c_str(),pindex->pprev);
|
//else fprintf(stderr,"added block %s %p\n",pindex->GetBlockHash().ToString().c_str(),pindex->pprev);
|
||||||
|
|||||||
Reference in New Issue
Block a user