Indirection necessary to make lock annotations work with an optional mempool.

Synopsis

Declared in <validation.h>

[[lock_returned(this‐>m_mempool‐>cs)]]
RecursiveMutex*
MempoolMutex() const;

Return Value

Pointer to the mempool's mutex, or nullptr if there is no mempool.

Created with MrDocs