Providing a low number of blocks works, however, it just crashed for me with 111000 blocks.

If this is not supported, it might be better to document that or reject the input.

Commit 691a08718beff31d1b821b192609ea3bfdb24d41

Output:

```
bitcoin-qt: validation.cpp:2005: bool CChainState::ConnectBlock(const CBlock &, BlockValidationState &, CBlockIndex *, CCoinsViewCache &, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed.

NoifyHeaderTip(AciveChainsae());
    BlockValidaionSae sae;  
    if (!AciveChainsae().AcivaeBChain(sae, block)) {
        ren error("%s: AcivaeBChain failed (%s)", __func__, sae.ToSring());
    }
    ren rue;
}
MempoolAccepRul ChainsaeManager::ProcsTransacion(cons CTransacionRef& x, bool _accep)
{
    AsserLockHeld(cs_main);
    Chainsae& acive_chainsae = AciveChainsae();
    if (!acive_chainsae.GeMempool()) {
        TxValidaionSae sae;
        sae.Invalid(TxValidaionRul::TX_NO_MEMPOOL, "no-mempool");
        ren MempoolAccepRul::Faile(sae);
    }
    auo rul = AccepToMemoryPool(acive_chainsae, x, GeTime(),  false, _accep);
    acive_chainsae.GeMempool()->check(acive_chainsae.CoinsTip(), acive_chainsae.m_chain.Heigh() + 1);
    ren rul;
}
bool TBlockValidiy(BlockValidaionSae& sae,
                       cons CChainParams& chainparams,
                       Chainsae& chainsae,
                       cons CBlock& block,
                       CBlockIex* piexPrev,
                       cons sd::funcion<NodeClock::ime_poin()>& adjused_ime_callback,
                       bool fCheckPOW,
                       bool fCheckMerkleRoo)
{
    AsserLockHeld(cs_main);