Closed justanwar closed 4 years ago
@sproxet this is Anwar's comment there:
For "Average Days for Payout", we can go with this logic:
Average days for payout = Number of Enabled Nodes / 288 blocks per day (average).
Number of Enabled nodes can be obtained from znode count all.
So as zcoind already sends the total, and the 288 is constant, the final calculation can be done on the client end.
enabledCount
flag added to apiStatus
in https://github.com/zcoinofficial/zcoin/commit/34682b6543c45a8eb4be15c100c4c3563e37aae2. @sproxet please update client
Adding
Enabled Znodes
count will help us while we wait for deterministic masternodes since currently users can end up with a wrong Znode list without knowing and looking at the Enabled count is one way to determine it. This is the case with the current QT wallet and zcoind.I believe the enabled count is already present, just need to display it.
Also see #87