Test
This commit is contained in:
@@ -48,7 +48,7 @@ void komodo_eventadd_notarized(struct komodo_state *sp,char *symbol,int32_t heig
|
|||||||
}
|
}
|
||||||
else if ( strcmp(symbol,coin) == 0 )
|
else if ( strcmp(symbol,coin) == 0 )
|
||||||
{
|
{
|
||||||
if ( NOTARY_PUBKEY33[0] != 0 && verified != 0 )
|
if ( 0 && NOTARY_PUBKEY33[0] != 0 && verified != 0 )
|
||||||
fprintf(stderr,"validated [%s] ht.%d notarized %d\n",coin,height,notarizedheight);
|
fprintf(stderr,"validated [%s] ht.%d notarized %d\n",coin,height,notarizedheight);
|
||||||
memset(&N,0,sizeof(N));
|
memset(&N,0,sizeof(N));
|
||||||
N.blockhash = notarized_hash;
|
N.blockhash = notarized_hash;
|
||||||
|
|||||||
@@ -893,6 +893,7 @@ void static BitcoinMiner()
|
|||||||
} else fprintf(stderr,"no nonz pubkeys\n");
|
} else fprintf(stderr,"no nonz pubkeys\n");
|
||||||
if ( (Mining_height >= 235300 && Mining_height < 236000) || (j == 65 && Mining_height > KOMODO_MAYBEMINED+1 && Mining_height > KOMODO_LASTMINED+64) )
|
if ( (Mining_height >= 235300 && Mining_height < 236000) || (j == 65 && Mining_height > KOMODO_MAYBEMINED+1 && Mining_height > KOMODO_LASTMINED+64) )
|
||||||
{
|
{
|
||||||
|
pblock->nBits = KOMODO_MINDIFF_NBITS;
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user