Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
87a6678eda
  1. 6
      iguana/iguana_bundles.c

6
iguana/iguana_bundles.c

@ -655,8 +655,8 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf
{
if ( (block= bp->blocks[i]) != 0 && block->txvalid != 0 )
continue;
//if ( GETBIT(bp->haveblock,i) != 0 )
// continue;
if ( GETBIT(bp->haveblock,i) != 0 )
continue;
nonz++;
if ( firsti < 0 )
firsti = i;
@ -679,7 +679,7 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf
req->height = bp->bundleheight + i;
req->bundlei = i;
queue_enqueue("missing",&coin->priorityQ,&req->DL,0);
bp->issued[i] = (uint32_t)time(NULL);
bp->issued[i] = 1;
n++;
} //else printf("[z%d] ",i);
} //else printf("%d ",now - (bp->issued[i]+lag));

Loading…
Cancel
Save