From 2a7ee4b366ed88d8cef34dcc862a8c0320cbd396 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 12 Jun 2016 01:22:53 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 4 ++-- iguana/iguana_exchanges.c | 2 +- iguana/iguana_instantdex.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index e924d3f87..c68759a0a 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -129,7 +129,7 @@ double iguana_metric(struct iguana_peer *addr,uint32_t now,double decay) return(metric); } -int32_t iguana_inv2poll(struct supernet_info *myinfo,struct iguana_info *coin) +/*int32_t iguana_inv2poll(struct supernet_info *myinfo,struct iguana_info *coin) { struct exchange_info *exchange; int32_t i,n=0; struct iguana_peer *addr; char myipaddr[64]; expand_ipbits(myipaddr,myinfo->myaddr.myipbits); @@ -155,7 +155,7 @@ int32_t iguana_inv2poll(struct supernet_info *myinfo,struct iguana_info *coin) } } return(n); -} +}*/ int32_t iguana_peermetrics(struct supernet_info *myinfo,struct iguana_info *coin) { diff --git a/iguana/iguana_exchanges.c b/iguana/iguana_exchanges.c index 451dc8281..1307eb1bd 100755 --- a/iguana/iguana_exchanges.c +++ b/iguana/iguana_exchanges.c @@ -602,7 +602,7 @@ void iguana_statemachineupdate(struct supernet_info *myinfo,struct exchange_info if ( instantdex_recvquotes(coin,req,req->hashes,req->n) != 0 ) myfree(req->hashes,(req->n+1) * sizeof(*req->hashes)), req->hashes = 0; } - iguana_inv2poll(myinfo,coin); + //iguana_inv2poll(myinfo,coin); } void exchanges777_loop(void *ptr) diff --git a/iguana/iguana_instantdex.c b/iguana/iguana_instantdex.c index 9f1037a8a..4a041aab2 100755 --- a/iguana/iguana_instantdex.c +++ b/iguana/iguana_instantdex.c @@ -928,7 +928,7 @@ struct instantdex_accept *instantdex_acceptable(struct supernet_info *myinfo,str return(retap); } -int32_t instantdex_inv2data(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,struct exchange_info *exchange) +/*int32_t instantdex_inv2data(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,struct exchange_info *exchange) { struct instantdex_accept *tmp,*ap; uint32_t now,n=0,len; bits256 encodedhash,hashes[100]; uint8_t serialized[100*36 + 1024]; //printf("instantdex_inv2data exchange.%p (%s)\n",exchange,addr->ipaddr); @@ -965,7 +965,7 @@ int32_t instantdex_inv2data(struct supernet_info *myinfo,struct iguana_info *coi return(iguana_queue_send(addr,0,serialized,"inv2",len)); } return(-1); -} +}*/ struct instantdex_accept *instantdex_quotefind(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,bits256 encodedhash) {