Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cc82fae9c1
  1. 7
      iguana/iguana_bundles.c

7
iguana/iguana_bundles.c

@ -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);

Loading…
Cancel
Save