Browse Source

Suppress mpnet on request

pass-iguana-arg
jl777 7 years ago
parent
commit
3933a4dc1d
  1. 7
      iguana/exchanges/LP_mpnet.c
  2. 2
      iguana/exchanges/LP_signatures.c

7
iguana/exchanges/LP_mpnet.c

@ -96,13 +96,18 @@ void LP_mpnet_send(int32_t localcopy,char *msg,int32_t sendflag,char *otheraddr)
free_json(argjson);
if ( retstr != 0 )
{
printf("mpnet.%s\n",retstr);
//printf("mpnet.%s\n",retstr);
free(retstr);
}
}
}
}
// 2151978
// 404bc4ac452db07ed16376b3d7e77dbfc22b4a68f7243797125bd0d3bdddf8d1
// 893b46634456034a6d5d73b67026aa157b5e2addbfc6344dfbea6bae85f7dde0
// 717c7ef9de8504bd331f3ef52ed0a16ea0e070434e12cb4d63f5f081e999c43d dup
cJSON *LP_mpnet_get()
{
return(0);

2
iguana/exchanges/LP_signatures.c

@ -741,7 +741,7 @@ void LP_query(void *ctx,char *myipaddr,int32_t mypubsock,char *method,struct LP_
LP_reserved_msg(1,qp->srccoin,qp->destcoin,qp->srchash,clonestr(msg));
}
}
if ( qp->mpnet != 0 && qp->gtc != 0 && qp->fill != 0 )
if ( strcmp(method,"connect") == 0 && qp->mpnet != 0 && qp->gtc != 0 && qp->fill != 0 )
LP_mpnet_send(0,msg,1,0);
free(msg);
}

Loading…
Cancel
Save