Commit Graph

14 Commits

Author SHA1 Message Date
Michael Schmoock
5f7cef3cf9 autopilot: fix flake8 nits 2020-12-13 15:36:15 +01:00
Moller40
2464c328a2 autopilot: Improve calculation of available funds
Deduct the funds that are awaiting lockin and can't be used.
2020-10-20 12:45:35 +02:00
Moller40
de1cd7314f autopilot: Avoid "ZeroDivisionError: float division by zero"
Adding checks that prevents num_channels to be zero (or negative)
and by that avoiding zero division error.
2020-10-20 12:45:35 +02:00
svewa
04662336fa don't fund channels with more than 16777215sat, don't require confs on UTXOs to fund a channel 2020-06-11 13:17:34 +02:00
Sven
c37e0a4108 G.node -> G.nodes 2020-06-06 17:59:22 +02:00
Antoine Poinsot
bfab383959 No more pylightning imports !
```
$ grep -rE '^import lightning$|^from lightning'
```

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2020-04-30 15:07:56 +02:00
darosior
e426f6738e Update to pyln-client
This updates all plugins *which already have requirements.txt* to
pyln-client from pylightning.
2019-12-27 17:17:58 +01:00
José Molina Colmenero
438a7e5974 Fix networkx version
Graph.node has been renamed to Graph.nodes in version 2.4 at provokes a failure when running autopilot
2019-12-13 14:07:02 +01:00
darosior
65be1cedbe Specify startup-only plugins to be non-dynamic 2019-08-13 13:56:22 +02:00
Douglas Rohde
f179522c1c functional peer searching
missing imports, handle RPCError

add dnspython requirement

some error handling when connecting to peers
2019-08-12 19:20:29 +02:00
Ján Sáreník
6d9c5a1f3c Summary: autopilot: add requirements.txt (#34) 2019-05-28 12:06:38 +02:00
Christian Decker
187c66a9b1 autopilot: Add plugin binary and README file
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-04-29 15:42:01 +02:00
Christian Decker
92d2bbe262 donations: Fixed up the README a bit 2019-03-28 16:07:51 +01:00
Christian Decker
478bec2fb5 autopilot: Add a direct copy of Rene's original autopilot code
Just copying it over, not pluginizing it yet.
2019-03-26 14:00:27 +01:00