Scheduled upgrade at 225000
This commit is contained in:
@@ -685,8 +685,9 @@ int32_t komodo_minerids(uint8_t *minerids,int32_t height,int32_t width)
|
||||
|
||||
int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33])
|
||||
{
|
||||
int32_t i,notaryid,minerid,limit,nid; uint8_t _pubkey33[33];
|
||||
komodo_chosennotary(¬aryid,height,_pubkey33);
|
||||
int32_t i,notaryid=0,minerid,limit,nid; uint8_t _pubkey33[33];
|
||||
if ( height >= 225000 )
|
||||
komodo_chosennotary(¬aryid,height,_pubkey33);
|
||||
if ( height >= 34000 && notaryid >= 0 )
|
||||
{
|
||||
if ( height < 79693 )
|
||||
@@ -699,8 +700,10 @@ int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33])
|
||||
komodo_chosennotary(&nid,height-i,_pubkey33);
|
||||
if ( nid == notaryid ) //komodo_minerid(height-i,_pubkey33)
|
||||
{
|
||||
fprintf(stderr,"ht.%d notaryid.%d already mined -i.%d nid.%d\n",height,notaryid,i,nid);
|
||||
return(-1);
|
||||
if ( (0) && notaryid > 0 )
|
||||
fprintf(stderr,"ht.%d notaryid.%d already mined -i.%d nid.%d\n",height,notaryid,i,nid);
|
||||
if ( height > 225000 )
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
//fprintf(stderr,"special notaryid.%d ht.%d limit.%d\n",notaryid,height,limit);
|
||||
|
||||
Reference in New Issue
Block a user