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
Michael Schmoock
67224d0c26
rebalance: fix flake8 code nits
2022-12-27 13:39:30 +01:00
Michael Schmoock
7d5b4a9516
drain: fix flake8 code nits
2022-12-27 13:27:52 +01:00
Michael Schmoock
140efc2269
paytest: fix _msat purge leftover
2022-12-27 13:27:52 +01:00
Michael Schmoock
9c7a70f6ff
paytest: fix flake8 code nits
2022-12-27 13:27:52 +01:00
Michael Schmoock
81899006e2
feeadjuster: fix forward_event hook msat parsing
...
Subscribed notifications have never been handled by `pyln.client.Plugin()`
in a way that for `_msat` keys values have been replaced by `Millisatoshi()`
on the fly. This only was the case for normal JSON request/responses.
On recent cln versions, having `--allow-deprecated-apis=True`,
cln actually returns a string ending with `msat`, which is not
compatible with a `Millisatoshi()` when doing arithmetic operations.
See: https://github.com/ElementsProject/lightning/pull/5798
2022-12-27 12:56:17 +01:00
Michael Schmoock
ec75211f0a
feeadjuster: fix python code nits
2022-12-26 13:56:30 +01:00
Michael Schmoock
4d8b258f8b
feeadjuster: fix testflake in test_feeadjuster_imbalance
2022-12-26 13:52:00 +01:00
Michael Schmoock
e20eb77885
autopilot: adds missing requirements.txt file
2022-12-20 12:11:13 +01:00
Gálli Zoltán
d836e44b4e
rebalance: fix test for multithreading
2022-12-20 10:29:44 +01:00
Gálli Zoltán
381707eaaf
rebalance: multithreading
...
`rebalanceall` can run on multiple threads for faster results
2022-12-20 10:29:44 +01:00
Gálli Zoltán
a778da4e10
feeadjuster: setchannelfee last two parameters are optional
...
- feeadjuster keeps crashing without this
2022-12-04 21:47:13 +01:00
Gálli Zoltán
29dfc0f3f8
rebalance: rebalanceall can be stopped quickly
...
waitsendpay could stuck for minutes making rebalancestop unresponsive
2022-12-04 13:58:57 +01:00
Michael Schmoock
6d1975e3ae
autopilot: fix usage of deprecated value on listfunds
...
The usage of 'value' (satoshis) on listoutputs has been deprecated on v0.12.0.
See upstream #5306
This changes calculations to msat.
2022-12-04 13:16:52 +01:00