HomePhabricator

test: Add coverage for failing dumptxoutset behavior

Description

test: Add coverage for failing dumptxoutset behavior

Summary:
In case of a failure to create the dump, the node should not be left in an inconsistent state like deactivated network activity or an invalidated blockchain.

This concludes backport of core#30817
https://github.com/bitcoin/bitcoin/pull/30817/commits/4b5bf335adabd1586043caa72a98356a8255bc29

Depends on D18049

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Fabian Jahr <fjahr@protonmail.com>Authored on Sep 4 2024, 16:29
PiRKCommitted on May 5 2025, 14:54
PiRKPushed on May 5 2025, 14:54
Reviewer
Restricted Project
Differential Revision
D18050: test: Add coverage for failing dumptxoutset behavior
Parents
rABC7acba5eca425: rpc: Manage dumptxoutset rollback with RAII class
Branches
Unknown
Tags
Unknown