HomePhabricator

rpc, refactor: Prevent potential race conditions in dumptxoutset

Description

rpc, refactor: Prevent potential race conditions in dumptxoutset

Summary:
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>

This is a partial backport of core#29553
https://github.com/bitcoin/bitcoin/pull/29553/commits/94b0adcc371540732453d70309c4083d4bd9cd6b

Bypasses a comment about the racy condition added in https://github.com/bitcoin/bitcoin/pull/29553/commits/94b0adcc371540732453d70309c4083d4bd9cd6b

Depends on D18047

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Fabian Jahr <fjahr@protonmail.com>Authored on Aug 15 2024, 20:50
PiRKCommitted on Mon, May 5, 14:54
PiRKPushed on Mon, May 5, 14:54
Reviewer
Restricted Project
Differential Revision
D18048: rpc, refactor: Prevent potential race conditions in dumptxoutset
Parents
rABCd2078ef2efd2: RPC: Add type parameter to dumptxoutset
Branches
Unknown
Tags
Unknown