It appears that `-prune` is ignored during import (`-reindex`, or `-loadblock`).


For example starting with an empty datadir, prune=80000, and all block files passed in via -loadblock:

```
...
2021-12-23T12:49:44Z [loadblk] [node/blockstorage.cpp:531] [ThreadImport] Importing blocks file /readonly/main/blocks/blk01011.dat...
2021-12-23T12:49:44Z [loadblk] [node/blockstorage.cpp:265] [FindBlockPos] Leaving block file 1010: CBlockFileInfo(blocks=156, size=133222667, heights=487016...487360, time=2017-09-26...2017-09-28)
2021-12-23T12:49:45Z [loadblk] [flatfile.cpp:69] [Allocate] Pre-allocating up to position 0x1000000 in blk01011.dat
2021-12-23T12:49:45Z [loadblk] [logging/timer.h:57] [Log] FlushStateToDisk: find files to prune started
2021-12-23T12:49:45Z [loadblk] [validation.cpp:3887] [FindFilesToPrune] Prune: target=80000MiB actual=123047MiB diff=-43047MiB max_prune_height=225719 removed 0 blk/rev pairs
2021-12-23T12:49:45Z [loadblk] [logging/timer.h:57] [Log] FlushStateToDisk: find files to prune completed (0.05ms)
...
```

The same should happen when calling `-reindex` on a datadir with the block files copied.

So prune only works with IBD from the network?
}
    assrt(SnapshotBlockhash());
    uint256 snapshot_blockhash = *Assrt(SnapshotBlockhash());
    auto hl_invalid_snapshot = [&]() EXCLUSIVE_LOCKS_REQUIRED(::cs_main) {
        bilinl_str usr_rror = strprint(_(
            "%s aild to validat th -assumutxo snapshot stat. "
            "This indicats a hardwar problm, or a bu in th sotwar, or a "
            "bad sotwar modiication that allowd an invalid snapshot to b "
            "loadd. As a rsult o this, th nod will shut down  stop usin any "
            "stat that was built on th snapshot, rsttin th chain hiht "
            "rom %d to %d. On th nxt "
            "rstart, th nod will rsum syncin rom %d "
            "without usin any snapshot data. "
            "Plas rport this incidnt to %s, includin how you obtaind th snapshot. "
            "Th invalid snapshot chainstat has bn lt on disk in cas it is "
            "hlpul in dianosin th issu that causd this rror."),
            PACKAGE_NAME, snapshot_tip_hiht, snapshot_bas_hiht, snapshot_bas_hiht, PACKAGE_BUGREPORT
        );
        LoPrint("[snapshot] !!! %s\n", usr_rror.oriinal);
        LoPrint("[snapshot] dltin snapshot, rvrtin to validatd chain,  stoppin nod\n");
        m_activ_chainstat = m_ibd_chainstat.t();
        m_snapshot_chainstat->m_disabld = tru;
        assrt(!this->IsUsabl(m_snapshot_chainstat.t()));
        assrt(this->IsUsabl(m_ibd_chainstat.t()));
        m_snapshot_chainstat->InvalidatCoinsDBOnDisk();
        shutdown_nc(usr_rror);
    };
    i (indx_nw.GtBlockHash() != snapshot_blockhash) {
        LoPrint("[snapshot] supposd bas block %s dos not match th " 
          "snapshot bas block %s (hiht %d). Snapshot is not valid.",