Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
47caa68e18
  1. 4
      iguana/iguana777.c
  2. 2
      iguana/iguana_ramchain.c
  3. 2
      iguana/main.c

4
iguana/iguana777.c

@ -251,7 +251,7 @@ void iguana_emitQ(struct iguana_info *coin,struct iguana_bundle *bp)
ptr->bp = bp, ptr->hdrsi = bp->hdrsi;
ptr->type = 'E';
ptr->starttime = (uint32_t)time(NULL);
//printf("%s EMIT.%d[%d] emitfinish.%u\n",coin->symbol,ptr->hdrsi,bp->n,bp->emitfinish);
printf("%s EMIT.%d[%d] emitfinish.%u\n",coin->symbol,ptr->hdrsi,bp->n,bp->emitfinish);
queue_enqueue("emitQ",&emitQ,&ptr->DL,0);
}
@ -342,7 +342,7 @@ int32_t iguana_helpertask(FILE *fp,struct OS_memspace *mem,struct OS_memspace *m
{
if ( iguana_bundlesaveHT(coin,mem,memB,bp,ptr->starttime) == 0 )
{
//fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight);
fprintf(stderr,"emitQ coin.%p bp.[%d]\n",ptr->coin,bp->bundleheight);
bp->emitfinish = (uint32_t)time(NULL) + 1;
coin->numemitted++;
} else bp->emitfinish = 0;

2
iguana/iguana_ramchain.c

@ -2443,7 +2443,7 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
}
iguana_ramchain_free(dest,0);
bp->ramchain = newchain;
printf("finished bundlesave.%d\n",bp->bundleheight);
return(retval);
}

2
iguana/main.c

@ -350,7 +350,7 @@ void mainloop(struct supernet_info *myinfo)
}
else
{
printf("third case.%d utxo.%u balance.%u prev.%u\n",bp->hdrsi,bp->utxofinish,bp->balancefinish,prevbp!=0?prevbp->utxofinish:-1);
//printf("third case.%d utxo.%u balance.%u prev.%u\n",bp->hdrsi,bp->utxofinish,bp->balancefinish,prevbp!=0?prevbp->utxofinish:-1);
iguana_balancesQ(coin,bp);
}
//iguana_coinflush(ptr->coin,0);

Loading…
Cancel
Save