From 0ab4be2edefbdcd676db1c9434b259aff69acb94 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 15 Feb 2016 23:47:56 -0300 Subject: [PATCH] test --- iguana/exchanges/bitcoin.c | 2 +- iguana/iguana_bundles.c | 2 +- iguana/m_BTC | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/bitcoin.c b/iguana/exchanges/bitcoin.c index 0135ac1e6..093015caa 100755 --- a/iguana/exchanges/bitcoin.c +++ b/iguana/exchanges/bitcoin.c @@ -681,7 +681,7 @@ int32_t _iguana_calcrmd160(struct iguana_info *coin,struct vin_info *vp) { static FILE *fp; init_hexbytes_noT(hexstr,vp->spendscript,vp->spendlen); - char str[65]; printf("unparsed script.(%s).%d in %s len.%d\n",hexstr,vp->spendlen,bits256_str(str,vp->vin.prev_hash),vp->spendlen); + //char str[65]; printf("unparsed script.(%s).%d in %s len.%d\n",hexstr,vp->spendlen,bits256_str(str,vp->vin.prev_hash),vp->spendlen); if ( 1 && fp == 0 ) fp = fopen("unparsed.txt","w"); if ( fp != 0 ) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 4a316b754..736660890 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -437,7 +437,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str) difft.millis = ((double)tmp / 1000000.); sprintf(str,"N[%d] Q.%d h.%d r.%d c.%d:%d:%d s.%d d.%d E.%d:%d M.%d L.%d est.%d %s %d:%02d:%02d %03.3f peers.%d/%d Q.(%d %d)",coin->bundlescount,coin->numbundlesQ,numhashes,coin->blocksrecv,coin->numcached,numcached,coin->cachefreed,numsaved,done,numemit,coin->numreqsent,coin->blocks.hwmchain.height,coin->longestchain,coin->MAXBUNDLES,mbstr(str2,estsize),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,difft.millis,p,coin->MAXPEERS,queue_size(&coin->priorityQ),queue_size(&coin->blocksQ)); //sprintf(str+strlen(str),"%s.%-2d %s time %.2f files.%d Q.%d %d\n",coin->symbol,flag,str,(double)(time(NULL)-coin->starttime)/60.,coin->peers.numfiles,queue_size(&coin->priorityQ),queue_size(&coin->blocksQ)); - if ( time(NULL) > lastdisp+1000 ) + //if ( time(NULL) > lastdisp+1000 ) { printf("%s\n",str); myallocated(0,0); diff --git a/iguana/m_BTC b/iguana/m_BTC index cb3bb1872..05dacc10a 100755 --- a/iguana/m_BTC +++ b/iguana/m_BTC @@ -1 +1 @@ -../agents/iguana "{\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"active\":1,\"maxpeers\":128,\"services\":0,\"poll\":1}" +../agents/iguana "{\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"active\":1,\"maxpeers\":128,\"services\":0,\"poll\":1,\"RAM\":16}"