test
This commit is contained in:
@@ -2705,6 +2705,9 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ( 1 )
|
if ( 1 )
|
||||||
|
{
|
||||||
|
static int32_t didinit;
|
||||||
|
if ( didinit++ == 0 )
|
||||||
{
|
{
|
||||||
while (chainActive.Tip()->nHeight > 91418 )
|
while (chainActive.Tip()->nHeight > 91418 )
|
||||||
{
|
{
|
||||||
@@ -2715,6 +2718,7 @@ if ( 1 )
|
|||||||
pindexOldTip = chainActive.Tip();
|
pindexOldTip = chainActive.Tip();
|
||||||
pindexFork = chainActive.FindFork(pindexMostWork);
|
pindexFork = chainActive.FindFork(pindexMostWork);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Build list of new blocks to connect.
|
// Build list of new blocks to connect.
|
||||||
std::vector<CBlockIndex*> vpindexToConnect;
|
std::vector<CBlockIndex*> vpindexToConnect;
|
||||||
bool fContinue = true;
|
bool fContinue = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user