jl777 7 years ago
parent
commit
9d9bb06571
  1. 2
      crypto777/OS_portable.h
  2. 5
      iguana/exchanges/mm.c
  3. 2
      includes/cJSON.h

2
crypto777/OS_portable.h

@ -115,7 +115,7 @@ int32_t hseek(HUFF *hp,int32_t offset,int32_t mode);
#define GENESIS_SECRET "It was a bright cold day in April, and the clocks were striking thirteen."
#define SATOSHIDEN ((uint64_t)100000000L)
#define dstr(x) ((double)((x)) / SATOSHIDEN)
#define dstr(x) ((double)(x) / SATOSHIDEN)
#define SMALLVAL 0.000000000000001

5
iguana/exchanges/mm.c

@ -115,6 +115,11 @@ int main(int argc, const char * argv[])
{
char dirname[512],*passphrase; double incr; cJSON *retjson;
OS_init();
{
cJSON *test = cJSON_CreateObject();
jaddnum(test,"test",-5);
printf("test (%s)\n",jprint(test,0));
}
if ( strstr(argv[0],"btc2kmd") != 0 && argv[1] != 0 )
{
uint8_t addrtype,rmd160[20],rmd160b[20]; char coinaddr[64],coinaddr2[64];

2
includes/cJSON.h

@ -31,7 +31,7 @@
#include "../crypto777/OS_portable.h"
#define SATOSHIDEN ((uint64_t)100000000L)
#define dstr(x) ((double)((x)) / SATOSHIDEN)
#define dstr(x) ((double)(x) / SATOSHIDEN)
#define MAX_JSON_FIELD 4096 // on the big side
#ifdef __cplusplus

Loading…
Cancel
Save