aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-12-01 15:45:50 -0800
committerMatt Corallo <git@bluematt.me>2016-12-02 09:42:51 -0800
commite736772c56a883e2649cc8534dd7857a0718ec56 (patch)
treecc9bb582a17276d748be7d60d51dccff33d167ea /src/test
parent87c35f584397e2309970afdcca8e03731a86639e (diff)
Move network-msg-processing code out of main to its own file
Diffstat (limited to 'src/test')
-rw-r--r--src/test/DoS_tests.cpp2
-rw-r--r--src/test/main_tests.cpp1
-rw-r--r--src/test/test_bitcoin.cpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp
index 6eed636080..1a818a5756 100644
--- a/src/test/DoS_tests.cpp
+++ b/src/test/DoS_tests.cpp
@@ -6,8 +6,8 @@
#include "chainparams.h"
#include "keystore.h"
-#include "main.h"
#include "net.h"
+#include "net_processing.h"
#include "pow.h"
#include "script/sign.h"
#include "serialize.h"
diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp
index dbfbdd934f..1942fefce7 100644
--- a/src/test/main_tests.cpp
+++ b/src/test/main_tests.cpp
@@ -4,6 +4,7 @@
#include "chainparams.h"
#include "main.h"
+#include "net.h"
#include "test/test_bitcoin.h"
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 6cbe314a76..56c51b0b13 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -12,6 +12,7 @@
#include "key.h"
#include "main.h"
#include "miner.h"
+#include "net_processing.h"
#include "pubkey.h"
#include "random.h"
#include "txdb.h"