Commit Graph

15 Commits

Author SHA1 Message Date
Rusty Russell
5bb3061ade helpme: new plugin.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-07-26 15:29:59 +02:00
Michael Schmoock
f6309a2da0 Cleanup rebalance sendinvoiceless (#33)
* doc: cleanup and key-value for optional parameters

* rebalance: cleanup and refinements

* sendinvoiceless: cleanup and refinements

* summary: reflects upcoming changes of pylightning to_approx_str

* rebalance: check peer connection on local channels
2019-05-31 22:52:43 +02:00
Michael Schmoock
12a80b2c13 feat: summary adds descriptive table header 2019-05-13 21:23:23 +02:00
Michael Schmoock
8311122645 fix: a race condition in the summary plugin
When the summary plugin starts, it runs a thread to discover the current
`fiat_per_btc` price. When this was not finished yet, the `if` statement
in line 112 fails, because this in not JavaScript and the property has
to be checked with `hasattr(obj, key)` method in order to not throw an
exception.
2019-05-13 14:02:45 +02:00
Christian Decker
e0f02db123 Update summary/summary.py
Co-Authored-By: Johnstedt <John-John@Markstedts.org>
2019-04-23 15:36:05 +02:00
John-John Markstedt
6b1f7901bc raw response fix 2019-04-23 15:36:05 +02:00
Michael Schmoock
7c392cb2dd feat: add scid to summary output
Improves some minor output issues:

 - Adds short channel id, so it can be copy and pasted for rebalancing
 - renames `channels_key` to `channels_flags`
 - changes flags round rackets (PO) to squace brackets [PO]
 - Always outputs flags even if not set [__] so things are always aligned
 - Removes the colon ':' and always prints a space
   this also helps when copy and pasting in a terminal
2019-04-23 15:33:50 +02:00
Joe Netti
78f0e96c5d fixed graphing bug that was caused by float->int conversion without rounding. Added newline to graph output 2019-04-17 15:23:40 +02:00
Rusty Russell
b286d7b47e summary: fix bug where we're connected to a node without node_announce
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-16 13:51:37 +02:00
Rusty Russell
ff67b26841 summary: fix num_gossipers calculation.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-03-05 14:30:24 +10:30
Rusty Russell
ac1478f5a5 summary: add offline annotation.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-03-05 14:22:10 +10:30
Rusty Russell
16dc96263a Summary: make bar graphs prettier. Unicode FTW!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-03-05 14:05:04 +10:30
Rusty Russell
5cf676f814 Summary: cleanups suggested by @cdecker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-03-03 10:37:07 +10:30
Rusty Russell
fcb4018bd4 summary: add bar graphs showing balances.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-26 16:37:59 +10:30
Rusty Russell
6063f673cb summary: first cut of my sumary plugin (needs c-lightning 0.7-rc2 or above)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-26 16:16:36 +10:30