[move-only] Move things only referenced in net_processing out of header file

This commit is contained in:
Jesse Cohen
2018-06-07 14:32:43 -04:00
parent 02bbc05310
commit 1d4df02b7e
3 changed files with 35 additions and 33 deletions

View File

@@ -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;