|
|
@ -918,15 +918,15 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
if ( deststate != 0xffffffff ) |
|
|
|
{ |
|
|
|
printf("DEST.%08x %s\n",deststate,bits256_str(str,srchash.hash)); |
|
|
|
deststate = 0xffffffff;//dpow_statemachineiterate(myinfo,dp,dest,deststate,srchash.hash,srchash.height,zero,notaries,n,myind,&recvmask,&signedtxid,signedtx,timestamp);
|
|
|
|
deststate = dpow_statemachineiterate(myinfo,dp,dest,deststate,srchash.hash,srchash.height,zero,notaries,n,myind,&recvmask,&signedtxid,signedtx,timestamp); |
|
|
|
} else printf("deststate.%08x\n",deststate); |
|
|
|
if ( deststate == 0xffffffff ) |
|
|
|
{ |
|
|
|
if ( srcstate != 0xffffffff ) |
|
|
|
{ |
|
|
|
for (i=0; i<32; i++) |
|
|
|
signedtxid.bytes[i] = i; |
|
|
|
printf("SRC.%08x\n",srcstate); |
|
|
|
//for (i=0; i<32; i++)
|
|
|
|
// signedtxid.bytes[i] = i;
|
|
|
|
printf("SRC.%08x %s\n",srcstate,bits256_str(str,signedtxid)); |
|
|
|
srcstate = dpow_statemachineiterate(myinfo,dp,src,srcstate,srchash.hash,srchash.height,signedtxid,notaries,n,myind,&recvmask,&signedtxid2,signedtx2,timestamp); |
|
|
|
} |
|
|
|
} |
|
|
|