|
|
@ -277,7 +277,6 @@ int32_t dpow_txhasnotarization(uint64_t *signedmaskp,int32_t *nothtp,struct supe |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
printf("numnotaries.%d %s hasnotarization.%d ht.%d MUSTFIX notht.%d\n",numnotaries,coin->symbol,hasnotarization,height,*nothtp); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -322,7 +321,7 @@ bits256 dpow_calcMoM(uint32_t *MoMdepthp,struct supernet_info *myinfo,struct igu |
|
|
|
ht = height - MoMdepth; |
|
|
|
while ( MoMdepth < maxdepth && ht > breakht && ht > 0 ) |
|
|
|
{ |
|
|
|
fprintf(stderr,"%s.%d ",coin->symbol,ht); |
|
|
|
//fprintf(stderr,"%s.%d ",coin->symbol,ht);
|
|
|
|
blockhash = dpow_getblockhash(myinfo,coin,ht); |
|
|
|
if ( (blockjson= dpow_getblock(myinfo,coin,blockhash)) != 0 ) |
|
|
|
{ |
|
|
@ -330,7 +329,7 @@ bits256 dpow_calcMoM(uint32_t *MoMdepthp,struct supernet_info *myinfo,struct igu |
|
|
|
{ |
|
|
|
breakht = notht; |
|
|
|
//free_json(blockjson);
|
|
|
|
printf("%s has notarization at %d for breakht.%d\n",coin->symbol,ht,notht); |
|
|
|
//printf("%s has notarization at %d for breakht.%d\n",coin->symbol,ht,notht);
|
|
|
|
} |
|
|
|
merkle = jbits256(blockjson,"merkleroot"); |
|
|
|
free_json(blockjson); |
|
|
|