|
|
@ -487,7 +487,6 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
bp->notaries[myind].ratifysrcvout = ep->src.prev_vout; |
|
|
|
bp->notaries[myind].ratifydestutxo = ep->dest.prev_hash; |
|
|
|
bp->notaries[myind].ratifydestvout = ep->dest.prev_vout; |
|
|
|
printf("Use srcutxo.(%s) vout.(%d) destutxo.(%s) vout.(%d)\n",bits256_str(str,ep->src.prev_hash),ep->src.prev_vout,bits256_str(str2,ep->dest.prev_hash),ep->dest.prev_vout); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@ -502,6 +501,7 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
bp->desttxid = bp->notaries[myind].src.prev_hash; |
|
|
|
dpow_signedtxgen(myinfo,dp,src,bp,bp->myind,1LL<<bp->myind,bp->myind,DPOW_SIGCHANNEL,0,0); |
|
|
|
}*/ |
|
|
|
printf("Use srcutxo.(%s) vout.(%d) destutxo.(%s) vout.(%d)\n",bits256_str(str,bp->notaries[myind].ratifysrcutxo),bp->notaries[myind].ratifysrcvout,bits256_str(str2,ep->bp->notaries[myind].ratifydestutxo),bp->notaries[myind].ratifydestvout); |
|
|
|
bp->recvmask |= (1LL << myind); |
|
|
|
bp->notaries[myind].othermask |= (1LL << myind); |
|
|
|
dp->checkpoint = checkpoint; |
|
|
@ -595,6 +595,7 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
printf("[%d] 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",Numallocated,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); |
|
|
|
dp->lastrecvmask = bp->recvmask; |
|
|
|
dp->ratifying -= bp->isratify; |
|
|
|
// call unlock unspent here
|
|
|
|
// dp->blocks[bp->height] = 0;
|
|
|
|
bp->state = 0xffffffff; |
|
|
|
free(ptr); |
|
|
|