Page MenuHomePhabricator

add missing includes and remove unneeded ones
ClosedPublic

Authored by PiRK on May 22 2024, 15:03.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC4c05a04a597e: add missing includes and remove unneeded ones
Summary

Most of the headers added in this diff are currently included indirectly via system.h. This will change after D16202, so include them directly to prevent future compilation errors.

proofbuilder.cpp no longer needs to include system.h for gArgs after D11914

Test Plan

ninja all check-all

Event Timeline

PiRK requested review of this revision.May 22 2024, 15:03
src/banman.cpp
10

This one was flagged as unused by my IDE after I added logging.h

src/chainparams.cpp
30

arc lint wants this

src/wallet/bdb.cpp
6

this line is moved to another group of includes, below

We should try to get a iwyu linter at some point. It can be integrated into cmake iirc

This revision is now accepted and ready to land.May 23 2024, 07:18
This revision was automatically updated to reflect the committed changes.