jl777 8 years ago
parent
commit
7512b5729a
  1. 4
      basilisk/basilisk.c
  2. 2
      basilisk/basilisk.h
  3. 2
      iguana/iguana_unspents.c

4
basilisk/basilisk.c

@ -940,8 +940,8 @@ void basilisks_loop(void *arg)
basilisk_iteration(myinfo); basilisk_iteration(myinfo);
basilisk_p2pQ_process(myinfo,777); basilisk_p2pQ_process(myinfo,777);
if ( myinfo->NOTARY.RELAYID >= 0 ) if ( myinfo->NOTARY.RELAYID >= 0 )
endmilli = startmilli + 500; endmilli = startmilli + 250;
else endmilli = startmilli + 2000; else endmilli = startmilli + 1000;
while ( OS_milliseconds() < endmilli ) while ( OS_milliseconds() < endmilli )
usleep(10000); usleep(10000);
iter++; iter++;

2
basilisk/basilisk.h

@ -16,7 +16,7 @@
#ifndef H_BASILISK_H #ifndef H_BASILISK_H
#define H_BASILISK_H #define H_BASILISK_H
#define BASILISK_DISABLESENDTX //#define BASILISK_DISABLESENDTX
#define BASILISK_DISABLEWAITTX #define BASILISK_DISABLEWAITTX
#include "../iguana/iguana777.h" #include "../iguana/iguana777.h"

2
iguana/iguana_unspents.c

@ -839,7 +839,7 @@ int32_t iguana_staker_sort(struct iguana_info *coin,bits256 *hash2p,uint8_t *ref
int32_t iguana_markedunspents_find(struct iguana_info *coin,int32_t *firstslotp,bits256 txid,int32_t vout) int32_t iguana_markedunspents_find(struct iguana_info *coin,int32_t *firstslotp,bits256 txid,int32_t vout)
{ {
int32_t i; char str[65]; int32_t i; //char str[65];
*firstslotp = -1; *firstslotp = -1;
if ( bits256_nonz(txid) != 0 && vout >= 0 ) if ( bits256_nonz(txid) != 0 && vout >= 0 )
{ {

Loading…
Cancel
Save