aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-04-25 11:22:50 -0400
committerluigi1111 <luigi1111w@gmail.com>2023-04-25 11:22:50 -0400
commitb2d603e61f5e7033b91487535ea03602caf5f88d (patch)
treee2fa52d517581d40ecee98d86b98cf5a72ecc0de /src/p2p
parentMerge pull request #8788 (diff)
parentepee: remove dead code in net_helper (diff)
downloadmonero-b2d603e61f5e7033b91487535ea03602caf5f88d.tar.xz
Merge pull request #8789
df9aa6b epee: remove dead code in net_helper (Jeffro256)
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 9b5e57496..4f77ce834 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -51,7 +51,6 @@
#include "common/dns_utils.h"
#include "common/pruning.h"
#include "net/error.h"
-#include "net/net_helper.h"
#include "math_helper.h"
#include "misc_log_ex.h"
#include "p2p_protocol_defs.h"
@@ -67,8 +66,6 @@
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "net.p2p"
-#define NET_MAKE_IP(b1,b2,b3,b4) ((LPARAM)(((DWORD)(b1)<<24)+((DWORD)(b2)<<16)+((DWORD)(b3)<<8)+((DWORD)(b4))))
-
#define MIN_WANTED_SEED_NODES 12
static inline boost::asio::ip::address_v4 make_address_v4_from_v6(const boost::asio::ip::address_v6& a)