|
@ -507,11 +507,8 @@ int32_t iguana_sendhashes(struct iguana_info *coin,struct iguana_peer *addr,int3 |
|
|
for (i=0; i<n; i++) |
|
|
for (i=0; i<n; i++) |
|
|
{ |
|
|
{ |
|
|
if ( priority == 1 ) |
|
|
if ( priority == 1 ) |
|
|
{ |
|
|
iguana_sendblockreqPT(coin,addr,0,-1,hashes[i],0); |
|
|
if ( (rand() & 1) == 0 ) |
|
|
else iguana_blockQ("sendhash",coin,0,-1,hashes[i],1); |
|
|
iguana_sendblockreqPT(coin,addr,0,-1,hashes[i],0); |
|
|
|
|
|
else iguana_blockQ("test",coin,0,-1,hashes[i],1); |
|
|
|
|
|
} else iguana_blockQ("test",coin,0,-1,hashes[i],priority); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return(n); |
|
|
return(n); |
|
|