Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2e59a8601f
  1. 6
      iguana/iguana_recv.c

6
iguana/iguana_recv.c

@ -417,7 +417,7 @@ int32_t iguana_bundlekick(struct iguana_info *coin,struct iguana_bundle *bp,int3
{ {
if ( (block= bp->blocks[i]) != 0 ) if ( (block= bp->blocks[i]) != 0 )
{ {
if ( block->fpipbits == 0 || block->RO.recvlen == 0 ) if ( block->fpipbits == 0 )//|| block->RO.recvlen == 0 )
{ {
if ( bp->issued[i] == 0 || now > bp->issued[i]+10 ) if ( bp->issued[i] == 0 || now > bp->issued[i]+10 )
{ {
@ -1080,8 +1080,8 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr)
flag++; flag++;
} else printf("skip hdrreq.%s m.%d z.%d bp.%p longest.%d queued.%d\n",hashstr,m,z,bp,bp->coin->longestchain,bp->queued); } else printf("skip hdrreq.%s m.%d z.%d bp.%p longest.%d queued.%d\n",hashstr,m,z,bp,bp->coin->longestchain,bp->queued);
} }
//free_queueitem(hashstr); free_queueitem(hashstr);
//return(flag); return(flag);
} else printf("datalen.%d from gethdrs\n",datalen); } else printf("datalen.%d from gethdrs\n",datalen);
free_queueitem(hashstr); free_queueitem(hashstr);
hashstr = 0; hashstr = 0;

Loading…
Cancel
Save