Replace RecursiveMutex cs_addrLocal with Mutex, and rename it
Summary:
scripted-diff: rename cs_addrLocal -> m_addr_local_mutex
-BEGIN VERIFY SCRIPT-
sed -i 's/cs_addrLocal/m_addr_local_mutex/g' -- $(git grep --files-with-matches 'cs_addrLocal')
-END VERIFY SCRIPT-
p2p: add assertions and negative TS annotations for m_addr_local_mutex
refactor: replace RecursiveMutex m_addr_local_mutex with Mutex
This is a backport of core#24108
Test Plan:
with clang debug and tsan
ninja check check-all
Reviewers: #bitcoin_abc, bytesofman
Reviewed By: #bitcoin_abc, bytesofman
Differential Revision: https://reviews.bitcoinabc.org/D14733