|
|
@ -4449,6 +4449,7 @@ bool PeerManagerImpl::SendMessages(CNode* pto)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
peer->m_blocks_for_inv_relay.clear();
|
|
|
|
peer->m_blocks_for_inv_relay.clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (pto->m_tx_relay != nullptr) {
|
|
|
|
if (pto->m_tx_relay != nullptr) {
|
|
|
|
LOCK(pto->m_tx_relay->cs_tx_inventory);
|
|
|
|
LOCK(pto->m_tx_relay->cs_tx_inventory);
|
|
|
@ -4579,7 +4580,6 @@ bool PeerManagerImpl::SendMessages(CNode* pto)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!vInv.empty())
|
|
|
|
if (!vInv.empty())
|
|
|
|
m_connman.PushMessage(pto, msgMaker.Make(NetMsgType::INV, vInv));
|
|
|
|
m_connman.PushMessage(pto, msgMaker.Make(NetMsgType::INV, vInv));
|
|
|
|
|
|
|
|
|
|
|
|