@@ -625,9 +625,12 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
komodo_eligiblenotary(mids,&nonzpkeys,pindexPrev->nHeight);
|
komodo_eligiblenotary(mids,&nonzpkeys,pindexPrev->nHeight);
|
||||||
if ( nonzpkeys > 0 )
|
if ( nonzpkeys > 0 )
|
||||||
{
|
{
|
||||||
for (j=0; j<65; j++)
|
if ( notaryid < 2 )
|
||||||
fprintf(stderr,"%d ",mids[j]);
|
{
|
||||||
fprintf(stderr," <- prev minerids from ht.%d notary.%d\n",pindexPrev->nHeight,notaryid);
|
for (j=0; j<65; j++)
|
||||||
|
fprintf(stderr,"%d ",mids[j]);
|
||||||
|
fprintf(stderr," <- prev minerids from ht.%d notary.%d\n",pindexPrev->nHeight,notaryid);
|
||||||
|
}
|
||||||
for (j=0; j<65; j++)
|
for (j=0; j<65; j++)
|
||||||
if ( mids[j] == notaryid )
|
if ( mids[j] == notaryid )
|
||||||
break;
|
break;
|
||||||
@@ -635,7 +638,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
{
|
{
|
||||||
hashTarget = arith_uint256().SetCompact(KOMODO_MINDIFF_NBITS);
|
hashTarget = arith_uint256().SetCompact(KOMODO_MINDIFF_NBITS);
|
||||||
fprintf(stderr,"I am the chosen one for %s ht.%d\n",ASSETCHAINS_SYMBOL,pindexPrev->nHeight+1);
|
fprintf(stderr,"I am the chosen one for %s ht.%d\n",ASSETCHAINS_SYMBOL,pindexPrev->nHeight+1);
|
||||||
} else fprintf(stderr,"duplicate at j.%d\n",j);
|
} //else fprintf(stderr,"duplicate at j.%d\n",j);
|
||||||
} else fprintf(stderr,"no nonz pubkeys\n");
|
} else fprintf(stderr,"no nonz pubkeys\n");
|
||||||
} else Mining_start = 0;
|
} else Mining_start = 0;
|
||||||
} else Mining_start = 0;
|
} else Mining_start = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user