|
@ -65,7 +65,7 @@ int32_t USE_JAY,FIRST_EXTERNAL,IGUANA_disableNXT,Debuglevel,BIGENDIAN; |
|
|
uint32_t prices777_NXTBLOCK,MAX_DEPTH = 100; |
|
|
uint32_t prices777_NXTBLOCK,MAX_DEPTH = 100; |
|
|
queue_t helperQ,jsonQ,finishedQ,bundlesQ,emitQ; |
|
|
queue_t helperQ,jsonQ,finishedQ,bundlesQ,emitQ; |
|
|
struct supernet_info MYINFO,**MYINFOS; |
|
|
struct supernet_info MYINFO,**MYINFOS; |
|
|
static int32_t initflag; |
|
|
int32_t MAIN_initflag; |
|
|
int32_t HDRnet,netBLOCKS; |
|
|
int32_t HDRnet,netBLOCKS; |
|
|
cJSON *API_json; |
|
|
cJSON *API_json; |
|
|
|
|
|
|
|
@ -1150,7 +1150,7 @@ void iguana_appletests(struct supernet_info *myinfo) |
|
|
exit(-1); |
|
|
exit(-1); |
|
|
} |
|
|
} |
|
|
sleep(1);*/ |
|
|
sleep(1);*/ |
|
|
if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"startpend\":500,\"endpend\":500,\"services\":0,\"maxpeers\":64,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":4,\"poll\":100}"),0,myinfo->rpcport)) != 0 ) |
|
|
if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"startpend\":500,\"endpend\":500,\"services\":129,\"maxpeers\":64,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":4,\"poll\":100}"),0,myinfo->rpcport)) != 0 ) |
|
|
{ |
|
|
{ |
|
|
free(str); |
|
|
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 ) |
|
|
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 ) |
|
|