split out asset chain p2p port from roc port

This commit is contained in:
jl777
2018-04-22 17:10:35 +03:00
parent 67899f2e2c
commit 05c2ba6371
9 changed files with 33 additions and 28 deletions

View File

@@ -202,7 +202,7 @@ UniValue CallRPC(const string& strMethod, const UniValue& params)
{
std::string host = GetArg("-rpcconnect", "127.0.0.1");
int port = GetArg("-rpcport", BaseParams().RPCPort());
BITCOIND_PORT = port;
BITCOIND_RPCPORT = port;
// Obtain event base
raii_event_base base = obtain_event_base();