diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-11 10:36:42 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-09-02 17:18:21 -0700 |
commit | 1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5 (patch) | |
tree | b484e4143c7c0f3b120148738e64aff2ff709d09 /src/net.h | |
parent | ff6b9081add3a40d53b1cc1352b57eeb46e41d45 (diff) | |
download | bitcoin-1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5.tar.xz |
[trivial] Small style updates
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -823,7 +823,7 @@ public: std::atomic_bool fPauseSend{false}; bool IsOutboundOrBlockRelayConn() const { - switch(m_conn_type) { + switch (m_conn_type) { case ConnectionType::OUTBOUND_FULL_RELAY: case ConnectionType::BLOCK_RELAY: return true; @@ -868,7 +868,7 @@ public: } bool ExpectServicesFromConn() const { - switch(m_conn_type) { + switch (m_conn_type) { case ConnectionType::INBOUND: case ConnectionType::MANUAL: case ConnectionType::FEELER: @@ -892,7 +892,7 @@ public: // flood relay std::vector<CAddress> vAddrToSend; - std::unique_ptr<CRollingBloomFilter> m_addr_known = nullptr; + std::unique_ptr<CRollingBloomFilter> m_addr_known{nullptr}; bool fGetAddr{false}; 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}; |