HomePhabricator

rpc: reduce LOCK(cs_main) scope in gettxoutproof

Description

rpc: reduce LOCK(cs_main) scope in gettxoutproof

Summary:
This concludes backport of core#26308
https://github.com/bitcoin/bitcoin/pull/26308/commits/d7f61e7d5909da7227c9e34be06ce9eb872ba074

Depends on D13055

Test Plan:
With Clang and DEBUG:
ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Differential Revision: https://reviews.bitcoinabc.org/D13057

Details

Provenance
Andrew Toth <andrewstoth@gmail.com>Authored on Oct 17 2022, 13:12
PiRKCommitted on Jan 25 2023, 07:18
PiRKPushed on Jan 25 2023, 07:19
Reviewer
Restricted Project
Differential Revision
D13057: rpc: reduce LOCK(cs_main) scope in gettxoutproof
Parents
rABCe2648cf69d28: rpc: reduce LOCK(cs_main) scope in GetUndoChecked and getblockstats
Branches
Unknown
Tags
Unknown