Browse Source

test

etomic
jl777 8 years ago
parent
commit
2b1e7e2569
  1. 2
      iguana/dpow/dpow_fsm.c
  2. 2
      iguana/dpow/dpow_tx.c

2
iguana/dpow/dpow_fsm.c

@ -448,8 +448,10 @@ void dpow_statemachinestart(void *ptr)
}
}
printf("END isratify.%d:%d bestk.%d %llx sigs.%llx state.%x machine ht.%d completed state.%x %s.%s %s.%s recvmask.%llx paxwdcrc.%x %p %p\n",bp->isratify,dp->ratifying,bp->bestk,(long long)bp->bestmask,(long long)(bp->bestk>=0?bp->destsigsmasks[bp->bestk]:0),bp->state,bp->height,bp->state,dp->dest,bits256_str(str,bp->desttxid),dp->symbol,bits256_str(str2,bp->srctxid),(long long)bp->recvmask,bp->paxwdcrc,src,dest);
bp->state = 0xffffffff;
dp->lastrecvmask = bp->recvmask;
dp->ratifying -= bp->isratify;
dp->blocks[bp->height] = 0;
free(ptr);
}

2
iguana/dpow/dpow_tx.c

@ -185,6 +185,8 @@ struct dpow_block *dpow_heightfind(struct supernet_info *myinfo,struct dpow_info
return(bp);
}
}
if ( bp != 0 && bp->state == 0xffffffff )
bp = 0;
return(bp);
}

Loading…
Cancel
Save