Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
a6e6f137d6
  1. 3
      iguana/iguana777.c

3
iguana/iguana777.c

@ -147,8 +147,7 @@ int32_t iguana_peermetrics(struct iguana_info *coin)
addr = &coin->peers.active[i];
if ( addr->usock < 0 || addr->dead != 0 || addr->ready == 0 )
continue;
if ( addr->pendblocks > 0)
addr->pendblocks--;
addr->pendblocks = 0;
if ( addr->recvblocks > coin->peers.mostreceived )
coin->peers.mostreceived = addr->recvblocks;
//printf("[%.0f %.0f] ",addr->recvblocks,addr->recvtotal);

Loading…
Cancel
Save