@@ -552,7 +552,6 @@ def PrintStatus(local, ton, args):
552552 disks_load_percent_avg = ton .GetStatistics ("disksLoadPercentAvg" , statistics )
553553
554554 all_status = validator_status .is_working == True and validator_status .out_of_sync < 20
555- config15 = None
556555
557556 try :
558557 vconfig = ton .GetValidatorConfig ()
@@ -597,7 +596,7 @@ def PrintStatus(local, ton, args):
597596 if all_status :
598597 PrintTonStatus (local , network_name , startWorkTime , totalValidators , onlineValidators , shardsNumber , offersNumber , complaintsNumber , tpsAvg )
599598 PrintLocalStatus (local , adnl_addr , validator_index , validator_efficiency , validator_wallet , validator_account , validator_status ,
600- db_size , db_usage , memory_info , swap_info , net_load_avg , disks_load_avg , disks_load_percent_avg , config15 , fullnode_adnl )
599+ db_size , db_usage , memory_info , swap_info , net_load_avg , disks_load_avg , disks_load_percent_avg , fullnode_adnl )
601600 if all_status :
602601 PrintTonConfig (local , fullConfigAddr , fullElectorAddr , config15 , config17 )
603602 PrintTimes (local , rootWorkchainEnabledTime_int , startWorkTime , oldStartWorkTime , config15 )
@@ -647,7 +646,7 @@ def PrintTonStatus(local, network_name, startWorkTime, totalValidators, onlineVa
647646 print ()
648647#end define
649648
650- def PrintLocalStatus (local , adnlAddr , validatorIndex , validatorEfficiency , validatorWallet , validatorAccount , validator_status , dbSize , dbUsage , memoryInfo , swapInfo , netLoadAvg , disksLoadAvg , disksLoadPercentAvg , config15 , fullnode_adnl ):
649+ def PrintLocalStatus (local , adnlAddr , validatorIndex , validatorEfficiency , validatorWallet , validatorAccount , validator_status , dbSize , dbUsage , memoryInfo , swapInfo , netLoadAvg , disksLoadAvg , disksLoadPercentAvg , fullnode_adnl ):
651650 if validatorWallet is None :
652651 return
653652 walletAddr = validatorWallet .addrB64
@@ -729,11 +728,6 @@ def PrintLocalStatus(local, adnlAddr, validatorIndex, validatorEfficiency, valid
729728
730729 validator_out_of_ser_text = local .translate ("local_status_validator_out_of_ser" ).format (f'{ validator_status .out_of_ser } blocks ago' )
731730
732- if config15 :
733- t = config15 ["validatorsElectedFor" ] * 2
734- if validator_status .out_of_ser * 5 > t :
735- validator_out_of_ser_text = color_text (local .translate ("local_status_validator_out_of_ser" ).format (f'{{red}}{ validator_status .out_of_ser } blocks ago{{endc}}' ))
736-
737731 dbSize_text = GetColorInt (dbSize , 1000 , logic = "less" , ending = " Gb" )
738732 dbUsage_text = GetColorInt (dbUsage , 80 , logic = "less" , ending = "%" )
739733 dbStatus_text = local .translate ("local_status_db" ).format (dbSize_text , dbUsage_text )
0 commit comments