diff --git a/.gitignore b/.gitignore index 5d85732b5..a3c30f016 100755 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,7 @@ iguana/pnacl/Release/iguana_unstripped.bc---linked.pre_opt.pexe *.d iguana/tests/.priv2wif.swp + +agents/libiguana.a + +iguana/iguana_rpc.o-2ed461a0 diff --git a/agents/iguana b/agents/iguana new file mode 100755 index 000000000..9a9c6b208 Binary files /dev/null and b/agents/iguana differ diff --git a/crypto777/OS_portable.h b/crypto777/OS_portable.h index 3424cd742..6e51a5b9f 100755 --- a/crypto777/OS_portable.h +++ b/crypto777/OS_portable.h @@ -66,8 +66,8 @@ //#define fopen myfopen //#define fclose myfclose -FILE *myfopen(char *fname,char *mode); -int32_t myfclose(FILE *fp); +//FILE *myfopen(char *fname,char *mode); +//int32_t myfclose(FILE *fp); struct huffstream { uint8_t *ptr,*buf; uint32_t bitoffset,maski,endpos; uint32_t allocsize:31,allocated:1; }; typedef struct huffstream HUFF; diff --git a/crypto777/bitcoind_RPC.c b/crypto777/bitcoind_RPC.c index 93d3856e2..13be14f60 100755 --- a/crypto777/bitcoind_RPC.c +++ b/crypto777/bitcoind_RPC.c @@ -15,6 +15,7 @@ #include "OS_portable.h" +#define USE_CURL #ifdef USE_CURL #ifdef _WIN32 #include diff --git a/iguana/main.c b/iguana/main.c index 5affad80b..b1852725b 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -26,7 +26,7 @@ #include "secp256k1/include/secp256k1.h" //#include "../../secp256k1-zkp/include/secp256k1.h" -#undef fopen +/*#undef fopen #undef fclose int32_t Fopen_count,Fclose_count; @@ -47,7 +47,7 @@ int32_t myfclose(FILE *fp) { Fclose_count++; return(fclose(fp)); -} +}*/ // ALL globals must be here! char *Iguana_validcommands[] = diff --git a/m_onetime b/m_onetime index 5b897129b..b41d17856 100755 --- a/m_onetime +++ b/m_onetime @@ -12,6 +12,9 @@ #cd ../SuperNET #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 cd crypto777 ./$1