Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
74dd63de40
  1. 5
      iguana/iguana_bundles.c
  2. 1
      iguana/iguana_recv.c

5
iguana/iguana_bundles.c

@ -499,7 +499,10 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
if ( (addr= coin->peers.ranked[i]) != 0 )
pend += addr->pendblocks;
}
origissue = issue = (_IGUANA_MAXPENDING*coin->peers.numranked - pend);
origissue = (_IGUANA_MAXPENDING*coin->peers.numranked - pend);
if ( origissue < 8 )
origissue = 8;
issue = origissue;
while ( issue > 0 )
{
now = (uint32_t)time(NULL);

1
iguana/iguana_recv.c

@ -435,6 +435,7 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct
for (i=coin->chain->bundlesize*0; i<num; i++)
{
//if ( i >= coin->chain->bundlesize && (i % coin->chain->bundlesize) < 2 )
if ( bits256_nonz(blockhashes[i]) > 0 )
iguana_blockQ(coin,0,-1,blockhashes[i],0);
}
}

Loading…
Cancel
Save