Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
da85d9da20
  1. 6
      iguana/iguana_bundles.c
  2. 17
      iguana/main.c

6
iguana/iguana_bundles.c

@ -533,7 +533,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
} }
for (i=0; i<bp->n; i++) for (i=0; i<bp->n; i++)
{ {
if ( (block= bp->blocks[i]) != 0 && block->fpipbits == 0 ) if ( (block= bp->blocks[i]) != 0 && (bits256_nonz(block->RO.prev_block) == 0 || block->RO.recvlen == 0 || block->fpipbits == 0 || block->fpos < 0) )
{ {
if ( now > block->issued+lag ) if ( now > block->issued+lag )
{ {
@ -561,8 +561,8 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
if ( flag != 0 && priority != 0 && laggard != 0 && coin->current == bp ) if ( flag != 0 && priority != 0 && laggard != 0 && coin->current == bp )
printf("[%d] reissued.%d currentflag.%d ht.%d s.%d finished.%d most.%d laggards.%d maxunfinished.%d\n",bp->hdrsi,flag,bp->currentflag,bp->bundleheight,bp->numsaved,finished,doneval,laggard,maxval); printf("[%d] reissued.%d currentflag.%d ht.%d s.%d finished.%d most.%d laggards.%d maxunfinished.%d\n",bp->hdrsi,flag,bp->currentflag,bp->bundleheight,bp->numsaved,finished,doneval,laggard,maxval);
} }
//if ( bp == coin->current ) if ( bp == coin->current )
// return(counter); return(counter);
} }
for (i=0; i<bp->n; i++) for (i=0; i<bp->n; i++)
{ {

17
iguana/main.c

@ -1187,3 +1187,20 @@ void iguana_main(void *arg)
mainloop(&MYINFO); mainloop(&MYINFO);
} }
/*
getinfo
sendtoaddress
encryptwallet
sendfrom
walletlock
walletpassphrase
validateaddress
walletpassphrasechange
listreceivedbyaddress
listtransactions
not implemented yet but needed by GUI
addmultisigaddress (for generating address)
setaccount (to give labels to address)
*/

Loading…
Cancel
Save