Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
18 stars 10 forks source link

Problem: no way to calculate stake weight from the CLI for a ledger #524

Closed trevorbernard closed 5 months ago

trevorbernard commented 6 months ago

e.g. mina-indexer staking-weight --public-key <b62...>

trevorbernard commented 6 months ago

This isn't as easy as it first appeared. Is there value in knowing the current stake weight for a block producer? IMHO, I suspect very little. @robinbb thoughts?

robinbb commented 6 months ago

Yes, I would say this is very interesting and useful information. It should be easy to get this info, if we are ingesting staking ledgers logged from the Mina node.