jl777
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
iguana/exchanges/LP_include.h
-
iguana/exchanges/LP_nativeDEX.c
|
|
@ -21,6 +21,10 @@ |
|
|
|
#ifndef LP_INCLUDE_H |
|
|
|
#define LP_INCLUDE_H |
|
|
|
|
|
|
|
#define LP_MAJOR_VERSION "0" |
|
|
|
#define LP_MINOR_VERSION "1" |
|
|
|
#define LP_BUILD_NUMBER "11843" |
|
|
|
|
|
|
|
#ifdef FROM_JS |
|
|
|
#include <emscripten.h> |
|
|
|
#define sleep(x) emscripten_usleep((x) * 1000000) |
|
|
|
|
|
@ -854,6 +854,7 @@ int32_t LP_reserved_msg(int32_t priority,char *base,char *rel,bits256 pubkey,cha |
|
|
|
void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybusport,char *passphrase,int32_t amclient,char *userhome,cJSON *argjson) |
|
|
|
{ |
|
|
|
char *myipaddr=0; long filesize,n; int32_t valid,timeout,pubsock=-1; struct LP_peerinfo *mypeer=0; char pushaddr[128],subaddr[128],bindaddr[128],*coins_str=0; cJSON *coinsjson=0; void *ctx = bitcoin_ctx(); |
|
|
|
printf("Marketmaker %s.%s %s\n",LP_MAJOR_VERSION,LP_MINOR_VERSION,LP_BUILD_NUMBER); |
|
|
|
LP_showwif = juint(argjson,"wif"); |
|
|
|
if ( passphrase == 0 || passphrase[0] == 0 ) |
|
|
|
{ |
|
|
|