Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
63b40ffee5
  1. 3
      iguana/iguana_unspents.c
  2. 6
      iguana/m_unix

3
iguana/iguana_unspents.c

@ -372,7 +372,8 @@ struct iguana_txid *iguana_txidfind(struct iguana_info *coin,int32_t *heightp,st
return(0);
for (i=lasthdrsi; i>=0; i--)
{
if ( (bp= coin->bundles[i]) != 0 && bp->emitfinish > coin->startutc )
printf("search.[%d] %p finish.%u vs %u\n",i,coin->bundles[i],coin->bundles[i]!=0?coin->bundles[i]->emitfinish:-1,coin->startutc);
if ( (bp= coin->bundles[i]) != 0 && bp->emitfinish > 1 )
{
ramchain = (bp->isRT != 0) ? &coin->RTramchain : &bp->ramchain;
if ( ramchain->H.data != 0 )

6
iguana/m_unix

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

Loading…
Cancel
Save