aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/httprpc.cpp1
-rw-r--r--src/rest.cpp1
-rw-r--r--src/rpc/mempool.cpp1
-rw-r--r--src/rpc/util.h2
4 files changed, 3 insertions, 2 deletions
diff --git a/src/httprpc.cpp b/src/httprpc.cpp
index 661406e122..c72dbf10bc 100644
--- a/src/httprpc.cpp
+++ b/src/httprpc.cpp
@@ -8,6 +8,7 @@
#include <crypto/hmac_sha256.h>
#include <httpserver.h>
#include <logging.h>
+#include <netaddress.h>
#include <rpc/protocol.h>
#include <rpc/server.h>
#include <util/strencodings.h>
diff --git a/src/rest.cpp b/src/rest.cpp
index ba149c1a9e..69a8d5effd 100644
--- a/src/rest.cpp
+++ b/src/rest.cpp
@@ -26,6 +26,7 @@
#include <txmempool.h>
#include <util/any.h>
#include <util/check.h>
+#include <util/strencodings.h>
#include <validation.h>
#include <version.h>
diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp
index 377e9de0e8..bcc58fe1a6 100644
--- a/src/rpc/mempool.cpp
+++ b/src/rpc/mempool.cpp
@@ -21,6 +21,7 @@
#include <univalue.h>
#include <util/fs.h>
#include <util/moneystr.h>
+#include <util/strencodings.h>
#include <util/time.h>
#include <utility>
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 663ae34d8b..609ec32818 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -9,7 +9,6 @@
#include <consensus/amount.h>
#include <node/transaction.h>
#include <outputtype.h>
-#include <protocol.h>
#include <pubkey.h>
#include <rpc/protocol.h>
#include <rpc/request.h>
@@ -59,7 +58,6 @@ extern const std::string UNIX_EPOCH_TIME;
extern const std::string EXAMPLE_ADDRESS[2];
class FillableSigningProvider;
-class CPubKey;
class CScript;
struct Sections;