massa
massa copied to clipboard
Modify AddressInfo format
Format the display of AddressInfo
. (align 2 by 2 elements for big vectors)
I just realized how much it would be great to add an option -n
when we dump information like AddressInfo
to get the n latest blocks, endorsement draws, block draws, etc. I can do it here.
Also, I think the fold
is a bit hard to use for just that simple use case.
It's a temporary solution.
We should think about paging our endpoints.
By default, we should return first 25 entries for example. In our case, I think that a cursor based pagination will fit better.
Is it still relevant with the current format of get address info ?
Is it still relevant with the current format of get address info ?
This will still be an enhancement, but we can wait for the merge of the release 14 and then adapt it. :slightly_smiling_face:
Not relevant anymore.