aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJesse Cohen <jc@jc.lol>2018-06-07 14:32:43 -0400
committerJesse Cohen <jc@jc.lol>2018-06-19 13:02:27 -0400
commit1d4df02b7e47f4805336e0dcd577f89b7ed16afe (patch)
treedd5c4cc83321c61f18fed945cb9c9335f3c2c10b /src/test
parent02bbc053100ef99ca0f433b0a8c70961336ae79e (diff)
[move-only] Move things only referenced in net_processing out of header file
Diffstat (limited to 'src/test')
-rw-r--r--src/test/denialofservice_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/denialofservice_tests.cpp b/src/test/denialofservice_tests.cpp
index e5f914ba8a..df19e1b3e9 100644
--- a/src/test/denialofservice_tests.cpp
+++ b/src/test/denialofservice_tests.cpp
@@ -24,6 +24,8 @@
extern bool AddOrphanTx(const CTransactionRef& tx, NodeId peer);
extern void EraseOrphansFor(NodeId peer);
extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans);
+extern void Misbehaving(NodeId nodeid, int howmuch, const std::string& message="");
+
struct COrphanTx {
CTransactionRef tx;
NodeId fromPeer;