Test
This commit is contained in:
@@ -844,8 +844,6 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t heigh
|
|||||||
{
|
{
|
||||||
int32_t i,notaryid=0,minerid,limit,nid; //uint8_t _pubkey33[33];
|
int32_t i,notaryid=0,minerid,limit,nid; //uint8_t _pubkey33[33];
|
||||||
if ( height >= 225000 )
|
if ( height >= 225000 )
|
||||||
komodo_chosennotary(¬aryid,height,pubkey33,timestamp);
|
|
||||||
if ( height >= 700000 )
|
|
||||||
{
|
{
|
||||||
if ( mids[0] >= 0 )
|
if ( mids[0] >= 0 )
|
||||||
{
|
{
|
||||||
@@ -859,7 +857,11 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t heigh
|
|||||||
}
|
}
|
||||||
} else return(0);
|
} else return(0);
|
||||||
}
|
}
|
||||||
else if ( height >= 34000 && notaryid >= 0 )
|
else
|
||||||
|
{
|
||||||
|
if ( height >= 225000 )
|
||||||
|
komodo_chosennotary(¬aryid,height,pubkey33,timestamp);
|
||||||
|
if ( height >= 34000 && notaryid >= 0 )
|
||||||
{
|
{
|
||||||
if ( height < 79693 )
|
if ( height < 79693 )
|
||||||
limit = 64;
|
limit = 64;
|
||||||
@@ -880,6 +882,7 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t heigh
|
|||||||
//fprintf(stderr,"special notaryid.%d ht.%d limit.%d\n",notaryid,height,limit);
|
//fprintf(stderr,"special notaryid.%d ht.%d limit.%d\n",notaryid,height,limit);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user