|
|
@ -1955,11 +1955,10 @@ void komodo_args(char *argv0) |
|
|
|
MAX_MONEY = 10000100000LL*SATOSHIDEN; |
|
|
|
//fprintf(stderr,"MAX_MONEY %llu %.8f\n",(long long)MAX_MONEY,(double)MAX_MONEY/SATOSHIDEN);
|
|
|
|
//printf("baseid.%d MAX_MONEY.%s %.8f\n",baseid,ASSETCHAINS_SYMBOL,(double)MAX_MONEY/SATOSHIDEN);
|
|
|
|
port = komodo_port(ASSETCHAINS_SYMBOL,ASSETCHAINS_SUPPLY,&ASSETCHAINS_MAGIC,extraptr,extralen); |
|
|
|
if ( GetArgs("-port",0) == 0 ) |
|
|
|
ASSETCHAINS_P2PPORT = GetArgs("-port",0); |
|
|
|
else ASSETCHAINS_P2PPORT = port; |
|
|
|
mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT); |
|
|
|
uint16_t tmpport = komodo_port(ASSETCHAINS_SYMBOL,ASSETCHAINS_SUPPLY,&ASSETCHAINS_MAGIC,extraptr,extralen); |
|
|
|
if ( GetArg("-port",0) == 0 ) |
|
|
|
ASSETCHAINS_P2PPORT = GetArg("-port",0); |
|
|
|
else ASSETCHAINS_P2PPORT = tmpport; |
|
|
|
|
|
|
|
while ( (dirname= (char *)GetDataDir(false).string().c_str()) == 0 || dirname[0] == 0 ) |
|
|
|
{ |
|
|
|