0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Merge #15451: [doc] clarify getdata limit after #14897

c119ba3c9b [doc] clarify getdata limit after #14897 (Michael Polzer)

Pull request description:

  GETDATA is limited to blocks and transactions now and can't be used for other non-block data

ACKs for top commit:
  laanwj:
    ACK c119ba3c9b
  theStack:
    ACK c119ba3c9b
  benthecarman:
    ACK c119ba3c9b

Tree-SHA512: d6e9c109bcce4ef004ec83a9ec591163279476524dec97ed5f5c34e322dca35af66a168f0878ff972bbcec79d81623903f3619fedf8f88cdced3f3f66a779173
This commit is contained in:
MarcoFalke 2020-12-25 09:43:19 +01:00
commit 762cbd287f
No known key found for this signature in database
GPG key ID: D2EA4850E7528B25

View file

@ -4591,7 +4591,7 @@ bool PeerManager::SendMessages(CNode* pto)
}
//
// Message: getdata (non-blocks)
// Message: getdata (transactions)
//
std::vector<std::pair<NodeId, GenTxid>> expired;
auto requestable = m_txrequest.GetRequestable(pto->GetId(), current_time, &expired);