From 522c2ab050c34556cd8e6d8194fff153931d70ed Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 16 Oct 2016 10:08:56 -0300 Subject: [PATCH] test --- iguana/dPoW.h | 2 +- iguana/dpow/dpow_fsm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dPoW.h b/iguana/dPoW.h index 751e86ac1..1b6c25941 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -26,7 +26,7 @@ #define DPOW_KOMODOCONFIRMS 1 #define DPOW_BTCCONFIRMS 1 #define DPOW_MAXRELAYS 64 -#define DPOW_CHECKPOINTFREQ 5 +#define DPOW_CHECKPOINTFREQ 3 struct dpow_coinentry { diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index fb3dbe52b..c6bdc5715 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/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)); for (i=0; iDPOW.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 ) { sleep(1);