diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index e45425413..29e7d0c78 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -533,7 +533,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int } for (i=0; in; 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 ) { @@ -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 ) 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 ) - // return(counter); + if ( bp == coin->current ) + return(counter); } for (i=0; in; i++) { diff --git a/iguana/main.c b/iguana/main.c index dec4e2c5d..3c86d5496 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1187,3 +1187,20 @@ void iguana_main(void *arg) 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) + */