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
- Branch
- split_sendmessages_csmain
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 15768 Build 31436: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang Build 31435: arc lint + arc unit