Page MenuHomePhabricator

[net processing] Add Orphanage empty consistency check
ClosedPublic

Authored by PiRK on Mar 17 2023, 15:44.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC6d8a8d911ba6: [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

Diff Detail

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