massa icon indicating copy to clipboard operation
massa copied to clipboard

Client: make get_addresses more informative

Open damip opened this issue 2 years ago • 1 comments

The API's get_addresses provides a lot of info but barely anything is printed in the client.

One important thing missing in particular is the set of roll counts (active, final, candidate, locked coins). Let's add it

 command · get_addresses A12S45crNFDugNAQ77TsRa3DSqmQ6qNVj3twvXPPLeDz7Jw43HyL
Address A12S45crNFDugNAQ77TsRa3DSqmQ6qNVj3twvXPPLeDz7Jw43HyL (thread 23):
        Sequential balance: final=0, candidate=0
        Parallel balance: final=0, candidate=0
        Locked coins:
        Cycle infos:
                Cycle 0 (candidate): produced 0 and missed 0 blocks

damip avatar Sep 19 '22 16:09 damip

We could control the response verbosity with an argument like Bitcoin ?

related to #2982

aoudiamoncef avatar Sep 20 '22 13:09 aoudiamoncef

We could achieve it before the Hackathon. cc @AurelienFT

aoudiamoncef avatar Nov 15 '22 15:11 aoudiamoncef

I will tackle this tomorrow

AurelienFT avatar Nov 15 '22 16:11 AurelienFT

Made in #3218

AurelienFT avatar Nov 16 '22 10:11 AurelienFT