Commit Graph

351 Commits

Author SHA1 Message Date
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
Michael Schmoock
f2a0f50501 probe: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
35a2016c95 sauron: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
82b1b57690 persistent-channels: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
1e7701f033 backup: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
70719df500 monitor: only use _msat values
also fixes an issue where msat and sat was added falsely
2020-12-13 15:36:15 +01:00
Michael Schmoock
8796f6c6b0 monitor: fix flake8 nits 2020-12-13 15:36:15 +01:00
Michael Schmoock
7e89f5751d monitor: test main function 2020-12-13 15:36:15 +01:00
Zathrasss
5589767998 Added node alias to channel label for human readable legend in prometheus plugin 2020-12-13 15:34:23 +01:00
Gijs van Dam
eb748ffe19 Keep the orginal comment 2020-12-11 11:11:16 +01:00
Gijs van Dam
4f7e9da3db Fix example test
The example test uses a rpc call `summary` that isn't available (anymore)
The assert should be lowercase, otherwise it fails.
2020-12-11 11:11:16 +01:00
Christian Decker
b0d462a303 noise: Add total_messages key when returning a message 2020-12-11 11:03:22 +01:00
Christian Decker
d738a77c6e noise: Fixup documentation about waiting for next message 2020-12-11 11:03:22 +01:00
Michael Schmoock
1f05674b5b backup: cleanup flake8 nits 2020-12-11 11:01:02 +01:00
Michael Schmoock
be523aa54f backup: restore default filename lightningd.sqlite3 2020-12-11 11:01:02 +01:00
Michael Schmoock
9591c1b31e backup: doc fix that restore needs a file not a dir 2020-12-11 11:01:02 +01:00
Christian Decker
092b295d06 backup: Rewrite erroneously expanded SQL stmts on-the-fly
Seems to have little to no performance impact.
2020-12-11 10:52:23 +01:00
Christian Decker
e6d26b479c backup: Add a test to reproduce #158 2020-12-11 10:52:23 +01:00
Christian Decker
e22a65ed30 readme: Update the build badge 2020-12-02 13:10:44 +01:00
Christian Decker
0a56088d98 sendinvoiceless: Remove in favor of the built-in keysend
Keysend is more secure, has a higher success-rate and doesn't require
both a a route to the destination and back.
2020-12-02 11:11:44 +01:00
Christian Decker
682ea86cbc drain: Mark the drain_and_refill test as flaky
It sometimes does not raise the expected error, so let's rerun it
until we've addressed the flakyness
2020-12-02 11:04:44 +01:00
Christian Decker
df932b986d travis: Time to say goodbye travis-ci... 2020-12-02 11:04:44 +01:00
Christian Decker
33000ea4e2 gha: Add Github Actions configuration 2020-12-02 11:04:44 +01:00
Michael Schmoock
04254693ab drain: adds __init__.py and cleanups flake8 nits 2020-11-30 10:38:44 +01:00
Michael Schmoock
b7abc6f188 drain: update requirements.txt 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
9ee7006de2 drain: test openchannel instead of fund_channel
The usage of fund_channel is no longer recommended as of
main repo e802b128

The return value of pyln funchannel has changed to a tuple
as of main repo de34f08b

The usage of fundchannel is no longer supported by Travis
for unknown reasons
2020-11-30 10:38:44 +01:00