From 2b040569e79280a2b5071de540601f71bf06fe18 Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Fri, 27 Mar 2015 13:55:34 -0400 Subject: [PATCH] Remove deprecated flags --rpc_ip and --rpc_port. --- src/ripple/app/main/Main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/ripple/app/main/Main.cpp b/src/ripple/app/main/Main.cpp index 1d5ba60a49..512e2609a7 100644 --- a/src/ripple/app/main/Main.cpp +++ b/src/ripple/app/main/Main.cpp @@ -245,8 +245,6 @@ int run (int argc, char** argv) ("help,h", "Display this message.") ("conf", po::value (), "Specify the configuration file.") ("rpc", "Perform rpc command (default).") - ("rpc_ip", po::value (), "Specify the IP address for RPC command. Format: [':']") - ("rpc_port", po::value (), "Specify the port number for RPC command.") ("standalone,a", "Run with no peers.") ("shutdowntest", po::value ()->implicit_value (""), "Perform shutdown tests.") ("unittest,u", po::value ()->implicit_value (""), "Perform unit tests.") @@ -421,26 +419,6 @@ int run (int argc, char** argv) if (iResult == 0) { // These overrides must happen after the config file is loaded. - - // Override the RPC destination IP address - // - if (vm.count ("rpc_ip")) - { - // VFALCO TODO This is currently broken - //getConfig ().setRpcIpAndOptionalPort (vm ["rpc_ip"].as ()); - //getConfig().overwrite("rpc", jss::ip, vm["rpc_ip"].as()); - } - - // Override the RPC destination port number - // - if (vm.count ("rpc_port")) - { - // VFALCO TODO This should be a short. - // VFALCO TODO This is currently broken - //getConfig ().setRpcPort (vm ["rpc_port"].as ()); - //getConfig().overwrite("rpc", jss::port, vm["rpc_port"].as()); - } - if (vm.count ("quorum")) { getConfig ().VALIDATION_QUORUM = vm["quorum"].as ();