Qt: display error while reindexing / importing #2227

issue Diapolo opened this issue on January 27, 2013
  1. Diapolo commented at 10:02 PM on January 27, 2013: none

    When reindexing, client is showing Reindexing blocks on disk... or Importing blocks from disk... when doing an import from block files.

    After that process is finished the message should change into Synchronizing with network..., which is not happening immediately (only after receiving a new block).

    Cause is this code

    <pre> connect(clientModel, SIGNAL(numBlocksChanged(int,int)), this, SLOT(setNumBlocks(int,int))); </pre>

    When we are finished, fImporting or fReindex is set to false, so clientModel->getBlockSource() would return BLOCK_SOURCE_NETWORK, but because we have no new block count until we get a new block from the network, BitcoinGUI::setNumBlocks() isn't called.

    The issue is perhaps minor, but when doing some stuff offline, that message is persistent, which sucks IMHO :). I'm unsure about the cleanest way to change that behaviour.

  2. Diapolo commented at 10:47 AM on April 6, 2013: none

    See #2469

  3. Diapolo closed this on Apr 10, 2013

  4. MarcoFalke locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 06:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me