Commit Graph

16 Commits

Author SHA1 Message Date
Michael Schmoock
04254693ab drain: adds __init__.py and cleanups flake8 nits 2020-11-30 10:38:44 +01:00
Michael Schmoock
7ae25feb1f drain: fix Millisatoshi from float bug
This was compatible in the past but pyln changed and
doing e.g. `10000msat * 0.01 * percentage` became unreliable
on rounding errors.
2020-11-30 10:38:44 +01:00
Michael Schmoock
0b685b45ea drain: fix a negative msat amount edgecase 2020-06-11 13:16:01 +02:00
Michael Schmoock
30463bf169 drain: reduce some log output to debug 2020-06-11 13:16:01 +02:00
Michael Schmoock
bfc160b3c6 fix: typo on RpcError 2020-06-11 13:16:01 +02:00
Michael Schmoock
247ac99711 fix: make receivable_msat really optional for backwards compat 2020-06-11 13:16:01 +02:00
Michael Schmoock
9579baa186 drain: fix error handling 2020-05-23 13:38:01 +02:00
Michael Schmoock
d66ea9f8e5 drain: refactor and cleanup 2020-05-23 13:38:01 +02:00
Michael Schmoock
6f0380bdfb drain: fix receivable and 3ksat margin workaround 2020-05-23 13:38:01 +02:00
Michael Schmoock
eaee585f16 drain: fix zero division edge cases 2020-05-23 13:38:01 +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
Michael Schmoock
65304d4baf drain: cleanups 2019-11-18 11:31:39 +01:00
Michael Schmoock
0881322b59 drain: setbalance command, rewrite drain and fill 2019-11-11 22:58:03 +01:00
Michael Schmoock
194cadd293 drain: document setbalance and todos 2019-11-11 22:58:03 +01:00
Michael Schmoock
e5f6b05226 doc: drain plugin README.md and usage 2019-11-11 22:58:03 +01:00
Michael Schmoock
50876fa29a drain: intial commit 2019-11-11 22:58:03 +01:00