test
This commit is contained in:
@@ -535,7 +535,7 @@ int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33])
|
||||
komodo_chosennotary(¬aryid,height,pubkey33);
|
||||
if ( height >= 34000 && notaryid >= 0 )
|
||||
{
|
||||
for (i=1; i<64; i++)
|
||||
for (i=1; i<60; i++)
|
||||
{
|
||||
if ( komodo_minerid(height-i) == notaryid )
|
||||
{
|
||||
|
||||
@@ -480,7 +480,7 @@ void komodo_passport_iteration()
|
||||
else refid = komodo_baseid(ASSETCHAINS_SYMBOL)+1; // illegal base -> baseid.-1 -> 0
|
||||
//printf("PASSPORT %s refid.%d\n",ASSETCHAINS_SYMBOL,refid);
|
||||
for (baseid=0; baseid<=32; baseid++)
|
||||
{break;
|
||||
{
|
||||
sp = 0;
|
||||
isrealtime = 0;
|
||||
base = (char *)CURRENCIES[baseid];
|
||||
|
||||
@@ -135,8 +135,8 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
|
||||
special2 = komodo_is_special(height,pubkey33);
|
||||
if ( special2 == -2 )
|
||||
printf("height.%d special2.%d special.%d\n",height,special2,special);
|
||||
if ( special2 == -2 || (height < 70000 && (special != 0 || special2 > 0)) ||
|
||||
(height >= 70000 && special2 > 0) )
|
||||
if ( special2 == -2 || (height < 80000 && (special != 0 || special2 > 0)) ||
|
||||
(height >= 80000 && special2 > 0) )
|
||||
{
|
||||
bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow);
|
||||
flag = 1;
|
||||
|
||||
Reference in New Issue
Block a user