Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
393b763ec8
  1. 7
      basilisk/basilisk_bitcoin.c

7
basilisk/basilisk_bitcoin.c

@ -409,9 +409,9 @@ void *basilisk_bitcoinvalue(struct basilisk_item *Lptr,struct supernet_info *myi
int32_t basilisk_voutvin_validate(struct iguana_info *coin,char *rawtx,uint64_t inputsum,uint64_t amount,uint64_t txfee) int32_t basilisk_voutvin_validate(struct iguana_info *coin,char *rawtx,uint64_t inputsum,uint64_t amount,uint64_t txfee)
{ {
static int counter; //static int counter;
if ( counter++ < 10 ) //if ( counter++ < 10 )
printf("validate.(%s) vout's vin\n",rawtx); // printf("validate.(%s) vout's vin\n",rawtx);
if ( rawtx != 0 ) if ( rawtx != 0 )
{ {
return(0); // convert rawtx, add up outputs, verify totals return(0); // convert rawtx, add up outputs, verify totals
@ -1043,6 +1043,7 @@ void basilisk_unspent_update(struct supernet_info *myinfo,struct iguana_info *co
RTheight = waddr->unspents[i].RTheight; RTheight = waddr->unspents[i].RTheight;
already_spent = waddr->unspents[i].spentheight; already_spent = waddr->unspents[i].spentheight;
bu.relaymask = waddr->unspents[i].relaymask; bu.relaymask = waddr->unspents[i].relaymask;
bu.status = waddr->unspents[i].status;
break; break;
} }
} }

Loading…
Cancel
Save