diff options
author | Jesse Cohen <jc@jc.lol> | 2018-06-07 14:32:43 -0400 |
---|---|---|
committer | Jesse Cohen <jc@jc.lol> | 2018-06-19 13:02:27 -0400 |
commit | 1d4df02b7e47f4805336e0dcd577f89b7ed16afe (patch) | |
tree | dd5c4cc83321c61f18fed945cb9c9335f3c2c10b /src/test | |
parent | 02bbc053100ef99ca0f433b0a8c70961336ae79e (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.cpp | 2 |
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; |