Commit Graph

663 Commits

Author SHA1 Message Date
Giovanni Zotta
c1afe23df6 Add circular to the list of plugins 2022-09-19 18:13:21 +02:00
Michael Clancy
3c81ac1fa8 Fixes the incorrect calculation of number invoices paid (#384) 2022-09-19 10:48:47 +09:30
Michael Clancy
fa567957ea Update helpme to look for funds in an output's 'amount_msat' instead of 'value' 2022-09-19 10:48:47 +09:30
Jan Sarenik
deb960a582 commando: change underscore to dash 2022-09-19 10:47:16 +09:30
Andrew Toth
d1a8db61cb summary: fix attribute errors 2022-09-19 10:45:31 +09:30
Ken Sedgwick
0f42425b65 summary: add fees_collected fiatstr 2022-09-16 12:32:39 +02:00
fiatjaf
c5f0c65c01 align table. 2022-09-16 12:00:29 +02:00
fiatjaf
75e762acc1 add poncho to the list. 2022-09-13 15:59:38 +02:00
joemphilips
373ae69a74 add nloop to README 2022-09-02 17:47:11 +02:00
openoms
0ecd10b27f feeadjuster: exclude list non-required and verbose 2022-08-28 10:45:46 +02:00
openoms
eb03e4fbed add option to exclude channels with nodes
skip setting channels with the IDs in the feeadjuster-exclude.list file
2022-08-24 18:20:10 +02:00
identity unknown
81f66f6185 Add a readme 2022-08-24 18:19:31 +02:00
identity unknown
89c6cb8f9c Add max htlc adjustment 2022-08-24 18:19:31 +02:00
Andrew Toth
6b56db768c readme: Add paythrough plugin link 2022-08-22 12:00:35 +02:00
Seth For Privacy
af8bc417ca Add referenced requirements.txt
This file is referenced in https://lightning.readthedocs.io/BACKUP.html#backup-plugin-and-remote-nfs-mount, but does not exist, making installation and usage of backup plugin much more tricky.

This commit simply adds the two required packages so that the docs are correct now and the plugin can be more easily installed.
2022-08-22 12:00:09 +02:00
Sergi Delgado Segura
5f656a1f0f Replaces python-teos by rust-teos 2022-08-22 11:59:44 +02:00
Ken Sedgwick
8529abd833 summary: use lowercase in bitstamp url 2022-07-30 12:30:19 +02:00
Michael Schmoock
59bad754cb backup: doc use poetry run also for backup-cli cmd 2022-07-21 19:06:34 +02:00
joemphilips
e8baa35a28 nit: change csharp example directory 2022-07-12 13:59:01 +02:00
joe.miyamoto
f07019b511 update readme with C# and kotlin example 2022-07-12 13:59:01 +02:00
Nilesh Londhe
5250222189 now uses poetry to manage dependencies
poetry
2022-07-10 11:34:51 +02:00
w3irdrobot
1b69dae1a9 Update Dockerfile 2022-07-04 12:02:48 +02:00
Christian Decker
7ef9e6c172 docs: Rename from c-lightning to core-lightning for local plugins 2022-05-13 18:07:13 +02:00
Christian Decker
dc035f0e50 readme: Rename from c-lightning to core-lightning in README 2022-05-13 18:02:51 +02:00
laanwj
6756681e54 summary: lightnind→lightningd in shutdown message 2022-04-28 12:59:54 +02:00
PestToast
59010ec851 Update required pyln-client version
A simple update to resolve issue #312
2022-04-28 12:59:22 +02:00
Aaron Dewes
20c6bf9d63 Add TypeScript API 2022-04-28 12:58:59 +02:00
laanwj
b3c7cce8d9 prometheus: Listen on 127.0.0.1 by default
Make the prometheus plugin listen on 127.0.0.1 (localhost) by default
instead of open to the world. This closes a privacy breach in the
default configuration.
2022-04-28 12:58:42 +02:00
Christian Decker
e96d400c10 gci: I like colors ;-) 2022-04-28 12:57:06 +02:00
Christian Decker
8077a5cebb gci: Do not nest virtualenvs in poetry
Poetry will automatically manage virtualenvs for our project, so we
can rely on `poetry install` and `poetry run` in the main environment
to keep the nested env up-to-date and enter it for testing.
2022-04-28 12:57:06 +02:00
Christian Decker
1073ac347c gci: Remove unused report uploads 2022-04-28 12:57:06 +02:00
Christian Decker
f877537f8f autopilot: Migrate to poetry 2022-04-28 12:57:06 +02:00
Christian Decker
8717789595 gci: Don't test with 3.6, pyln-testing and pyln-client require >=3.7 2022-04-28 12:57:06 +02:00
Christian Decker
42f88ce24a backup: Migrate to poetry 2022-04-28 12:57:06 +02:00
Christian Decker
74594a5b6e gci: Add support for poetry / PEP 517 based plugins
We also migrate the `historian` plugin to show how this looks
like. Next up is migrating the individual plugins.
2022-04-28 12:57:06 +02:00
Michael Schmoock
be688b0920 feeadjuster: improve setchannelfee deprecation detection 2022-04-27 22:19:11 +02:00
Vincenzo Palazzo
4b3ff33576 commando: fixes requirements.txt for a plugin
In a clean machine a new user will endup with the following exception

```
Traceback (most recent call last):
  File "/home/lightning/.lightning/plugins/commando.py", line 22, in <module>
    from pyln.client import Plugin, RpcError  # type: ignore
ModuleNotFoundError: No module named 'pyln'
```

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-04-12 09:35:43 +02:00
Rusty Russell
9448a06b30 commando: document the command limits.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Rusty Russell
3db50f4796 commando: limit total request size.
1MB normally, but 10MB if you have a cached rune.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Rusty Russell
36080d6771 commando: discard collated requests upon peer disconnect.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Rusty Russell
96702e1b57 command: add overlength test
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Rusty Russell
7b76bf63ea commando: allow sending of overlength requests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Rusty Russell
fc00ad4183 commando: allow stupidly-long commands.
This is backwards compatible.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-10 14:37:02 +09:30
Michael Schmoock
f022ca380d drain: upgrade testcase for new setchannel command 2022-04-03 17:15:35 +02:00
Michael Schmoock
5c43c7f3bf feeadjuster: upgrade to new setchannel command 2022-04-03 17:15:35 +02:00
Rusty Russell
5b2dd9a3f6 commando: actually do RPC dispatch async.
We use multiprocessing for this, because the pyln-client RPC
command api doesn't support async.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-17 15:52:13 +10:30
Rusty Russell
efaf634f1b commando: make custommsg hook async.
Otherwise it blocks everything while it's working, which can be a
while for a slow command.

Fixes: #347
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-17 15:52:13 +10:30
Keagan McClelland
2779264f72 Update .gitmodules 2022-02-27 20:29:16 +01:00
Keagan McClelland
c119595767 Update .gitmodules 2022-02-27 20:29:16 +01:00
Michael Schmoock
225b4ca9b7 autopilot: fixme division by zero
I don't understand the code at that location, but it can raise
a division by zero in testing environment where no real graph
was accessible because it couldn't be downloaded.
2022-02-21 18:37:37 +01:00