Page MenuHomePhabricator

[tests] remove test_bitcoin.h dependency on txmempool.h
ClosedPublic

Authored by markblundeberg on Jan 13 2020, 14:01.

Details

Summary

It turns out nothing was actually using the LockPoints field of the mempool
entry helper, and (looking to future) nothing in bitcoin Core's tests use
this field either. Getting rid of it lets us speed up test compilation/
recompilation by removing the (rather heavy) txmempool.h dependency and
its various indirect dependencies.

If it's needed again in future, it's easy enough to reintroduce.

Test Plan

ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
remlp
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8896
Build 15767: Default Diff Build & Tests
Build 15766: arc lint + arc unit