aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-04-26 15:20:13 +0000
committertobtoht <tob@featherwallet.org>2026-04-26 15:20:13 +0000
commitb2d591eac4f192d813deb34d6d7d426a6122f212 (patch)
treed62bd2686df5a2b284a3206611cbdace63803c05 /src/p2p/net_node.h
parent0f09b7518621044597d4953c8732101b46f3f42e (diff)
parent987e6d29133a493914a19b660051ca634fbed1d6 (diff)
downloadmonzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.tar.gz
monzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.tar.xz
monzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.zip
Merge pull request #10465
987e6d2 daemon: remove miniupnp (tobtoht)
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index edd3e31fa..8e3312f29 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -237,12 +237,6 @@ namespace nodetool
}
};
- enum igd_t
- {
- no_igd,
- igd,
- delayed_igd,
- };
public:
typedef t_payload_net_handler payload_net_handler;
@@ -254,7 +248,6 @@ namespace nodetool
m_rpc_credits_per_hash(0),
m_allow_local_ip(false),
m_hide_my_port(false),
- m_igd(no_igd),
m_offline(false),
is_closing(false),
m_network_id(),
@@ -382,14 +375,6 @@ namespace nodetool
bool is_peer_used(const peerlist_entry& peer);
bool is_peer_used(const anchor_peerlist_entry& peer);
bool is_addr_connected(const epee::net_utils::network_address& peer);
- void add_upnp_port_mapping_impl(uint32_t port, bool ipv6=false);
- void add_upnp_port_mapping_v4(uint32_t port);
- void add_upnp_port_mapping_v6(uint32_t port);
- void add_upnp_port_mapping(uint32_t port, bool ipv4=true, bool ipv6=false);
- void delete_upnp_port_mapping_impl(uint32_t port, bool ipv6=false);
- void delete_upnp_port_mapping_v4(uint32_t port);
- void delete_upnp_port_mapping_v6(uint32_t port);
- void delete_upnp_port_mapping(uint32_t port);
template<class t_callback>
bool try_ping(basic_node_data& node_data, p2p_connection_context& context, const t_callback &cb);
bool try_get_support_flags(const p2p_connection_context& context, std::function<void(p2p_connection_context&, const uint32_t&)> f);
@@ -462,7 +447,6 @@ namespace nodetool
uint32_t m_rpc_credits_per_hash;
bool m_allow_local_ip;
bool m_hide_my_port;
- igd_t m_igd;
bool m_offline;
bool m_use_ipv6;
bool m_require_ipv4;