This commit is contained in:
jl777
2018-05-07 16:07:04 +03:00
parent 2f10423071
commit 05f8c23767
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -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);