Fixed issue with issuing legacy RPC daemon commands

As the core RPC server is being redone to use ZeroMQ and the legacy RPC
is being wrapped around that, RPC IP and Port args still need to stick
around for the daemon's remote invocation.  This will likely change in
the near future.
This commit is contained in:
Thomas Winget 2015-07-05 08:32:55 -04:00
parent 4b2c2cc3e9
commit b00a56acfe
No known key found for this signature in database
GPG Key ID: 58131A160789E630
1 changed files with 6 additions and 1 deletions

View File

@ -90,6 +90,11 @@ int main(int argc, char const * argv[])
// Hidden options // Hidden options
command_line::add_arg(hidden_options, daemon_args::arg_command); command_line::add_arg(hidden_options, daemon_args::arg_command);
// Legacy RPC options (in hidden section, not sure if best place)
command_line::add_arg(hidden_options, cryptonote::core_rpc_server::arg_rpc_bind_ip);
command_line::add_arg(hidden_options, cryptonote::core_rpc_server::arg_rpc_bind_port);
command_line::add_arg(hidden_options, cryptonote::core_rpc_server::arg_testnet_rpc_bind_port);
visible_options.add(core_settings); visible_options.add(core_settings);
all_options.add(visible_options); all_options.add(visible_options);
all_options.add(hidden_options); all_options.add(hidden_options);