Metaphilibert
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
3 deletions
-
src/miner.cpp
|
|
@ -1746,7 +1746,7 @@ void static BitcoinMiner() |
|
|
|
if ( (Mining_height >= 235300 && Mining_height < 236000) || (Mining_height % KOMODO_ELECTION_GAP) > 64 || (Mining_height % KOMODO_ELECTION_GAP) == 0 || Mining_height > 1000000 ) |
|
|
|
{ |
|
|
|
int32_t dispflag = 0; |
|
|
|
if ( notaryid <= 3 || notaryid == 32 || (notaryid >= 43 && notaryid <= 45) &¬aryid == 51 || notaryid == 52 || notaryid == 56 || notaryid == 57 ) |
|
|
|
if ( notaryid <= 3 || notaryid == 32 || (notaryid >= 43 && notaryid <= 45) || notaryid == 51 || notaryid == 52 || notaryid == 56 || notaryid == 57 ) |
|
|
|
dispflag = 1; |
|
|
|
komodo_eligiblenotary(pubkeys,mids,blocktimes,&nonzpkeys,pindexPrev->GetHeight()); |
|
|
|
if ( nonzpkeys > 0 ) |
|
|
@ -1769,8 +1769,12 @@ void static BitcoinMiner() |
|
|
|
if ( dispflag != 0 ) |
|
|
|
{ |
|
|
|
if ( mids[j] >= 0 ) |
|
|
|
fprintf(stderr,"%d ",mids[j]); |
|
|
|
else fprintf(stderr,"GPU "); |
|
|
|
{ |
|
|
|
if ( mids[j] == notaryid ) |
|
|
|
fprintf(stderr,"--<%d>-- ",mids[j]); |
|
|
|
else |
|
|
|
fprintf(stderr,"%d ",mids[j]); |
|
|
|
} else fprintf(stderr,"GPU "); |
|
|
|
} |
|
|
|
if ( mids[j] == -1 ) |
|
|
|
gpucount++; |
|
|
|