|
|
@ -1107,12 +1107,11 @@ void iguana_main(void *arg) |
|
|
|
#ifdef __APPLE__ |
|
|
|
sleep(1); |
|
|
|
char *str; |
|
|
|
strcpy(MYINFO.rpcsymbol,"BTC"); |
|
|
|
//iguana_launchcoin(MYINFO.rpcsymbol,cJSON_Parse("{}"));
|
|
|
|
if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":3,\"newcoin\":\"BTC\",\"active\":0}"),0)) != 0 ) |
|
|
|
if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":3,\"newcoin\":\"BTC\",\"active\":0}"),0)) != 0 ) |
|
|
|
{ |
|
|
|
free(str); |
|
|
|
if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":3,\"newcoin\":\"BTCD\",\"active\":0}"),0)) != 0 ) |
|
|
|
if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":3,\"newcoin\":\"BTCD\",\"active\":0}"),0)) != 0 ) |
|
|
|
{ |
|
|
|
free(str); |
|
|
|
if ( 0 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"agent\":\"SuperNET\",\"method\":\"login\",\"handle\":\"alice\",\"password\":\"alice\",\"passphrase\":\"alice\"}"),0)) != 0 ) |
|
|
@ -1122,6 +1121,7 @@ void iguana_main(void *arg) |
|
|
|
free(str); |
|
|
|
} |
|
|
|
} |
|
|
|
strcpy(MYINFO.rpcsymbol,"BTC"); |
|
|
|
printf("BTC active.%d BTCD active.%d\n",iguana_coinfind("BTC")->active,iguana_coinfind("BTCD")->active); |
|
|
|
iguana_coinfind("BTC")->active = iguana_coinfind("BTCD")->active = 0; |
|
|
|
} |
|
|
|