Aido
defdc28915
summary: Add fees_collected info to output
2021-02-10 15:36:52 +01:00
Michael Schmoock
e825910af1
summary: adds __init__.py to fix remaining flake8 nits
2020-12-13 15:36:15 +01:00
Michael Schmoock
2034c29214
summary: fix flake8 nits
2020-12-13 15:36:15 +01:00
Michael Schmoock
355f0e7745
summary: fix test flakes
2020-11-23 11:54:36 +01:00
Michael Schmoock
2a798864f8
summary: fix bitstamp api 404
2020-11-23 11:54:36 +01:00
Michael Schmoock
5d274f67c4
summary: fix always-use-proxy check
2020-11-23 11:54:36 +01:00
Rusty Russell
6cd4726369
summary: use proxy if configuration says to.
...
All plugins should take care to do this if config
specifies always-use-proxy!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2020-11-13 14:24:00 +01:00
Michael Schmoock
158a15110f
summary: fix persistent peerstate zero leading window
2020-08-03 11:37:10 +02:00
Michael Schmoock
f4e3383ed6
summary: persist peerstate via shelve
2020-08-02 19:07:40 +02:00
Michael Schmoock
acf670b782
summary: adds Channel named tuple
2020-08-01 17:03:41 +02:00
Michael Schmoock
75700ddc57
summary: remove legacy code
2020-08-01 17:03:41 +02:00
Michael Schmoock
294dc5dc20
summary: increase test coverage
2020-08-01 17:03:41 +02:00
Michael Schmoock
5a6489c3ae
summary: moves availability code and adds testcases
...
extracts the availability calculations to own testable module
2020-08-01 17:03:41 +02:00
Michael Schmoock
01b075117f
summary: set thread loglevel to just warn
...
using level error caused the testframework to fail on non-essential
price or availability thread log messages.
likely caused by the test runner not being able to query the bitstamp
API.
2020-08-01 17:03:41 +02:00
Michael Schmoock
14ad827fb8
summary: adds 72hr availability measurement
...
this applies a 72hr exponential smoothed sliding window to
the online/offline availability state of a peer.
2020-08-01 17:03:41 +02:00
Michael Schmoock
e484db385a
summary: fix broken price API and other bugs
...
1. bitcoinaverage does not supply public prices since a while now:
> Unauthenticated requests are not allowed. Take out a new plan or start
> a free trial at https://pro.bitcoinaverage.com "
This commit fixes this by porting to bitstamp public ticker API.
2. This commit fixes the missing thread loop, so the price is
actually updated after a while.
3. This commit fixes an unchecked attribute access that crashed during
my tests.
2020-08-01 17:03:41 +02:00
Antoine Poinsot
bfab383959
No more pylightning imports !
...
```
$ grep -rE '^import lightning$|^from lightning'
```
Signed-off-by: Antoine Poinsot <darosior@protonmail.com >
2020-04-30 15:07:56 +02:00
darosior
e426f6738e
Update to pyln-client
...
This updates all plugins *which already have requirements.txt* to
pyln-client from pylightning.
2019-12-27 17:17:58 +01:00
darosior
eab10a051b
pytest: test summary exclude option
...
And some drive-by minor cleanups
2019-12-13 20:12:03 +01:00
darosior
db4357a766
summary: add an 'exclude' parameter to the summary command
...
This is useful to get an idea of the balance proportions of your
channels when you have a big channel that mess them up.
2019-12-13 20:12:03 +01:00
Christian Decker
81199ae3e6
summary: Improve on the dummy test
2019-12-09 14:31:14 +01:00
Christian Decker
6d7bdc370b
summary: Add dummy test to see that travis is working
2019-12-09 14:31:14 +01:00
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
cded1d2f1d
Summary: add requirements.txt
...
Recommended-by: @cdecker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2019-03-02 09:12:56 +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