GUI shows generic out of sync warning when the clock is wrong. #2001

issue gmaxwell opened this issue on November 11, 2012
  1. gmaxwell commented at 2:12 AM on November 11, 2012: contributor

    I found user on IRC getting the generic out of sync report and being told to try all manner of cargo cult repairs (e.g. resync). Debug log showed his clock was exactly 24 hours fast.

    This is probably unoptimal. Showing out of sync when the last block is old makes sense, but there should probably be some additional text about your clock being wrong when your peers all say you're 1440 minutes off.

  2. laanwj commented at 6:31 AM on November 13, 2012: member

    Isn't that what this message is supposed to be doing:

    string strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong Bitcoin will not work properly.");
    

    https://github.com/bitcoin/bitcoin/blob/master/src/util.cpp#L1248

  3. Diapolo commented at 4:39 PM on November 14, 2012: none

    I think this is related somehow #2007 and I also think we should have a clock check after startup or something like that.

  4. gmaxwell commented at 5:26 PM on November 14, 2012: contributor

    Indeed— the user in my case was getting the clock message, or at least it's in the debug log, but did not notice it. I'm unsure why.

  5. laanwj cross-referenced this on Nov 21, 2014 from issue Refine startup error messages (e.g. wrong system time) by dexX7
  6. laanwj cross-referenced this on Feb 16, 2016 from issue Clock-warped node gets quietly wedged by zw
  7. laanwj removed the label Priority Low on Dec 6, 2017
  8. MarcoFalke cross-referenced this on May 11, 2020 from issue GUI freezes during IBD when time is set to the next day by MarcoFalke
  9. KolbyML referenced this in commit ab081d0060 on Dec 5, 2020
  10. hebasto commented at 3:53 PM on March 25, 2021: member

    Cannot reproduce this issue on master (9217f9fe7351d9c36803456f88ae561e23f17ac9):

    DeepinScreenshot_select-area_20210326172200

  11. laanwj commented at 10:58 AM on March 29, 2021: member

    Looks like we can close this then. Thanks for checking @hebasto

  12. laanwj closed this on Mar 29, 2021

  13. bitcoin locked this on Aug 18, 2022

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-05-19 06:55 UTC