Skip to content

[backport] More include fixes

freetrader requested to merge freetrader/bitcoin-cash-node:backport/D5991 into master

The core_memusage.h header is unused by coins.h but is required for txmempool.h, and was indirectly included via coins.h.

The blockhash.h is missing from coins.h and was indirectly included by core_memusage.h.

NOTE: The chain.h header had to be added to validation.h since the BIP9 removal (!62 (merged)) removed it from versionbits.h, which would cause compilation of D5991 to fail.

Merge instructions: squash please

Test Plan:

  • ninja all check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Edited by freetrader

Merge request reports