open-explorer icon indicating copy to clipboard operation
open-explorer copied to clipboard

committee members active list

Open oxarbitrage opened this issue 7 years ago • 2 comments

need to use http://open-explorer.io/#/objects/1.2.0 for the active committee members, all the rest is inactive.

oxarbitrage avatar Mar 27 '18 15:03 oxarbitrage

@clockwork can you remind me how was this issue, i think you reported it to me iirc.

  • http://open-explorer.io/#/committee_members / sort by votes.
  • http://open-explorer.io/#/objects/1.2.0 / committee account object.

chris4210 is out of the top 11 by votes but he is in the committee_account object.

please explain how it can happen.

oxarbitrage avatar May 29 '18 12:05 oxarbitrage

I was actually planning to submit a PR each to the python backend and the open-explorer repos for both the witness and committee lists. The fix being that the python backend uses the active authority lists from witness-account and committee-account to get the number and IDs of the active members and uses that to set an 'active' flag for that member in the complete witness/committee list.

Then, the open-explorer controllers can simply use the active flag to separate the active from the standby members without looking at count and/or votes.

Essentially, votes are tallied for active objects only. But past tallied votes are not cleared when the object is made inactive (this might be something to fix in -core).

So a member might appear to have more votes but only because he hasn't been in the active list in a while for the total to be recalculated.

clockworkgr avatar May 29 '18 12:05 clockworkgr