|
|
@ -158,7 +158,7 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
{ |
|
|
|
void **ptrs = ptr; |
|
|
|
struct supernet_info *myinfo; struct dpow_info *dp; struct dpow_checkpoint checkpoint; |
|
|
|
int32_t i,ht,destprevvout0,srcprevvout0,numratified=0,kmdheight,myind = -1; uint8_t pubkeys[64][33]; cJSON *ratified=0,*item; struct iguana_info *src,*dest; char *jsonstr,*handle,*hexstr,str[65],str2[65],srcaddr[64],destaddr[64]; bits256 zero,srchash,destprevtxid0,srcprevtxid0; struct dpow_block *bp; struct dpow_entry *ep = 0; uint32_t duration,minsigs,starttime,srctime; |
|
|
|
int32_t i,j,ht,destprevvout0,srcprevvout0,numratified=0,kmdheight,myind = -1; uint8_t pubkeys[64][33]; cJSON *ratified=0,*item; struct iguana_info *src,*dest; char *jsonstr,*handle,*hexstr,str[65],str2[65],srcaddr[64],destaddr[64]; bits256 zero,srchash,destprevtxid0,srcprevtxid0; struct dpow_block *bp; struct dpow_entry *ep = 0; uint32_t duration,minsigs,starttime,srctime; |
|
|
|
memset(&zero,0,sizeof(zero)); |
|
|
|
srcprevtxid0 = destprevtxid0 = zero; |
|
|
|
srcprevvout0 = destprevvout0 = -1; |
|
|
@ -283,6 +283,9 @@ void dpow_statemachinestart(void *ptr) |
|
|
|
{ |
|
|
|
myind = i; |
|
|
|
ep = &bp->notaries[myind]; |
|
|
|
for (j=0; j<33; j++) |
|
|
|
printf("%02x",dp->minerkey33[j]); |
|
|
|
printf(" MYIND.%d <<<<<<<<<<<<<<<<<<<<<<\n",myind); |
|
|
|
} |
|
|
|
} |
|
|
|
if ( myind < 0 || ep == 0 ) |
|
|
|