Skip to content

Commit

Permalink
updated node_stats to handle changes to stats RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Srayman committed Sep 7, 2019
1 parent 90e45d4 commit 6e6682f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,13 @@ async def main():
data['inactive_votes_cache_count'] = response3['node']['active']['inactive_votes_cache_count']['count']
data['tcp_channels_count'] = response3['node']['tcp_channels']['channels']['count']
data['tcp_channels_attempts_count'] = response3['node']['tcp_channels']['attempts']['count']
data['response_channels_count'] = response3['node']['response_channels']['channels']['count']
data['vote_processor_count'] = response3['node']['vote_processor']['votes']['count']
data['vote_processor_rep1'] = response3['node']['vote_processor']['representatives_1']['count']
data['vote_processor_rep2'] = response3['node']['vote_processor']['representatives_2']['count']
data['vote_processor_rep3'] = response3['node']['vote_processor']['representatives_3']['count']
data['block_processor_state'] = response3['node']['block_processor']['state_blocks']['count']
data['block_processor_blocks'] = response3['node']['block_processor']['blocks']['count']
data['block_processor_hashes'] = response3['node']['block_processor']['blocks_hashes']['count']
# 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']
Expand Down

0 comments on commit 6e6682f

Please sign in to comment.