The PeerManager::SendMessages() method locks the cs_main for almost
the whole function. This diff splits the lock into pieces, slightly
reducing the scope and making it possible to later add avalanche parts
that don't lock cs_main.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rABC91bd147a0ebf: Split the cs_main lock in SendMessages
With clang and debug:
ninja all check-all ./test/functional/test_runner.py p2p_tx_download # extended
Run the TSAN build.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable