From 51751f15a9576d9a714a1414eec6da4ffabadde4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 16 Oct 2016 17:38:38 -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 fa26ca7ab..d4cc50a19 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -16,6 +16,7 @@ #ifndef INCLUDE_DPOW_H #define INCLUDE_DPOW_H +#define DPOW_CHECKPOINTFREQ 5 #define DPOW_M(bp) (2) // (((bp)->numnotaries >> 1) + 1) #define DPOW_VERSION 0x0204 #define DPOW_UTXOSIZE 10000 @@ -33,7 +34,6 @@ #define DPOW_KOMODOCONFIRMS 1 #define DPOW_BTCCONFIRMS 1 #define DPOW_MAXRELAYS 64 -#define DPOW_CHECKPOINTFREQ 3 struct dpow_coinentry { diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 9f830356f..9f90470e9 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -324,7 +324,7 @@ uint32_t dpow_statemachineiterate(struct supernet_info *myinfo,struct dpow_info for (j=0; jDPOW.minerkey33[j+1]; bp->bestk = dpow_bestk(bp,&bp->bestmask); - if ( bp->state < 3 ) + if ( bp->state < 7 ) { dpow_utxosync(myinfo,bp,0,myind,srchash); bp->state++;