mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-01 23:12:33 +02:00
[trivial] Small style updates
This commit is contained in:
parent
ff6b9081ad
commit
1d74fc7df6
@ -892,7 +892,7 @@ public:
|
|||||||
|
|
||||||
// flood relay
|
// flood relay
|
||||||
std::vector<CAddress> vAddrToSend;
|
std::vector<CAddress> vAddrToSend;
|
||||||
std::unique_ptr<CRollingBloomFilter> m_addr_known = nullptr;
|
std::unique_ptr<CRollingBloomFilter> m_addr_known{nullptr};
|
||||||
bool fGetAddr{false};
|
bool fGetAddr{false};
|
||||||
std::chrono::microseconds m_next_addr_send GUARDED_BY(cs_sendProcessing){0};
|
std::chrono::microseconds m_next_addr_send GUARDED_BY(cs_sendProcessing){0};
|
||||||
std::chrono::microseconds m_next_local_addr_send GUARDED_BY(cs_sendProcessing){0};
|
std::chrono::microseconds m_next_local_addr_send GUARDED_BY(cs_sendProcessing){0};
|
||||||
|
@ -882,9 +882,10 @@ void PeerLogicValidation::InitializeNode(CNode *pnode) {
|
|||||||
LOCK(g_peer_mutex);
|
LOCK(g_peer_mutex);
|
||||||
g_peer_map.emplace_hint(g_peer_map.end(), nodeid, std::move(peer));
|
g_peer_map.emplace_hint(g_peer_map.end(), nodeid, std::move(peer));
|
||||||
}
|
}
|
||||||
if(!pnode->IsInboundConn())
|
if (!pnode->IsInboundConn()) {
|
||||||
PushNodeVersion(*pnode, m_connman, GetTime());
|
PushNodeVersion(*pnode, m_connman, GetTime());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void PeerLogicValidation::ReattemptInitialBroadcast(CScheduler& scheduler) const
|
void PeerLogicValidation::ReattemptInitialBroadcast(CScheduler& scheduler) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user