Browse Source

Test

etomic
jl777 7 years ago
parent
commit
2fc37f4310
  1. 4
      crypto777/nanosrc/nn_config.h
  2. 2
      iguana/exchanges/LP_prices.c

4
crypto777/nanosrc/nn_config.h

@ -58,10 +58,10 @@
performance optimal make sure that this value is larger than network MTU. */
#define NN_USOCK_BATCH_SIZE (2048)
//#define NN_USOCK_BATCH_SIZE (_NN_USOCK_BATCH_SIZE - 5 - 256 - 16) // adjust for veclen/clen + sizeof(ctrl)
#define NN_USE_MYMSG 0
#define NN_USE_MYMSG 1
#if defined __PNACL || defined __APPLE__
#define NN_USE_MYMSG 0
#define NN_USE_MYMSG 1
#endif
#define nn_errstr() nn_strerror(nn_errno())

2
iguana/exchanges/LP_prices.c

@ -685,7 +685,7 @@ void LP_pubkeys_query()
reqjson = cJSON_CreateObject();
jaddstr(reqjson,"method","wantnotify");
jaddbits256(reqjson,"pub",pubp->pubkey);
printf("LP_pubkeys_query %s\n",jprint(reqjson,0));
//printf("LP_pubkeys_query %s\n",jprint(reqjson,0));
LP_reserved_msg("","",zero,jprint(reqjson,1));
}
}

Loading…
Cancel
Save