aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-11-16 22:26:34 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-11-16 22:26:34 +0100
commita720b928c80f18d340173f39f63e7ef9cfb367c1 (patch)
tree05b9a3a0f1822ca807e3bdcf0dcd4aefdb46268c /src/rpc
parent99bc0b428b03b571afbc311b7f18fd3a707ac5af (diff)
Remove includes in .cpp files for things the corresponding .h file already included
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/client.cpp2
-rw-r--r--src/rpc/mining.cpp2
-rw-r--r--src/rpc/protocol.cpp1
-rw-r--r--src/rpc/server.cpp2
4 files changed, 0 insertions, 7 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index a595b6ec27..f2fa114313 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -10,8 +10,6 @@
#include <set>
#include <stdint.h>
-#include <univalue.h>
-
class CRPCConvertParam
{
public:
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 1753ecd3fc..d003be4954 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -29,8 +29,6 @@
#include <memory>
#include <stdint.h>
-#include <univalue.h>
-
unsigned int ParseConfirmTarget(const UniValue& value)
{
int target = value.get_int();
diff --git a/src/rpc/protocol.cpp b/src/rpc/protocol.cpp
index 4cb28c2104..d999a08d74 100644
--- a/src/rpc/protocol.cpp
+++ b/src/rpc/protocol.cpp
@@ -12,7 +12,6 @@
#include <utiltime.h>
#include <version.h>
-#include <stdint.h>
#include <fstream>
/**
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index fa81398272..239d4b4cfe 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -14,8 +14,6 @@
#include <util.h>
#include <utilstrencodings.h>
-#include <univalue.h>
-
#include <boost/bind.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/algorithm/string/case_conv.hpp> // for to_upper()