Page MenuHomePhabricator

Create new mutex for orphans, no cs_main in PLV::BlockConnected
ClosedPublic

Authored by Fabien on Tue, Feb 26, 10:21.

Details

Summary

This should (marginally) speed up validationinterface queue
draining by avoiding a cs_main lock in one client.

Partial backport of core PR11824 (commit 818075a)

Test Plan
make check
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Tue, Feb 26, 10:21
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Feb 26, 10:21
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Tue, Feb 26, 17:07

That is a very good backport.

This revision is now accepted and ready to land.Tue, Feb 26, 17:07
Closed by commit rABC8e27b02b0cfd: Create new mutex for orphans, no cs_main in PLV::BlockConnected (authored by Matt Corallo <git@bluematt.me>, committed by Fabien). · Explain WhyWed, Feb 27, 07:48
This revision was automatically updated to reflect the committed changes.