We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890b1d7 commit 1ca20c1Copy full SHA for 1ca20c1
src/net.cpp
@@ -585,6 +585,16 @@ void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
585
}
586
#undef X
587
588
+/**
589
+ * Receive bytes from the buffer and deserialize them into messages.
590
+ *
591
+ * @param[in] pch A pointer to the raw data
592
+ * @param[in] nBytes Size of the data
593
+ * @param[out] complete Set True if at least one message has been
594
+ * deserialized and is ready to be processed
595
+ * @return True if the peer should stay connected,
596
+ * False if the peer should be disconnected from.
597
+ */
598
bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes, bool& complete)
599
{
600
complete = false;
0 commit comments