Merge 19f277711e into merged_master (Bitcoin PR bitcoin/bitcoin#26593)

This commit is contained in:
ivanlele 2026-04-02 15:08:15 +00:00
commit b766b3f8c8
No known key found for this signature in database
16 changed files with 221 additions and 118 deletions

View file

@ -57,6 +57,8 @@
using namespace util::hex_literals;
TRACEPOINT_SEMAPHORE(net, inbound_message);
/** Headers download timeout.
* Timeout = base + per_header * (expected number of headers) */
static constexpr auto HEADERS_DOWNLOAD_TIMEOUT_BASE = 15min;
@ -5036,7 +5038,7 @@ bool PeerManagerImpl::ProcessMessages(CNode* pfrom, std::atomic<bool>& interrupt
CNetMessage& msg{poll_result->first};
bool fMoreWork = poll_result->second;
TRACE6(net, inbound_message,
TRACEPOINT(net, inbound_message,
pfrom->GetId(),
pfrom->m_addr_name.c_str(),
pfrom->ConnectionTypeAsString().c_str(),