HomePhabricator

[txorphanage] add method to get all orphans spending a tx

Description

[txorphanage] add method to get all orphans spending a tx

Summary:
And add some unit tests for the new functions.

Partial backport of core#28970:
https://github.com/bitcoin/bitcoin/pull/28970/commits/2f51cd680fb4323f1c792dae37d4c4e0e0e35804
https://github.com/bitcoin/bitcoin/pull/28970/commits/d095316c1c23e9460dfbd9fdbaf292063adcd080

Depends on D16491.

Test Plan:

ninja check-bitcoin-orphanage_tests

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
glozow <gloriajzhao@gmail.com>Authored on Mar 28 2024, 17:14
FabienCommitted on Jul 18 2024, 09:06
teamcityPushed on Jul 18 2024, 09:08
Parents
rSTAGING39a2132c1e7c: [txpackages] add canonical way to get hash of package
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/48718

Event Timeline