Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
9493bb6e86
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_bundles.c
  3. 2
      iguana/iguana_realtime.c

2
iguana/iguana777.c

@ -504,7 +504,7 @@ int32_t iguana_utxogen(struct supernet_info *myinfo,struct iguana_info *coin,int
} }
while ( (n= iguana_utxofinished(coin)) < max ) while ( (n= iguana_utxofinished(coin)) < max )
{ {
printf("helperid.%d utxofinished.%d vs %d\n",helperid,n,max); printf("helperid.%d %s utxofinished.%d vs %d\n",helperid,coin->symbol,n,max);
sleep(IGUANA_NUMHELPERS+3); sleep(IGUANA_NUMHELPERS+3);
} }
/*if ( helperid < incr ) /*if ( helperid < incr )

2
iguana/iguana_bundles.c

@ -1507,7 +1507,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch
if ( GETBIT(bp->haveblock,i) == 0 ) if ( GETBIT(bp->haveblock,i) == 0 )
bp->issued[i] = 0; bp->issued[i] = 0;
if ( (n= iguana_bundleissuemissing(myinfo,coin,bp,3,1.)) > 0 ) if ( (n= iguana_bundleissuemissing(myinfo,coin,bp,3,1.)) > 0 )
printf("issued %d priority requests [%d] to unstick stuckiters.%d lag.%d\n",n,bp->hdrsi,coin->stuckiters,lag); printf("%s issued %d priority requests [%d] to unstick stuckiters.%d lag.%d\n",coin->symbol,n,bp->hdrsi,coin->stuckiters,lag);
//else printf("no bundlerequests issued\n"); //else printf("no bundlerequests issued\n");
} }
} //else printf("stuck metric.%d\n",smetric); } //else printf("stuck metric.%d\n",smetric);

2
iguana/iguana_realtime.c

@ -371,7 +371,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
if ( GETBIT(bp->haveblock,i) == 0 ) if ( GETBIT(bp->haveblock,i) == 0 )
bp->issued[i] = 0; bp->issued[i] = 0;
if ( (n= iguana_bundleissuemissing(coin,bp,3,1.)) > 0 ) if ( (n= iguana_bundleissuemissing(coin,bp,3,1.)) > 0 )
printf("RT issued %d priority requests [%d] to unstick stuckiters.%d\n",n,bp->hdrsi,coin->stuckiters); printf("RT %s issued %d priority requests [%d] to unstick stuckiters.%d\n",coin->symbol,n,bp->hdrsi,coin->stuckiters);
for (i=bundlei; i<bp->n; i++) for (i=bundlei; i<bp->n; i++)
{ {
block = iguana_bundleblock(coin,&hash2,bp,i); block = iguana_bundleblock(coin,&hash2,bp,i);

Loading…
Cancel
Save