Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
faa90c1c98
  1. 2
      iguana/iguana_msg.c
  2. 1
      iguana/m_osx
  3. 4
      iguana/m_unix

2
iguana/iguana_msg.c

@ -600,7 +600,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc
struct iguana_txblock txdata;
if ( addr != 0 )
addr->msgcounts.block++;
iguana_memreset(rawmem), iguana_memreset(txmem);//, iguana_memreset(hashmem);
iguana_memreset(rawmem), iguana_memreset(txmem);
memset(&txdata,0,sizeof(txdata));
if ( (len= iguana_gentxarray(coin,rawmem,&txdata,&len,data,recvlen)) == recvlen )
iguana_gotblockM(coin,addr,&txdata,rawmem->ptr,H,data,recvlen);

1
iguana/m_osx

@ -1,3 +1,4 @@
git pull
gcc -Wno-deprecated -c -O2 *.c
gcc -Wno-deprecated -c main.c iguana777.c iguana_bundles.c
gcc -Wno-deprecated -o ../agents/iguana *.o ../agents/libcrypto777.a ../osx/libcurl.a ../osx/libssl.a ../osx/libcrypto.a ../osx/libsecp256k1.a ../osx/libgmp.a -lpthread -lm

4
iguana/m_unix

@ -1,2 +1,4 @@
git pull
gcc -g -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lm ../includes/libsecp256k1.a -lgmp
gcc -Wno-deprecated -c -O2 *.c
gcc -Wno-deprecated -c main.c iguana777.c iguana_bundles.c
gcc -o ../agents/iguana *.o ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lm ../includes/libsecp256k1.a -lgmp

Loading…
Cancel
Save