Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cb1df7e820
  1. 6
      iguana/iguana_blocks.c
  2. 2
      iguana/iguana_unspents.c

6
iguana/iguana_blocks.c

@ -58,7 +58,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
while ( depth != 0 )
{
sleep(1);
//printf(">>>>>>>>>> OK only if rare %s blockhashset.%d depth.%d\n",debugstr,height,depth);
printf(">>>>>>>>>> OK only if rare %s blockhashset.%d depth.%d\n",debugstr,height,depth);
//fprintf(stderr,">>>>>>>>>> OK only if rare %s blockhashset.%d depth.%d\n",debugstr,height,depth);
//printf("%d\n",1/(1 - depth/depth));
}
@ -70,7 +70,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
while ( depth != 0 )
{
sleep(1);
//printf(">>>>>>>>>> OK only if rare%s match blockhashset.%d depth.%d\n",debugstr,height,depth);
printf(">>>>>>>>>> OK only if rare %s match blockhashset.%d depth.%d\n",debugstr,height,depth);
//fprintf(stderr,">>>>>>>>>> OK only if rare%s match blockhashset.%d depth.%d\n",debugstr,height,depth);
//printf("%d\n",1/(1 - depth/depth));
}
@ -106,7 +106,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
while ( depth != 0 )
{
sleep(1);
//printf(">>>>>>>>>> OK only if rare%s create blockhashset.%d depth.%d\n",debugstr,height,depth);
printf(">>>>>>>>>> OK only if rare %s create blockhashset.%d depth.%d\n",debugstr,height,depth);
//fprintf(stderr,">>>>>>>>>> OK only if rare%s create blockhashset.%d depth.%d\n",debugstr,height,depth);
//printf("%d\n",1/(1 - depth/depth));
}

2
iguana/iguana_unspents.c

@ -842,7 +842,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st
bp->numtmpspends = ramchain->numXspends;
bp->utxofinish = (uint32_t)time(NULL);
bp->balancefinish = 0;
printf("iguana_spendvectors: already have Xspendinds[%d]\n",ramchain->numXspends);
printf("iguana_spendvectors.[%d]: already have Xspendinds[%d]\n",bp->hdrsi,ramchain->numXspends);
return(ramchain->numXspends);
}
ptr = mycalloc('x',sizeof(*ptr),n);

Loading…
Cancel
Save