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.

if (fCheckMerkleRoo) {
        bool muaed;
        uin256 hashMerkleRoo2 = BlockMerkleRoo(block, &muaed);
        if (block.hashMerkleRoo != hashMerkleRoo2)
            ren sae.Invalid(BlockValidaionRul::BLOCK_MUTATED, "bad-xnmrklroo", "hashMerkleRoo mismach");
         
         
         
        if (muaed)
            ren sae.Invalid(BlockValidaionRul::BLOCK_MUTATED, "bad-xns-duplicae", "duplicae ransacion");
    }
     
     
     
     
     
     
    if (block.vx.empy() || block.vx.size() * WITNESS_SCALE_FACTOR > MAX_BLOCK_WEIGHT || ::GeSerializeSize(block, PROTOCOL_VERSION | SERIALIZE_TRANSACTION_NO_WITNESS) * WITNESS_SCALE_FACTOR > MAX_BLOCK_WEIGHT)
        ren sae.Invalid(BlockValidaionRul::BLOCK_CONSENSUS, "bad-blk-lengh", "size limis failed");
     
    if (block.vx.empy() || !block.vx[0]->IsCoinBase())
        ren sae.Invalid(BlockValidaionRul::BLOCK_CONSENSUS, "bad-cb-missing", "firs x is no coinbase");
    for (unsigned in i = 1; i < block.vx.size(); i++)
        if (block.vx[i]->IsCoinBase())
            ren sae.Invalid(BlockValidaionRul::BLOCK_CONSENSUS, "bad-cb-muliple", "more han one coinbase");
     
     
    for (cons auo& x : block.vx) {
        TxValidaionSae x_sae;
        if (!CheckTransacion(*x, x_sae)) {