aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-08-24 16:45:46 +0100
committerJohn Newbery <john@johnnewbery.com>2020-09-07 11:16:12 +0100
commitaa114b1c9b06c2bd3ed936bbb9fb32b31f75bdb2 (patch)
tree368ee9db84b886308c4932b09d776ee80225968b /src/net_processing.h
parent3115e00f75b41d9765dcbb376e367b25f61a1d58 (diff)
downloadbitcoin-aa114b1c9b06c2bd3ed936bbb9fb32b31f75bdb2.tar.xz
[net_processing] Move SendBlockTransactions into PeerManager
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 4f350630f1..c89fdb601b 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -11,6 +11,7 @@
#include <sync.h>
#include <validationinterface.h>
+class BlockTransactionsRequest;
class BlockValidationState;
class CBlockHeader;
class CChainParams;
@@ -118,6 +119,8 @@ private:
/** Process a single headers message from a peer. */
void ProcessHeadersMessage(CNode& pfrom, const std::vector<CBlockHeader>& headers, bool via_compact_block);
+ void SendBlockTransactions(CNode& pfrom, const CBlock& block, const BlockTransactionsRequest& req);
+
const CChainParams& m_chainparams;
CConnman& m_connman;
/** Pointer to this node's banman. May be nullptr - check existence before dereferencing. */