-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mina data incorrect #38
Comments
Hi, |
They are showing two different things. The latter is a dashboard for active validators, i.e., ones that are staking and a subset of the former. The former is the staking ledger and the source of truth for this metric. You don't need an explorer to validate you can get it from the daemon e.g. For the current epoch 18 addresses control >50% of the stake. Any of those addresses could produce blocks this epoch. |
Hey @garethtdavies , thanks for the insights! Questions:
|
Hey, yes the staking ledger is different every epoch (14 days and 21 hours). The current epoch staking ledger is a snapshot of the balances in the snarked ledger at the last block of the epoch but 2 epochs prior e.g. epoch 63 staking ledger is the snapshot of the snarked ledger at the last block of epoch 61 etc... I believe 50% is the correct number, as the assumption is an honest majority. So 18 would be the correct current value. There isn't actually a suitable API I could point you to. You can get the staking data from https://graphql.minaexplorer.com/ (stakes collection) but this is being deprecated at the next hard fork or get the data from https://minaexplorer.com/staking-data/current which could serve as a temporary stopgap until someone exposes the full staking data via API. Maybe @duccas could assist in exposing that data or have a query already that would work. |
Hey @garethtdavies , How does the liveness & safety assumptions work for 33% vs 50%? I want to understand if we should use the standard operative threshold (33.3) or a new one? Since NC depends on a lot of factors, we are using the standard threshold of 33.3 for all the chains. See report for more details: https://messari.io/report/evaluating-validator-decentralization-geographic-and-infrastructure-distribution-in-proof-of-stake-networks |
@xenowits |
The displayed Nakamoto coefficient for MINA is inaccurate. Likely this has more significance, as it is the largest (inaccurately) by some margin.
This is caused by using an API of "validators". It's probable this excludes non-active or non-public block producer addresses from the calculation, whereby this calculation should be based on Mina's staking ledger.
It's quite simple to confirm this by either looking at the raw data of the current epoch staking ledger (epoch 63) https://storage.googleapis.com/mina-explorer-ledgers/jwbeXmeEZ2aYSyXnBbsMqWUxVDouwYZdzCqBejTaoecCkHoinPy.json or a summary here https://minaexplorer.com/staking?epoch=63 and the % of total stake for each address. For the epoch the top 20 addresses control > 50% of the stake of the network, thus should be the Nakamoto coefficient, but is displayed as 61.
The text was updated successfully, but these errors were encountered: