This commit is contained in:
ca333
2017-10-09 15:56:28 +02:00
parent 01ea54be3f
commit 59d405e867
9 changed files with 26 additions and 7 deletions

View File

@@ -643,6 +643,9 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
}
// If datadir is changed in .conf file:
ClearDatadirCache();
extern uint16_t BITCOIND_PORT;
BITCOIND_PORT = GetArg("-rpcport",BaseParams().RPCPort());
//fprintf(stderr,"from conf file %s RPC %u, used to be %u\n",ASSETCHAINS_SYMBOL,BITCOIND_PORT,BITCOIND_PORT);
}
#ifndef WIN32