Skip to content

Commit 4009777

Browse files
committed
refactor: apply IWYU to rpc/{fees,signmessage}.cpp
1 parent 85d96c2 commit 4009777

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ci/dash/build_src.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ if [ "${RUN_TIDY}" = "true" ]; then
7373
iwyu_tool.py \
7474
"src/compat" \
7575
"src/init" \
76+
"src/rpc/fees.cpp" \
77+
"src/rpc/signmessage.cpp" \
7678
-p . "${MAKEJOBS}" \
7779
-- -Xiwyu --cxx17ns -Xiwyu --mapping_file="${BASE_ROOT_DIR}/contrib/devtools/iwyu/bitcoin.core.imp" \
7880
|& tee "/tmp/iwyu_ci.out"

src/rpc/fees.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
#include <algorithm>
2222
#include <array>
2323
#include <cmath>
24+
#include <list>
2425
#include <string>
26+
#include <vector>
27+
28+
struct NodeContext;
2529

2630
static RPCHelpMan estimatesmartfee()
2731
{

src/rpc/signmessage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <util/message.h>
1414

1515
#include <string>
16+
#include <vector>
1617

1718
static RPCHelpMan verifymessage()
1819
{

0 commit comments

Comments
 (0)