mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add rpc_ip and rpc_port command line overrides
This commit is contained in:
@@ -878,12 +878,13 @@ int commandLineRPC (const std::vector<std::string>& vCmd)
|
||||
|
||||
callRPC (
|
||||
isService,
|
||||
theConfig.RPC_IP, theConfig.RPC_PORT,
|
||||
theConfig.RPC_USER, theConfig.RPC_PASSWORD,
|
||||
theConfig.getRpcIP (),
|
||||
theConfig.getRpcPort (),
|
||||
theConfig.RPC_USER,
|
||||
theConfig.RPC_PASSWORD,
|
||||
"",
|
||||
jvRequest.isMember ("method") // Allow parser to rewrite method.
|
||||
? jvRequest["method"].asString ()
|
||||
: vCmd[0],
|
||||
? jvRequest["method"].asString () : vCmd[0],
|
||||
jvParams, // Parsed, execute.
|
||||
false,
|
||||
BIND_TYPE (callRPCHandler, &jvOutput, P_1));
|
||||
|
||||
Reference in New Issue
Block a user