You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The height field (and others) are commented as "atomic" which suggests they are expected to be accessed with sync/atomic functions like mempoolTx.Height. But that's not the case at the moment. If that's the intent, then they should only be accessed with sync/atomic functions, and do not require the updateMtx to be locked. But this kind of mixing of individually-atomic fields and a mutex that governs (apparently arbitrary) fields in the type is basically impossible to get right :) and probably deserves a refactor.
Activity
mempool: Fix data races in CListMempool's height and notifiedTxsAvail…
mempool: Fix data races in CListMempool's height and notifiedTxsAvail…
mempool: Fix data races in CListMempool's height and notifiedTxsAvail…
adizere commentedon Jan 15, 2024
Closed by #2021