v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3
src/net_processing.cpp
Before: src/net_processing.cpp · After: src/net_processing.cpp
File metadata
index 9287a67a04eaffee5838a1a9198414d950a28c89..b1dcbf122e0ab69b292923fca2123116abe2a758 100644
Download original patch · Release notes
Diff rows 401–407 of 407. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/net_processing.cpp
CHANGED
|
@@ -5711,7 +5779,7 @@ bool PeerManagerImpl::SendMessages(CNode* pto) (continued)
|
|
| 5712 |
fSendTrickle = true;
|
| 5713 |
if (pto->IsInboundConn()) {
|
| 5714 |
-
tx_relay->m_next_inv_send_time = NextInvToInbounds(current_time, INBOUND_INVENTORY_BROADCAST_INTERVAL);
|
| 5715 |
} else {
|
| 5716 |
tx_relay->m_next_inv_send_time = current_time + m_rng.rand_exp_duration(OUTBOUND_INVENTORY_BROADCAST_INTERVAL);
|
| 5717 |
}
|
|
|
|
| 5780 |
fSendTrickle = true;
|
| 5781 |
if (pto->IsInboundConn()) {
|
| 5782 |
+
tx_relay->m_next_inv_send_time = NextInvToInbounds(current_time, INBOUND_INVENTORY_BROADCAST_INTERVAL, pto->m_network_key);
|
| 5783 |
} else {
|
| 5784 |
tx_relay->m_next_inv_send_time = current_time + m_rng.rand_exp_duration(OUTBOUND_INVENTORY_BROADCAST_INTERVAL);
|
| 5785 |
}
|