enable prints for network hack
This commit is contained in:
@@ -5488,11 +5488,11 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
|
|||||||
{
|
{
|
||||||
pfrom->nBlocksinARow = 0;
|
pfrom->nBlocksinARow = 0;
|
||||||
pfrom->nBlocksinARow2 = 0;
|
pfrom->nBlocksinARow2 = 0;
|
||||||
//fprintf(stderr, "reset node.%i\n",(int32_t)pfrom->GetId());
|
fprintf(stderr, "reset node.%i\n",(int32_t)pfrom->GetId());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//fprintf(stderr, "Requesting new peer node.%i blocksinrow.%i blocsinrow2.%i\n",(int32_t)pfrom->GetId(),pfrom->nBlocksinARow,pfrom->nBlocksinARow2);
|
fprintf(stderr, "Requesting new peer node.%i blocksinrow.%i blocsinrow2.%i\n",(int32_t)pfrom->GetId(),pfrom->nBlocksinARow,pfrom->nBlocksinARow2);
|
||||||
return(false);
|
return(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user