massa icon indicating copy to clipboard operation
massa copied to clipboard

Implement `get_largest_wallets` method in JsonRPC API(V2)

Open aoudiamoncef opened this issue 2 years ago • 1 comments

This method will return a top (by default 50 ?) Massa accounts. May be we could fetch available addresses in the ledger and make some pagination.

aoudiamoncef avatar Jan 16 '23 11:01 aoudiamoncef

related to #3461

aoudiamoncef avatar Jan 24 '23 13:01 aoudiamoncef

Hi @AurelienFT

Correcte me if I'm wrong:

To retrieve this information, we should both have candidate and final balances. For the final, we should have a sorted ledger by balance which is not the case, It's sorted by address and It's not interesting to iterate over the ledger to get this information.

IMHO, this information shouldn't be implemented in the node API

aoudiamoncef avatar Apr 12 '23 15:04 aoudiamoncef