Page MenuHomePhabricator

test: Add more tests for orphan tx handling
ClosedPublic

Authored by Fabien on Jul 18 2024, 14:27.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC3628e52ed106: test: Add more tests for orphan tx handling
Summary
This PR adds test coverage for the following cases:
 - erase orphan transactions when a peer is disconnected
 - erase an orphan transaction when it is included in a new tip block
 - erase an orphan transaction when it is conflicted with other transactions included in a new tip block

Backport of core#19393.

Test Plan
./test/functional/test_runner.py p2p_invalid_tx

Diff Detail

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