Test
This commit is contained in:
@@ -874,7 +874,7 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],uint32_t bloc
|
|||||||
if ( blocktime != 0 && blocktimes[1] != 0 && blocktime < blocktimes[1]+57 )
|
if ( blocktime != 0 && blocktimes[1] != 0 && blocktime < blocktimes[1]+57 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"lag.%d ht.%d n.%d blocktimes[%u vs %u %u]\n",blocktime-blocktimes[1],height,notaryid,blocktime,blocktimes[0],blocktimes[1]);
|
fprintf(stderr,"lag.%d ht.%d n.%d blocktimes[%u vs %u %u]\n",blocktime-blocktimes[1],height,notaryid,blocktime,blocktimes[0],blocktimes[1]);
|
||||||
if ( height > 780000 )
|
if ( height > 807000 )
|
||||||
return(-2);
|
return(-2);
|
||||||
} else return(1);
|
} else return(1);
|
||||||
} else return(0);
|
} else return(0);
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int
|
|||||||
}
|
}
|
||||||
if ( nonz == 0 )
|
if ( nonz == 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"ht.%d null pubkey checkproof return\n",height);
|
//fprintf(stderr,"ht.%d null pubkey checkproof return\n",height);
|
||||||
return(true); // will come back via different path with pubkey set
|
return(true); // will come back via different path with pubkey set
|
||||||
}
|
}
|
||||||
flag = komodo_eligiblenotary(pubkeys,mids,blocktimes,&nonzpkeys,height);
|
flag = komodo_eligiblenotary(pubkeys,mids,blocktimes,&nonzpkeys,height);
|
||||||
|
|||||||
Reference in New Issue
Block a user