diff --git a/node_stats.py b/node_stats.py index 549ce54..d62b395 100644 --- a/node_stats.py +++ b/node_stats.py @@ -122,7 +122,8 @@ async def main(): data['active_roots_count'] = response3['node']['active']['roots']['count'] data['active_blocks_count'] = response3['node']['active']['blocks']['count'] # data['pending_conf_height_count'] = response3['node']['active']['pending_conf_height']['count'] - data['active_confirmed_count'] = response3['node']['active']['confirmed']['count'] + data['active_confirmed_count'] = response3['node']['active']['recently_confirmed']['count'] + data['active_cemented_count'] = response3['node']['active']['recently_cemented']['count'] data['active_cementable_count'] = response3['node']['active']['priority_cementable_frontiers_count']['count'] data['inactive_votes_cache_count'] = response3['node']['active']['inactive_votes_cache_count']['count'] # data['tcp_channels_count'] = response3['node']['tcp_channels']['channels']['count'] @@ -136,7 +137,7 @@ async def main(): # data['block_processor_hashes'] = response3['node']['block_processor']['blocks_hashes']['count'] data['block_processor_forced'] = response3['node']['block_processor']['forced']['count'] # data['block_processor_rolled_back'] = response3['node']['block_processor']['rolled_back']['count'] - data['block_processor_generator'] = response3['node']['block_processor']['generator']['state_blocks']['count'] +# data['block_processor_generator'] = response3['node']['block_processor']['generator']['state_blocks']['count'] data['block_arrival_count'] = response3['node']['block_arrival']['arrival']['count'] data['online_reps_arrival_count'] = response3['node']['online_reps']['arrival']['count'] data['votes_cache_count'] = response3['node']['votes_cache']['cache']['count']