aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-17 11:51:57 +0100
committerRiccardo Spagni <ric@spagni.net>2018-02-17 11:51:57 +0100
commit6198c816b1749dbe55a74084ea65694d8a391046 (patch)
tree2fb5dc0857792bea59242950c70f76a006fefee5 /src/rpc/core_rpc_server.h
parentMerge pull request #3191 (diff)
parentoptions: add testnet option dependencies (diff)
downloadmonero-6198c816b1749dbe55a74084ea65694d8a391046.tar.xz
Merge pull request #3170
b3b2d4d2 options: add testnet option dependencies (whythat) c5f55bb4 common: implement dynamic option dependencies mechanism (whythat) 05a12ccc options: remove testnet-* options (whythat) c33cb60e common: implement dependent option descriptor (whythat)
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r--src/rpc/core_rpc_server.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index 650e738bd..3c57a6016 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -53,10 +53,8 @@ namespace cryptonote
{
public:
- static const command_line::arg_descriptor<std::string> arg_rpc_bind_port;
+ static const command_line::arg_descriptor<std::string, false, true> arg_rpc_bind_port;
static const command_line::arg_descriptor<std::string> arg_rpc_restricted_bind_port;
- static const command_line::arg_descriptor<std::string> arg_testnet_rpc_bind_port;
- static const command_line::arg_descriptor<std::string> arg_testnet_rpc_restricted_bind_port;
static const command_line::arg_descriptor<bool> arg_restricted_rpc;
static const command_line::arg_descriptor<std::string> arg_bootstrap_daemon_address;
static const command_line::arg_descriptor<std::string> arg_bootstrap_daemon_login;