I don’t see the need to have the TxRequestTracker guarded by cs_main which would also be more in line with our developer docs.
From developer-notes.md:
0Re-architecting the core code so there are better-defined interfaces between
1the various components is a goal, with any necessary locking done by the
2components (e.g. see the self-contained FillableSigningProvider class and its
3cs_KeyStore lock for example).
This PR gives TxRequestTracker its own mutex, thereby removing the need to guard PeerManagerImpl::m_txrequest using cs_main.