aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-08 20:12:00 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-08 20:12:18 +0200
commitb87f073a601c706f14089f032d12ba9fd650589a (patch)
tree86ededc291f792b5a3f5323a25d0a84746d463b5 /src/p2p/net_node.h
parentMerge pull request #525 (diff)
parentnet_node: add a --offline argument (diff)
downloadmonero-b87f073a601c706f14089f032d12ba9fd650589a.tar.xz
Merge pull request #526
2c83055 net_node: add a --offline argument (moneromooo-monero)
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h2
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;