Page MenuHomePhabricator

Pass mempool pointer to UnloadBlockIndex
ClosedPublic

Authored by PiRK on Thu, Jul 8, 13:34.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCeb2796952096: Pass mempool pointer to UnloadBlockIndex
Summary

PR description:
Instead of relying on the implicit mempool global, pass a mempool pointer (which can be 0). This helps with testing, code clarity and unlocks the features described in #19556

This is a backport of core#19604 [2/3]
https://github.com/bitcoin/bitcoin/pull/19604/commits/fac674db200e6b2d5b32069335fb24e713d7b69f

Depends on D9756

Test Plan

ninja all check-all

Diff Detail

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