mirror of https://github.com/bitcoin/bitcoin
ActiveTip() is *not* thread-safe, as the required ::cs_main lock will be released as ActiveChainstate() returns. ActiveTip() is an alias for ActiveChainstate().m_chain.Tip(), so m_chain may be involved in a data-race (UB).pull/25077/head
parent
fa530bcb9c
commit
fa97a528d6
Loading…
Reference in new issue