Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b9031ff41a
  1. 2
      iguana/iguana_recv.c
  2. 1
      iguana/iguana_unspents.c

2
iguana/iguana_recv.c

@ -1538,7 +1538,7 @@ int32_t iguana_processrecv(struct iguana_info *coin) // single threaded
flag += iguana_processrecvQ(coin,&newhwm); flag += iguana_processrecvQ(coin,&newhwm);
//printf("reqhdrs\n"); //printf("reqhdrs\n");
flag += iguana_reqhdrs(coin); flag += iguana_reqhdrs(coin);
if ( coin->RTheight != 0 ) if ( coin->spendvectorsaved > 1 )
{ {
if ( time(NULL) > coin->laststats+5 ) if ( time(NULL) > coin->laststats+5 )
{ {

1
iguana/iguana_unspents.c

@ -1846,6 +1846,7 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
coin->spendvectorsaved = 1; coin->spendvectorsaved = 1;
return(0); return(0);
} }
printf("spendvectorsaved.%u\n",coin->spendvectorsaved);
if ( coin->spendvectorsaved <= 1 ) if ( coin->spendvectorsaved <= 1 )
return(0); return(0);
for (i=0; i<coin->bundlescount-1; i++) for (i=0; i<coin->bundlescount-1; i++)

Loading…
Cancel
Save