Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
7197d5e3c0
  1. 4
      iguana/iguana_bundles.c

4
iguana/iguana_bundles.c

@ -465,7 +465,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
j = (i + r) % numpeers;
if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 )
{
//printf("send to addr[%d]\n",j);
printf("send [%d:%d] to addr[%d]\n",bp->hdrsi,oldest->bundlei,j);
oldest->issued = (uint32_t)time(NULL);
oldest->peerid = j + 1;
counter++;
@ -488,7 +488,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
if ( (block= bp->blocks[i]) != 0 && block->fpipbits == 0 )
printf("[%d:%d] ",bp->hdrsi,i);
}
printf("currentflag.%d %d\n",bp->currentflag,bp->bundleheight);
printf("currentflag.%d ht.%d s.%d\n",bp->currentflag,bp->bundleheight,bp->numsaved);
}
}
return(counter);

Loading…
Cancel
Save