diff options
author | xiphon <xiphon@protonmail.com> | 2019-02-25 01:31:45 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2019-02-25 03:22:14 +0000 |
commit | a54e81e57213aa6a983401b20c3e150550a6e948 (patch) | |
tree | fd0abbc73494e0ad5f503529184d49ec4c803ca6 /src/p2p/net_node.cpp | |
parent | Merge pull request #4988 (diff) | |
download | monero-a54e81e57213aa6a983401b20c3e150550a6e948.tar.xz |
daemon: add '--no-sync' arg to optionally disable blockchain sync
Diffstat (limited to 'src/p2p/net_node.cpp')
-rw-r--r-- | src/p2p/net_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.cpp b/src/p2p/net_node.cpp index 8639fdb3b..645bab454 100644 --- a/src/p2p/net_node.cpp +++ b/src/p2p/net_node.cpp @@ -128,6 +128,7 @@ namespace nodetool const command_line::arg_descriptor<std::vector<std::string> > arg_proxy = {"proxy", "<network-type>,<socks-ip:port>[,max_connections] i.e. \"tor,127.0.0.1:9050,100\""}; const command_line::arg_descriptor<std::vector<std::string> > arg_anonymous_inbound = {"anonymous-inbound", "<hidden-service-address>,<[bind-ip:]port>[,max_connections] i.e. \"x.onion,127.0.0.1:18083,100\""}; const command_line::arg_descriptor<bool> arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true}; + const command_line::arg_descriptor<bool> arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false}; const command_line::arg_descriptor<bool> arg_no_igd = {"no-igd", "Disable UPnP port mapping"}; const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max number of out peers", -1}; |