Page MenuHomePhabricator

zmq: remove LOCK(cs_main) from NotifyBlock
ClosedPublic

Authored by PiRK on Jan 24 2023, 16:34.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC3bac4c6a232f: zmq: remove LOCK(cs_main) from NotifyBlock
Summary

The second commit is from a suggestion on the original PR by jonatack to remove the unnecessary LOCK(cs_main) in the zmq notifier's NotifyBlock.

This is a partial backport of core#26308
https://github.com/bitcoin/bitcoin/pull/26308/commits/7d253c943f44612431be894b198ffb49ff988fff

Depends on D13052

Test Plan

With Clang and DEBUG:
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable