diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-07 20:21:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-07 20:21:45 +0000 |
commit | 2c83055597e01491b6dffc195dd9e6fe559f0bf7 (patch) | |
tree | f706256b834588f90f39608bfc21e77ff766b2c6 /src/p2p/net_node.h | |
parent | Merge pull request #518 (diff) | |
download | monero-2c83055597e01491b6dffc195dd9e6fe559f0bf7.tar.xz |
net_node: add a --offline argument
It will not try to connect to the monero network, nor listen
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 39cbe01fa..99f12beed 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -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; |