balance: display the content in tables
For lightness and consistency with the transaction_confirmation() display, the balance display might looks like:
╒═════════════════════════════════════╤══════════════════════════════════════════════╕
│ Balance of pubkey │ AhRMHUxMPXSeG7qXZrE6qCdjwK9p2bu5Eqei7xAWVEDK │
├─────────────────────────────────────┼──────────────────────────────────────────────┤
│ Blockchain (unit|relative) │ 182483.75 ĞTest | 63.1869 UD ĞTest │
├─────────────────────────────────────┼──────────────────────────────────────────────┤
│ Pending transaction (unit|relative) │ -100.0 ĞTest | -0.0346 UD ĞTest │
├─────────────────────────────────────┼──────────────────────────────────────────────┤
│ Total amount (unit|relative) │ 182383.75 ĞTest | 63.1523 UD ĞTest │
├─────────────────────────────────────┼──────────────────────────────────────────────┤
│ Total relative to M/N │ 0.21 x M/N │
├─────────────────────────────────────┼──────────────────────────────────────────────┤
│ Total relative to M │ 0.04 % M │
╘═════════════════════════════════════╧══════════════════════════════════════════════╛
for now it is :
Blockchain:
-----------
Relative = 1.16 UD ĞTest
Quantitative = 3350.0 ĞTest
Pending Transaction:
--------------------
Relative = 0.03 UD ĞTest
Quantitative = 100.0 ĞTest
Total amount of: 3i7jBZz1bYVTtao3C6e7cN21JHYjHCDR9pKeReE4rdVe
----------------------------------------------------------------
Total Relative = 1.19 UD ĞTest
Total Quantitative = 3450.0 ĞTest
Total Relative to average money share = 0.0 × M/N
Total Relative to monetary mass = 0.081 % M
I already have the code for it, the question is only if it should be done or not.
Edited by Moul