mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-28 18:46:24 +02:00
[doc] clarify getdata limit after #14897
GETDATA is limited to blocks and transactions now and can't be used for other non-block data
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user