Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b2ebcdadae
  1. 2
      iguana/iguana_blocks.c
  2. 2
      iguana/m_LP
  3. 2
      iguana/m_unix

2
iguana/iguana_blocks.c

@ -191,6 +191,8 @@ int32_t iguana_blockvalidate(struct iguana_info *coin,int32_t *validp,struct igu
*validp = 0;
iguana_serialize_block(coin->chain,&hash2,serialized,block);
*validp = (memcmp(hash2.bytes,block->RO.hash2.bytes,sizeof(hash2)) == 0);
if ( coin->MAXPEERS == 1 )
*validp = 1;
block->valid = *validp;
char str[65]; char str2[65];
if ( *validp == 0 )

2
iguana/m_LP

@ -2,7 +2,7 @@
rm ../agents/iguana *.o
git pull
cd secp256k1; ./m_unix; cd ..
gcc -g -Wno-deprecated -c -O2 *.c #databases/iguana_DB.c
gcc -g -Wno-deprecated -c -O2 *.c ../basilisk/basilisk.c #databases/iguana_DB.c
gcc -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c
#gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lcrypto -lpthread -lm #../includes/libsecp256k1.a -lgmp
gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lz -lm

2
iguana/m_unix

@ -2,7 +2,7 @@
rm ../agents/iguana *.o
git pull
cd secp256k1; ./m_unix; cd ..
gcc -g -Wno-deprecated -c -O2 *.c #databases/iguana_DB.c
gcc -g -Wno-deprecated -c -O2 *.c ../basilisk/basilisk.c #databases/iguana_DB.c
gcc -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c
#gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lcrypto -lpthread -lm #../includes/libsecp256k1.a -lgmp
gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lpthread -lm

Loading…
Cancel
Save