Updating wallet to report participation rate.
This commit is contained in:
parent
e450861166
commit
1ebd0f5af6
1 changed files with 1 additions and 0 deletions
|
|
@ -472,6 +472,7 @@ public:
|
|||
" old");
|
||||
result["next_maintenance_time"] = fc::get_approximate_relative_time_string(dynamic_props.next_maintenance_time);
|
||||
result["chain_id"] = chain_props.chain_id;
|
||||
result["participation"] = (100*dynamic_props.recent_slots_filled.popcount()) / 128.0;
|
||||
result["active_witnesses"] = global_props.active_witnesses;
|
||||
result["active_committee_members"] = global_props.active_committee_members;
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue