|
@ -465,6 +465,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
j = (i + r) % numpeers; |
|
|
j = (i + r) % numpeers; |
|
|
if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 ) |
|
|
if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 ) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if ( bp == coin->current ) |
|
|
printf("send [%d:%d] to addr[%d]\n",bp->hdrsi,oldest->bundlei,j); |
|
|
printf("send [%d:%d] to addr[%d]\n",bp->hdrsi,oldest->bundlei,j); |
|
|
oldest->issued = (uint32_t)time(NULL); |
|
|
oldest->issued = (uint32_t)time(NULL); |
|
|
oldest->peerid = j + 1; |
|
|
oldest->peerid = j + 1; |
|
|