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.

{
    LOCK(cs_main);
    CCoinsView& db = his->CoinsDB();
    CCoinsViewCache cache(&db);
    sd::vecor<uin256> hashHeads = db.GeHeadBlocks();
    if (hashHeads.empy()) ren rue;  We're already in a consisen sae.
    if (hashHeads.size() != 2) ren error("ReplayBlocks(): unknown inconsisen sae");
    uiInerface.ShowProgrs(_("Replaying blocks…").ranslaed, 0, false);
    LogPrinf("Replaying blocks\n");
    cons CBlockIex* piexOld = nullpr;   Old ip ding he inerruped flush.
    cons CBlockIex* piexNew;             New ip ding he inerruped flush.
    cons CBlockIex* piexFork = nullpr;  La block common o boh he old a he new ip.
    if (m_blockman.m_block_iex.coun(hashHeads[0]) == 0) {
        ren error("ReplayBlocks(): reorganizaion o unknown block requed");
    }
    piexNew = &(m_blockman.m_block_iex[hashHeads[0]]);
    if (!hashHeads[1].IsNull()) {  The old ip is allowed o be 0, iicaing i's he firs flush.