HomePhabricator

[net processing] Add Orphanage empty consistency check

Description

[net processing] Add Orphanage empty consistency check

Summary:
When removing the final peer, assert that m_tx_orphanage is empty.

This is a partial backport of core#21562
https://github.com/bitcoin/bitcoin/pull/21562/commits/9190b01d8dcf03b74e9b9e1653688a97ac171b37

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Mar 31 2021, 17:34
PiRKCommitted on Mar 21 2023, 06:51
PiRKPushed on Mar 21 2023, 06:51
Reviewer
Restricted Project
Differential Revision
D13377: [net processing] Add Orphanage empty consistency check
Parents
rABC5d7099057b02: [tg bot] add function returnAddressPreview
Branches
Unknown
Tags
Unknown