|
|
@ -44,7 +44,7 @@ static int32_t initflag; |
|
|
|
int32_t HDRnet,netBLOCKS; |
|
|
|
cJSON *API_json; |
|
|
|
#ifdef __linux__ |
|
|
|
int32_t IGUANA_NUMHELPERS = 3; |
|
|
|
int32_t IGUANA_NUMHELPERS = 16; |
|
|
|
#else |
|
|
|
int32_t IGUANA_NUMHELPERS = 3; |
|
|
|
#endif |
|
|
@ -1191,7 +1191,7 @@ void iguana_main(void *arg) |
|
|
|
if ( 1 ) |
|
|
|
{ |
|
|
|
sleep(1); |
|
|
|
if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"startpend\":512,\"endpend\":128,\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":512,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":8,\"poll\":1}"),0,myinfo->rpcport)) != 0 ) |
|
|
|
if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"startpend\":64,\"endpend\":64,\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":512,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":8,\"poll\":1}"),0,myinfo->rpcport)) != 0 ) |
|
|
|
{ |
|
|
|
free(str); |
|
|
|
if ( 0 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":1024,\"maxpeers\":256,\"newcoin\":\"BTCD\",\"active\":1}"),0,myinfo->rpcport)) != 0 ) |
|
|
|