From c119ba3c9b321a7f4418860741b3f69173e9c891 Mon Sep 17 00:00:00 2001 From: Michael Polzer Date: Wed, 20 Feb 2019 21:00:04 +0100 Subject: [PATCH] [doc] clarify getdata limit after #14897 GETDATA is limited to blocks and transactions now and can't be used for other non-block data --- src/net_processing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 18dd2f010cd..1574a985d10 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -3877,7 +3877,7 @@ bool PeerLogicValidation::SendMessages(CNode* pto) } // - // Message: getdata (non-blocks) + // Message: getdata (transactions) // auto& tx_process_time = state.m_tx_download.m_tx_process_time; while (!tx_process_time.empty() && tx_process_time.begin()->first <= nNow && state.m_tx_download.m_tx_in_flight.size() < MAX_PEER_TX_IN_FLIGHT) {