From 5a93e291db944c202cf86fd5d9ab0ca5f45a7c01 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 13 Jan 2016 17:40:19 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 +- iguana/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 371122f81..e5da21245 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -666,7 +666,7 @@ int32_t iguana_blockQ(struct iguana_info *coin,struct iguana_bundle *bp,int32_t req->height = height; req->bundlei = bundlei; char str2[65]; - //if ( 0 && (bundlei % 250) == 0 ) + if ( 0 && (bundlei % 250) == 0 ) printf("%s %d %s %d numranked.%d qsize.%d\n",str,req->height,bits256_str(str2,hash2),coin->blocks.recvblocks,coin->peers.numranked,queue_size(Q)); queue_enqueue(str,Q,&req->DL,0); return(1); diff --git a/iguana/main.c b/iguana/main.c index 0fca33b62..7e43bc05c 100644 --- a/iguana/main.c +++ b/iguana/main.c @@ -318,7 +318,7 @@ void iguana_main(void *arg) #ifdef __APPLE__ sleep(1); char *str; - if ( (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":0,\"maxpeers\":128,\"coin\":\"BTC\",\"active\":1}"),0)) != 0 ) + if ( (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":0,\"maxpeers\":128,\"coin\":\"BTCD\",\"active\":1}"),0)) != 0 ) { printf("got.(%s)\n",str); free(str);