Commit Graph

746 Commits

Author SHA1 Message Date
Michael Schmoock
41363694de dontaions: fix testcase test_donation_server 2023-02-08 15:32:42 +01:00
Michael Schmoock
ac86a3008b dontaions: rename options to match plugin name 2023-02-08 15:32:42 +01:00
Michael Schmoock
c8a728cdd7 donations: fix the stop method 2023-02-08 15:32:42 +01:00
Michael Schmoock
e0447276b5 donations: fix usage of deprecated validators 2023-02-08 15:32:42 +01:00
Michael Schmoock
16d49e4050 rebalance: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
Michael Schmoock
fe07f0d578 summary: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
Michael Schmoock
42fd4c4d32 monitor: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
Michael Schmoock
45fe611d44 jitrebalance: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
Michael Schmoock
2b7d41bd48 drain: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
Michael Schmoock
f7bf735c62 helpme: fix cli upstream changes on listpeerchannels 2023-02-08 15:32:42 +01:00
laanwj
1b8d5dde57 rebalance: Re-raise all exceptions in cleanup()
This solves an apparent logic error where errors that are not a subclass
of RpcError would be reported as succesful rebalance. Change it so that
they are re-raised too, so the caller can report them.

Should fix #355.
2023-01-09 15:37:51 +01:00
Gálli Zoltán
1b73ad8877 rebalance: handle events while rebalancing 2023-01-09 14:07:46 +01:00
elsirion
d71c164188 Add median multiplier option to feeadjuster docs 2023-01-09 13:27:11 +01:00
elsirion
b52afa1762 Add option to scale median fee adjustment strategy 2023-01-09 13:27:11 +01:00
Vincenzo Palazzo
e70a526a05 increase pyln-client version in summary
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-01-06 17:02:31 +01:00
feelus
28b41335b5 drain: Update README.md
Fix flipped parameter order in documentation.
2023-01-06 14:51:20 +01:00
Michael Schmoock
f3d741e7af chore: some cleanups and minor fixes
This removes debug output and corrects some code nits that have
been introduced by the big CI restoration PR #418
2023-01-02 14:43:05 +01:00
Christian Decker
7f8d4356ed gha: Add a final collection job
This depends on the matrix, but has an easy name that we can hang
other things off of.
2023-01-01 17:14:05 +01:00
Christian Decker
7d25585273 gha: Only run on pushes to master
Otherwise PRs from branches to master always spawn duplicate jobs.
2023-01-01 17:14:05 +01:00
Christian Decker
910718e5f7 gci: Configure auto-cancellation of superceded PRs 2023-01-01 17:14:05 +01:00
Christian Decker
dc09f7d434 request-invoice: Remove the plugin
It's utterly outdated, and has been replaced by a number of other
plugins, no point in keeping it around.
2023-01-01 17:14:05 +01:00
Christian Decker
a1e3eb44d2 autopilot: Relax numpy dependency
It is not compatible across all python versions, so we need installation time resolution :-(
2023-01-01 17:14:05 +01:00
Christian Decker
12a400e386 backup: Temporarily disable no-init test
It is failing since we no longer throw an exception if the daemon dies
while we wait for a log.
2023-01-01 17:14:05 +01:00
Christian Decker
c811548feb autopilot: Division by zero everywhere... 2023-01-01 17:14:05 +01:00
Christian Decker
02b0826023 noise: Migrate noise over to poetry and add TLV support
TLV was removed in 0.12, so we should not be using it ourselves either.
2023-01-01 17:14:05 +01:00
Christian Decker
21d7a49d2f paytest: Lock dependencies 2023-01-01 17:14:05 +01:00
Christian Decker
669b2d4567 autopilot: Remove stale requirements.txt file 2023-01-01 17:14:05 +01:00
Christian Decker
b20d966320 backup: Remove stale requirements.txt file
It was causing mis-identification as a pip plugin
2023-01-01 17:14:05 +01:00
Christian Decker
8a2267dad2 donations: Migrate donations to poetry 2023-01-01 17:14:05 +01:00
Christian Decker
89598d094b historian: Upgrade dependencies 2023-01-01 17:14:05 +01:00
Christian Decker
719c936140 meta: Move the meta project to py3.7 as pyln-client requires that 2023-01-01 17:14:05 +01:00
Christian Decker
48fbe6448b gci: Further isolate the test runs
Turns out that poetry's directory based venv was reusing the same env
for all tests, making the testing far less isolated than expected.
2023-01-01 17:14:05 +01:00
Michael Schmoock
a22a73478e ci: update pytest
Some jobs were failing with an error that seems to be raised by an
outdated pytest with a newer pytest-rerunfailures. We let pip choose...

```
2022-12-28T16:41:10.1173259Z   File "/tmp/tmp_82tmdi_/lib/python3.7/site-packages/pytest_rerunfailures.py", line 7, in <module>
2022-12-28T16:41:10.1173840Z     from _pytest.resultlog import ResultLog
2022-12-28T16:41:10.1174387Z ModuleNotFoundError: No module named '_pytest.resultlog'
```
2023-01-01 16:04:20 +01:00
Michael Schmoock
e1e6a2258a workflows: increase timeout to 60 minutes 2023-01-01 16:04:20 +01:00
Michael Schmoock
5609865631 ci: remove Flask as its dep of testing anyway
Also specify a more recent minimal version of MarkupSafe and itsdangerous
2023-01-01 16:04:20 +01:00
Michael Schmoock
245e6a83da ci: install pyln client and testing via cln repo 2023-01-01 16:04:20 +01:00
Michael Schmoock
9b7cfb45de workflows: adds protobuf-compiler needed for cln-grpc 2023-01-01 16:04:20 +01:00
Michael Schmoock
a32cf006d0 workflows: use poetry on cln to create requirements.txt 2023-01-01 16:04:20 +01:00
Michael Schmoock
f11c9ca6ec workflows: remove use-feature=in-tree-build
Using `--use-feature=in-tree-build` is no longer needed for recent pip versions,
doing so raised:

```
option --use-feature: invalid choice: 'in-tree-build' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache')
```
2023-01-01 16:04:20 +01:00
Michael Schmoock
4b28f44f53 workflows: remove unspecified python version
Doing `apt-get install python` without a version number raises:
```
    Package python is not available, but is referred to by another package.
```

Since python3 is already on the list, I just removed it.
2023-01-01 16:04:20 +01:00
Michael Schmoock
6ab4d35003 backup: nits assert without parentheses 2022-12-31 14:55:43 +01:00
Michael Schmoock
70c1f0a4ee backup: fix a broken testcase
This fix works, but its a bit slow as it waits for a 30 second timeout
when a node could not have been started.
2022-12-31 14:55:43 +01:00
Michael Schmoock
7f18073a3a backup: fix flake8 code nits 2022-12-31 14:55:43 +01:00
Michael Schmoock
7953dc0011 noise: fix _msat purge leftover 2022-12-29 14:37:05 +01:00
Michael Schmoock
be112f7b39 jitrebalance: fix upstream changes 2022-12-29 14:37:05 +01:00
Michael Schmoock
748d50a2dc archive: commando plugin as cln comes with it 2022-12-29 14:37:05 +01:00
Michael Schmoock
13e65260bf autopilot: reduced networkx min version to 2.6 for py 3.7 compat 2022-12-29 14:37:05 +01:00
Michael Schmoock
1072053b3b autopilot: fix broken arg parse 2022-12-27 16:54:29 +01:00
Michael Schmoock
7dbe65ab8a autopilot: fix flake8 code nits 2022-12-27 16:54:02 +01:00
Michael Schmoock
bceca734d7 probe: fix flake8 code nits 2022-12-27 16:33:04 +01:00