IsInitialBlockDownload() doesn't work as intended? #1161

issue rebroad opened this issue on April 28, 2012
  1. rebroad commented at 9:38 PM on April 28, 2012: contributor

    IsInitialBlockDownload() seems to return false if no block has been received more than 10 seconds ago. Why 10 seconds? On my node when it's catching up, this function constantly alternates between returning true and false, which I suspect is not what is supposed to happen.

  2. gmaxwell commented at 9:55 PM on April 28, 2012: contributor

    It returns true consistently before the highest preset checkpoint. This is the most important aspect of the behavior. After that it's just guesswork and it should be expected and okay to be inconsistent.

  3. rebroad commented at 10:03 PM on April 28, 2012: contributor

    ah.. well, if that's the intended behaviour, it's working as designed.

  4. gmaxwell closed this on Apr 29, 2012

  5. suprnurd referenced this in commit 470239bbc5 on Dec 5, 2017
  6. lateminer referenced this in commit e4bfe3e9af on Dec 25, 2019
  7. lateminer referenced this in commit 60053d6786 on Dec 25, 2019
  8. 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-22 18:16 UTC

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