Page MenuHomePhabricator

versionbits: Use dedicated lock instead of cs_main
ClosedPublic

Authored by PiRK on Oct 12 2022, 12:46.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC69c9129eb3ee: versionbits: Use dedicated lock instead of cs_main
Summary

This is a backport of core#19438
https://github.com/bitcoin/bitcoin/pull/19438/commits/eccd736f3dc231ac0306ca763c3b72cf8247230a

GetNextBlockScriptFlags did not require to hold cs_main since D4100

Depends on D12218

Test Plan

with clang and debug and tsan
ninja check check-functional

Diff Detail

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