diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
commit | 848591c4d85ae73c42b3317d9dab192267bc2737 (patch) | |
tree | 49609ee8a89b8e475ba610c6af08507aea9ac9bb /src/daemon/command_line_args.h | |
parent | Merge pull request #5185 (diff) | |
parent | daemon: add --public-node mode, RPC port propagation over P2P (diff) | |
download | monero-848591c4d85ae73c42b3317d9dab192267bc2737.tar.xz |
Merge pull request #5190
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
Diffstat (limited to 'src/daemon/command_line_args.h')
-rw-r--r-- | src/daemon/command_line_args.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index b75d7381f..32fdca5ea 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -96,6 +96,12 @@ namespace daemon_args , 0 }; + const command_line::arg_descriptor<bool> arg_public_node = { + "public-node" + , "Allow other users to use the node as a remote (restricted RPC mode, view-only commands) and advertise it over P2P" + , false + }; + const command_line::arg_descriptor<std::string> arg_zmq_rpc_bind_ip = { "zmq-rpc-bind-ip" , "IP for ZMQ RPC server to listen on" |