From 0f5a91a43aa96fbe97fe560f9a32994a84b16c8a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 12 Nov 2016 14:08:32 -0300 Subject: [PATCH] test --- iguana/dPoW.h | 2 +- iguana/dpow/dpow_fsm.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/dPoW.h b/iguana/dPoW.h index 0be53ce3a..2996bedee 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -22,7 +22,7 @@ #define DPOW_MINSIGS 7 #define DPOW_M(bp) ((bp)->minsigs) // (((bp)->numnotaries >> 1) + 1) #define DPOW_MODIND(bp,offset) (((((bp)->height / DPOW_CHECKPOINTFREQ) % (bp)->numnotaries) + (offset)) % (bp)->numnotaries) -#define DPOW_VERSION 0x0701 +#define DPOW_VERSION 0x0702 #define DPOW_UTXOSIZE 10000 #define DPOW_MINOUTPUT 6000 #define DPOW_DURATION 300 diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 12e82c9c9..4414236a7 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -672,9 +672,9 @@ void dpow_statemachinestart(void *ptr) if ( bp->state != 0xffffffff ) { //printf("dp->ht.%d ht.%d DEST.%08x %s\n",dp->checkpoint.blockhash.height,checkpoint.blockhash.height,bp->state,bits256_str(str,srchash)); - if ( bp->isratify == 0 ) - bp->state = dpow_statemachineiterate(myinfo,dp,dest,bp,myind,1); - else + //if ( bp->isratify == 0 ) + // bp->state = dpow_statemachineiterate(myinfo,dp,dest,bp,myind,1); + //else { int32_t len; struct dpow_utxoentry U; uint8_t utxodata[sizeof(U)+2]; memset(&U,0,sizeof(U));