Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
32cf01695b
  1. 4
      .gitignore
  2. BIN
      agents/iguana
  3. 4
      crypto777/OS_portable.h
  4. 1
      crypto777/bitcoind_RPC.c
  5. 4
      iguana/main.c
  6. 3
      m_onetime

4
.gitignore

@ -24,3 +24,7 @@ iguana/pnacl/Release/iguana_unstripped.bc---linked.pre_opt.pexe
*.d *.d
iguana/tests/.priv2wif.swp iguana/tests/.priv2wif.swp
agents/libiguana.a
iguana/iguana_rpc.o-2ed461a0

BIN
agents/iguana

Binary file not shown.

4
crypto777/OS_portable.h

@ -66,8 +66,8 @@
//#define fopen myfopen //#define fopen myfopen
//#define fclose myfclose //#define fclose myfclose
FILE *myfopen(char *fname,char *mode); //FILE *myfopen(char *fname,char *mode);
int32_t myfclose(FILE *fp); //int32_t myfclose(FILE *fp);
struct huffstream { uint8_t *ptr,*buf; uint32_t bitoffset,maski,endpos; uint32_t allocsize:31,allocated:1; }; struct huffstream { uint8_t *ptr,*buf; uint32_t bitoffset,maski,endpos; uint32_t allocsize:31,allocated:1; };
typedef struct huffstream HUFF; typedef struct huffstream HUFF;

1
crypto777/bitcoind_RPC.c

@ -15,6 +15,7 @@
#include "OS_portable.h" #include "OS_portable.h"
#define USE_CURL
#ifdef USE_CURL #ifdef USE_CURL
#ifdef _WIN32 #ifdef _WIN32
#include <curl.h> #include <curl.h>

4
iguana/main.c

@ -26,7 +26,7 @@
#include "secp256k1/include/secp256k1.h" #include "secp256k1/include/secp256k1.h"
//#include "../../secp256k1-zkp/include/secp256k1.h" //#include "../../secp256k1-zkp/include/secp256k1.h"
#undef fopen /*#undef fopen
#undef fclose #undef fclose
int32_t Fopen_count,Fclose_count; int32_t Fopen_count,Fclose_count;
@ -47,7 +47,7 @@ int32_t myfclose(FILE *fp)
{ {
Fclose_count++; Fclose_count++;
return(fclose(fp)); return(fclose(fp));
} }*/
// ALL globals must be here! // ALL globals must be here!
char *Iguana_validcommands[] = char *Iguana_validcommands[] =

3
m_onetime

@ -12,6 +12,9 @@
#cd ../SuperNET #cd ../SuperNET
#fi #fi
#./configure --disable-shared --without-ssl --with-cyassl --without-zlib --without-ldap --disable-ldap
#./configure --enable-opensslextra --disable-shared --enable-static --enable-fastmath
git pull git pull
cd crypto777 cd crypto777
./$1 ./$1

Loading…
Cancel
Save