Closed Sword-Smith closed 4 years ago
Hi, you can use https://github.com/lightningd/plugins/tree/master/summary
With the rpc_command
hook you can even change the output on the fly to enrich the returned output :-)
Is it possible to add one or more extra fields showing the amount in mBTC and/or BTC?
Concept NAK. This is a display/UI issue. Please do not bloat the RPC protocol with superfluous fields.
Yeah, our trend has been to remove duplicated fields and rely on plugins to do the "human-readable" stuff. JSON will never truly be human readable anyway :(
Yeah, our trend has been to remove duplicated fields and rely on plugins to do the "human-readable" stuff. JSON will never truly be human readable anyway :(
It is "human-readable" for a very limited interpretation of "human" :-)
When reading the output of
listfunds
I have to count the number of digits to understand how many bitcoins are present in the utxos and channels. Is it possible to add one or more extra fields showing the amount in mBTC and/or BTC? It would also be nice to see the total amount tied up in utxos, total amount tied up in channels, total amount tied up in channels with connected nodes, and total amount tied up in channels with disconnected nodes.Example output from
listfunds
to illustrate the problem