net_node: add a --offline argument
It will not try to connect to the monero network, nor listen
This commit is contained in:
@@ -88,6 +88,7 @@ namespace nodetool
|
||||
m_allow_local_ip(false),
|
||||
m_hide_my_port(false),
|
||||
m_no_igd(false),
|
||||
m_offline(false),
|
||||
m_save_graph(false),
|
||||
is_closing(false),
|
||||
m_net_server( epee::net_utils::e_connection_type_P2P ) // this is a P2P connection of the main p2p node server, because this is class node_server<>
|
||||
@@ -266,6 +267,7 @@ namespace nodetool
|
||||
bool m_allow_local_ip;
|
||||
bool m_hide_my_port;
|
||||
bool m_no_igd;
|
||||
bool m_offline;
|
||||
std::atomic<bool> m_save_graph;
|
||||
std::atomic<bool> is_closing;
|
||||
std::unique_ptr<std::thread> mPeersLoggerThread;
|
||||
|
||||
Reference in New Issue
Block a user