Merge pull request #51 from jl777/FSM

Fsm
This commit is contained in:
blackjok3rtt
2018-12-01 09:07:47 +08:00
committed by GitHub
8 changed files with 163 additions and 60 deletions

View File

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