mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 22:42:04 +01: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:
parent
f9775a8655
commit
c119ba3c9b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue