HomePhabricator

orphanage: Extract EraseOrphansForBlock

Description

orphanage: Extract EraseOrphansForBlock

Summary:
Extract code that erases orphans when a new block is found into
EraseOrphansForBlock.

This is a backport of core#21148 [10/14]
https://github.com/bitcoin/bitcoin/pull/21148/commits/03257b832debcb1470420d8657d30ba30f4be770

Depends on D11487

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on May 18 2022, 09:20
PiRKPushed on May 19 2022, 16:07
Reviewer
Restricted Project
Differential Revision
D11489: orphanage: Extract EraseOrphansForBlock
Parents
rABCc15f8c9cc49d: txorphanage: Extract OrphanageAddTx and drop AddOrphanTx
Branches
Unknown
Tags
Unknown