Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
abbd5b4f6c
  1. 1
      iguana/iguana777.c
  2. 6
      iguana/iguana_recv.c

1
iguana/iguana777.c

@ -424,6 +424,7 @@ void iguana_coinloop(void *arg)
}
fprintf(stderr,"call stats\n");
iguana_bundlestats(coin,str);
fprintf(stderr,"call process\n");
flag += iguana_processrecv(coin);
}
}

6
iguana/iguana_recv.c

@ -1008,11 +1008,11 @@ int32_t iguana_reqblocks(struct iguana_info *coin)
int32_t iguana_processrecv(struct iguana_info *coin) // single threaded
{
int32_t newhwm = 0,flag = 0;
//printf("process bundlesQ\n");
fprintf(stderr,"process bundlesQ\n");
flag += iguana_processbundlesQ(coin,&newhwm);
//printf("iguana_reqhdrs\n");
fprintf(stderr,"iguana_reqhdrs\n");
flag += iguana_reqhdrs(coin);
//printf("iguana_reqblocks\n");
fprintf(stderr,"iguana_reqblocks\n");
flag += iguana_reqblocks(coin);
return(flag);
}

Loading…
Cancel
Save