diff options
author | John Newbery <john@johnnewbery.com> | 2020-07-10 16:29:57 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-04-30 11:29:14 +0100 |
commit | 76568a3351418c878d30ba0373cf76988f93f90e (patch) | |
tree | f17f8cbdb83f7a48b662b32ac086347e582814bb /src/net.cpp | |
parent | caba7ae8a505a4b4680a9d7618f65c4e8579a1e2 (diff) |
[net processing] Move addr relay data and logic into net processing
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net.cpp b/src/net.cpp index 1dcb141421..b0f4266765 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2926,10 +2926,6 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, SOCKET hSocketIn, const m_tx_relay = std::make_unique<TxRelay>(); } - if (RelayAddrsWithConn()) { - m_addr_known = std::make_unique<CRollingBloomFilter>(5000, 0.001); - } - for (const std::string &msg : getAllNetMessageTypes()) mapRecvBytesPerMsgCmd[msg] = 0; mapRecvBytesPerMsgCmd[NET_MESSAGE_COMMAND_OTHER] = 0; |