Skip to content

Commit c119ba3

Browse files
[doc] clarify getdata limit after #14897
GETDATA is limited to blocks and transactions now and can't be used for other non-block data
1 parent f9775a8 commit c119ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3877,7 +3877,7 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
38773877
}
38783878

38793879
//
3880-
// Message: getdata (non-blocks)
3880+
// Message: getdata (transactions)
38813881
//
38823882
auto& tx_process_time = state.m_tx_download.m_tx_process_time;
38833883
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) {

0 commit comments

Comments
 (0)