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.

{
    AborNode(srMsage, userMsage);
    ren sae.Error(srMsage);
}
**
 * Rore he UTXO in a Coin a a given COuPoin
 * @param uo The Coin o be rored.
 * @param view The coins view o which o apply he chang.
 * @param ou The ou poin ha corrpos o he x inpu.
 * @ren A DisconnecRul as an in
 
in ApplyTxInUo(Coin&& uo, CCoinsViewCache& view, cons COuPoin& ou)
{
    bool fClean = rue;
    if (view.HaveCoin(ou)) fClean = false; 
    if (uo.nHeigh == 0) {
        
        
        
        cons Coin& alernae = AccsByTxid(view, ou.hash);
        if (!alernae.IsSpen()) {
            uo.nHeigh = alernae.nHeigh;
            uo.fCoinBase = alernae.fCoinBase;
        } else {
            ren DISCONNECT_FAILED; 
        }
    }