GuessVerificationProgress not locking cs_main as expected #15994

issue jasonbcox openend this issue on May 9, 2019
  1. jasonbcox commented at 7:22 pm on May 9, 2019: none

    From the comment in GuessVerificationProgress(): //! require cs_main if pindex has not been validated yet (because nChainTx might be unset)

    /interfaces/node.cpp does not have locks on cs_main for the three calls made to GuessVerificationProgress (see getVerificationProgress, handleNotifyBlockTip, handleNotifyHeaderTip).

    I believe there are other calls to GuessVerificationProgress that need similar attention.

  2. adamjonas commented at 11:42 am on April 24, 2020: member
    #16426 should close this
  3. MarcoFalke closed this on May 7, 2020

  4. DrahtBot locked this on Feb 15, 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: 2024-10-04 22:12 UTC

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