jl777 8 years ago
parent
commit
522c2ab050
  1. 2
      iguana/dPoW.h
  2. 2
      iguana/dpow/dpow_fsm.c

2
iguana/dPoW.h

@ -26,7 +26,7 @@
#define DPOW_KOMODOCONFIRMS 1 #define DPOW_KOMODOCONFIRMS 1
#define DPOW_BTCCONFIRMS 1 #define DPOW_BTCCONFIRMS 1
#define DPOW_MAXRELAYS 64 #define DPOW_MAXRELAYS 64
#define DPOW_CHECKPOINTFREQ 5 #define DPOW_CHECKPOINTFREQ 3
struct dpow_coinentry struct dpow_coinentry
{ {

2
iguana/dpow/dpow_fsm.c

@ -404,7 +404,7 @@ void dpow_statemachinestart(void *ptr)
printf("DPOW statemachine checkpoint.%d %s\n",checkpoint.blockhash.height,bits256_str(str,checkpoint.blockhash.hash)); printf("DPOW statemachine checkpoint.%d %s\n",checkpoint.blockhash.height,bits256_str(str,checkpoint.blockhash.hash));
for (i=0; i<sizeof(srchash); i++) for (i=0; i<sizeof(srchash); i++)
srchash.bytes[i] = myinfo->DPOW.minerkey33[i+1]; srchash.bytes[i] = myinfo->DPOW.minerkey33[i+1];
dpow_utxosync(myinfo,bp,bp->recvmask,myind,srchash,DPOW_UTXOBTCCHANNEL); dpow_utxosync(myinfo,bp,0,myind,srchash,DPOW_UTXOBTCCHANNEL);
while ( time(NULL) < starttime+300 && src != 0 && dest != 0 && bp->state != 0xffffffff ) while ( time(NULL) < starttime+300 && src != 0 && dest != 0 && bp->state != 0xffffffff )
{ {
sleep(1); sleep(1);

Loading…
Cancel
Save