Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
fb4563ba8f
  1. 4
      iguana/iguana777.c
  2. 4
      iguana/iguana_realtime.c

4
iguana/iguana777.c

@ -531,7 +531,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
} }
while ( iguana_balancefinished(coin) < max || coin->balanceflush != 0 ) while ( iguana_balancefinished(coin) < max || coin->balanceflush != 0 )
sleep(3); sleep(3);
//printf("helper.%d check validates\n",helperid); printf("helper.%d check validates\n",helperid);
incr = IGUANA_NUMHELPERS; incr = IGUANA_NUMHELPERS;
if ( helperid < incr ) if ( helperid < incr )
{ {
@ -561,7 +561,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
while ( coin->spendvectorsaved <= 1 ) while ( coin->spendvectorsaved <= 1 )
sleep(IGUANA_NUMHELPERS+3); sleep(IGUANA_NUMHELPERS+3);
} }
//printf("helper.%d helperdone\n",helperid); printf("helper.%d helperdone\n",helperid);
return(num); return(num);
} }

4
iguana/iguana_realtime.c

@ -217,7 +217,7 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
} }
if ( coin->spendvectorsaved <= 1 ) if ( coin->spendvectorsaved <= 1 )
{ {
printf("spendvectorsaved not yet\n"); //printf("spendvectorsaved not yet\n");
return(0); return(0);
} }
for (i=0; i<coin->bundlescount-1; i++) for (i=0; i<coin->bundlescount-1; i++)
@ -235,7 +235,7 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
bp = coin->current; bp = coin->current;
if ( bp == 0 || iguana_validated(coin) < bp->hdrsi ) if ( bp == 0 || iguana_validated(coin) < bp->hdrsi )
{ {
printf("bp.%p validated.%d vs hdrsi.%d\n",bp,iguana_validated(coin),bp->hdrsi); //printf("bp.%p validated.%d vs hdrsi.%d\n",bp,iguana_validated(coin),bp->hdrsi);
return(0); return(0);
} }
if ( 1 && coin->RTheight > 0 && coin->spendvectorsaved != 1 && coin->bundlescount-1 != coin->balanceswritten ) if ( 1 && coin->RTheight > 0 && coin->spendvectorsaved != 1 && coin->bundlescount-1 != coin->balanceswritten )

Loading…
Cancel
Save