|
|
@ -2706,6 +2706,9 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo |
|
|
|
} |
|
|
|
if ( 1 ) |
|
|
|
{ |
|
|
|
static int32_t didinit; |
|
|
|
if ( didinit++ == 0 ) |
|
|
|
{ |
|
|
|
while (chainActive.Tip()->nHeight > 91418 ) |
|
|
|
{ |
|
|
|
fprintf(stderr,"rewind ht.%d\n",chainActive.Tip()->nHeight); |
|
|
@ -2714,6 +2717,7 @@ if ( 1 ) |
|
|
|
} |
|
|
|
pindexOldTip = chainActive.Tip(); |
|
|
|
pindexFork = chainActive.FindFork(pindexMostWork); |
|
|
|
} |
|
|
|
} |
|
|
|
// Build list of new blocks to connect.
|
|
|
|
std::vector<CBlockIndex*> vpindexToConnect; |
|
|
|