iwyu: Fix warnings in `src/consensus` and treat them as errors
This commit is a routine code cleanup: it adjusts which C++ header files are included in several consensus-related source files and turns on a stricter compiler hygiene check (Include What You Use, or IWYU) for the src/consensus directory.…
13b53f8bby Hennadii Stepanov+42−79 files