Page MenuHomePhabricator

add missing includes and remove unneeded ones
ClosedPublic

Authored by PiRK on Wed, May 22, 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

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Wed, May 22, 15:03
src/banman.cpp
10 ↗(On Diff #47890)

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

src/chainparams.cpp
30 ↗(On Diff #47890)

arc lint wants this

src/wallet/bdb.cpp
6 ↗(On Diff #47890)

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.Thu, May 23, 07:18
This revision was automatically updated to reflect the committed changes.