jl777 8 years ago
parent
commit
0f5a91a43a
  1. 2
      iguana/dPoW.h
  2. 6
      iguana/dpow/dpow_fsm.c

2
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

6
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));

Loading…
Cancel
Save