Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9baf5f71ed
  1. 1
      iguana/confs/BTCD_peers.txt
  2. 2
      iguana/iguana_bundles.c

1
iguana/confs/BTCD_peers.txt

@ -1,3 +1,4 @@
148.251.68.48
5.9.102.210
89.248.160.236
89.248.160.237

2
iguana/iguana_bundles.c

@ -1411,7 +1411,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str,int32_t lag)
if ( logfp == 0 )
logfp = fopen("debug.log","wb");
if ( logfp != 0 )
printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,queue_size(&bundlesQ),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck);
fprintf(logfp,"%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,queue_size(&bundlesQ),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck);
strcpy(coin->lastdispstr,str);
//if ( (rand() % 100) == 0 )
// myallocated(0,0);

Loading…
Cancel
Save