|
|
@ -5694,13 +5694,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo |
|
|
|
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId(); |
|
|
|
} |
|
|
|
CheckBlockIndex(); |
|
|
|
if (!ret && futureblock == 0) |
|
|
|
{ |
|
|
|
/*if ( SMART_CHAIN_SYMBOL[0] == 0 )
|
|
|
|
{ |
|
|
|
//fprintf(stderr,"request headers from failed process block peer\n");
|
|
|
|
pfrom->PushMessage("getheaders", chainActive.GetLocator(chainActive.LastTip()), uint256()); |
|
|
|
}*/ |
|
|
|
if (!ret && futureblock == 0) { |
|
|
|
hush_longestchain(); |
|
|
|
return error("%s: AcceptBlock FAILED", __func__); |
|
|
|
} |
|
|
|