Commit Graph

527 Commits

Author SHA1 Message Date
Christian Decker
d7e831a315 gci: Disable DEVELOPER=0 test configs temporarily 2021-01-13 11:23:56 +01:00
Christian Decker
0a825d0c99 meta: Temporarily disable feeadjuster tests
An msat conversion seems to fail atm.
2021-01-13 11:23:56 +01:00
Christian Decker
c4f6688ffd meta: Add locale to the environment when running tests
Click seems particularly upset if the locale is not UTF-8
2021-01-13 11:23:56 +01:00
Christian Decker
980ab57a88 meta: Exclude lightning directory from tests
On CI we clone into the CWD, which results in it being picked up by
our runner. Exclude it.
2021-01-13 11:23:56 +01:00
Christian Decker
430ccd5042 gci: Add Junit test reporting 2021-01-13 11:23:56 +01:00
Christian Decker
37651ba8e2 gci: Run on all pushes 2021-01-13 11:23:56 +01:00
Christian Decker
05eb36114e gci: Remove pointless dependencies stage 2021-01-13 11:23:56 +01:00
Christian Decker
81ff069ded gci: Use the new script to run the tests 2021-01-13 11:23:56 +01:00
Christian Decker
b0784e4ae2 meta: Add development requirements where missing
We're about to start testing in isolation, so better make sure that
each plugin can be tested in isolation.
2021-01-13 11:23:56 +01:00
Christian Decker
35dffbd71b testing: Add a simple test to run each plugin in isolation 2021-01-13 11:23:56 +01:00
Sergi Delgado Segura
988060868a Adds watchtower client to plugins 2021-01-08 15:19:26 +01:00
svewa
d48a8d128d Update backup/README.md
Co-authored-by: Christian Decker <decker.christian@gmail.com>
2021-01-03 16:44:04 +01:00
Sven
a60d8efcf0 clarify backup location to be a file 2021-01-03 16:44:04 +01:00
alex
838c616037 onion routing 2020-12-21 15:18:26 +01:00
Christian Decker
9f412f900b request-invoice: No need to kill background processes anymore 2020-12-21 15:18:26 +01:00
Christian Decker
75254a0936 request-invoice: Do not write default config if none exists yet 2020-12-21 15:18:26 +01:00
Christian Decker
63fae03667 request-invoice: Move to threading instead of multiprocessing
And we also clean up the python code to be more idiomatic.
2020-12-21 15:18:26 +01:00
alex
3980c0ac1b cleanup 2020-12-21 15:18:26 +01:00
alex
89d9be2709 test added 2020-12-21 15:18:26 +01:00
alex
1f61280eef request-invoice init 2020-12-21 15:18:26 +01:00
Gálli Zoltán
31dcc8cf09 feeadjuster: CI test fix 2020-12-21 15:00:38 +01:00
Gálli Zoltán
be10209355 feeadjuster: review fixes part 4 2020-12-21 15:00:38 +01:00
Gálli Zoltán
0dbafa1abd feeadjuster: review fixes part 3
- enough liquidity feature is turned off by default
2020-12-21 15:00:38 +01:00
Gálli Zoltán
0a3fe31056 feeadjuster: review fixes part 2 2020-12-21 15:00:38 +01:00
Gálli Zoltán
fabb7d370a feeadjuster: review fixes 2020-12-21 15:00:38 +01:00
Gálli Zoltán
5f71204f33 feeadjuster: option to handle big channels differently
- nit: lots of fstring
2020-12-21 15:00:38 +01:00
Christian Decker
70aeb75365 backup: Be more explicit about requirements in readme 2020-12-19 10:59:24 +01:00
Wladimir J. van der Laan
7678fe1ed1 backup: Some improvements to text of README.md 2020-12-19 10:59:24 +01:00
Wladimir J. van der Laan
a6afc5a612 backup: Increase version_count after each version
Fix #183.
2020-12-18 19:42:16 +01:00
Michael Schmoock
4c5273b6f3 helpme: test main function runs without errors 2020-12-15 10:45:23 +01:00
Michael Schmoock
7cd3ebae61 helpme: check for plugins via rpc listconfigs 2020-12-15 10:45:23 +01:00
Michael Schmoock
5c81ab5a4f helpme: also check global configfile 2020-12-15 10:45:23 +01:00
Michael Schmoock
af26527638 helpme: if channels are open assume complete funds
When all funds have been spend for channels, the plugin
was reporting 'INCOMPLETE: no funds'. This doesn't seem right.
2020-12-15 10:45:23 +01:00
Antoine Poinsot
8e7df25910 prometheus: small fixups
Correct comment indentation and don't mix up scid with alias

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2020-12-14 21:01:30 +01:00
Gálli Zoltán
03e599678b automatic rebalance: review fixes part 4
- even more Millisatoshi usage
- nit fixes
2020-12-14 21:01:18 +01:00
Gálli Zoltán
21aaa6e4f3 automatic rebalance: review fixes part 3
- better thread handling
- more Millisatoshi usage
2020-12-14 21:01:18 +01:00
Gálli Zoltán
e2ed65e187 automatic rebalance: review fixes part 2 2020-12-14 21:01:18 +01:00
Gálli Zoltán
06d771539d automatic rebalance: review fixes 2020-12-14 21:01:18 +01:00
Gálli Zoltán
0dee5017b3 automatic rebalance
- rebalances liquidity between channels through circular payments
- automatically selects appropriate channels and executes rebalance
- uses economic fee by default: the rebalance transaction fees are less than the node's default fee, so it is cheaper to fix the liquidity than it can be ruined by transaction forwards
- runs async in the background, sometimes for a very long time (maybe hours)
- tries to rebalance small channels to a 50/50 liquidity ratio and stores remaining liquidity in big channels
- does nothing if there is no cheap enough circular route for rebalance
2020-12-14 21:01:18 +01:00
Michael Schmoock
5f7cef3cf9 autopilot: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
1002a62aa2 probe: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
de5489c1d6 noise: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
e0b2b6e515 zmq: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
844b45bbc4 chore: flake8 nits github sitecustomize.py 2020-12-13 15:36:15 +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
258c0e647a jitrebalance: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
3b654a44db donations: test start stop method
also sets default web port to 8088 on the plugin opts,
which should be the same as for the start(port=8088) fuction.
2020-12-13 15:36:15 +01:00
Michael Schmoock
b2a896052a donations: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
72d615446d helpme: fix flake8 nits 2020-12-13 15:36:15 +01:00