Commit graph

421 commits

Author SHA1 Message Date
bitromortac
1aa45a7d1b
Merge pull request #152 from bitromortac/2312-macaroon
default to readonly macaroon, version bump
2024-01-06 19:07:28 +01:00
bitromortac
d57e79f40d
version: bump to 0.16.0 2023-12-31 12:16:04 +01:00
bitromortac
d57025cf12
use correct macaroon in tests 2023-12-31 12:16:04 +01:00
bitromortac
02f2923069
docker: use readonly macaroon 2023-12-31 12:16:04 +01:00
bitromortac
2fb1b37803
node: use readonly macaroon by default
This means that calls to `openchannels` and `update-fees` will fail. A
custom lndmanage.macaroon can be created with
`scripts/bakemacaroon.sh` to enable the commands.
2023-12-31 12:16:04 +01:00
bitromortac
9882074a49
node: remove code, format
These are some leftovers from the rebalancing command.
2023-12-31 12:16:04 +01:00
bitromortac
2db287029d
Merge pull request #151 from bitromortac/2312-build-fix
dependency updates and grpc for lnd v0.16.4
2023-12-31 11:57:05 +01:00
bitromortac
dafabc8326
readme: recommend installation from github 2023-12-31 11:39:48 +01:00
bitromortac
0103453663
grpc: bump grpc to v0.16.4
To reproduce, run ./build_grpc.sh in lndmanage/grpc_compiled.
2023-12-27 12:43:17 +01:00
bitromortac
480d887fe5
setup: update dependencies
We bump versions of googleapis-common-protos and grpcio and pygments.
2023-12-27 12:43:10 +01:00
bitromortac
7885f02f13
Merge pull request #146 from bitromortac/2304-fee-keyerror
Fix feereport key errors and numpy warnings
2023-04-26 08:33:06 +02:00
bitromortac
2290a0abb8
fee setting: handle key error 2023-04-25 11:01:27 +02:00
bitromortac
abe74573be
forwardings: handle mean/median for empty lists 2023-04-25 11:01:27 +02:00
bitromortac
9f4d5c3fb5
Merge pull request #141 from bitromortac/2302-deps
protos+requirements: update dependencies
2023-03-05 17:44:40 +01:00
bitromortac
78c8479c94
version: bump to 0.15.0 2023-03-03 09:14:37 +01:00
bitromortac
71d99196d0
protos: pin protoc version 2023-03-03 09:14:37 +01:00
bitromortac
17d6f2e082
protos: rebuild protos v0.15.5
Protos are built with
```
$ python -m grpc_tools.protoc --version
libprotoc 3.19.5
```
2023-03-03 09:13:40 +01:00
bitromortac
bc5b73ee4b
forwardings: numpy compatibility 2023-03-03 09:12:21 +01:00
bitromortac
bb8e6efee8
setup: update requirements 2023-03-03 09:12:20 +01:00
bitromortac
73eb87e602
Merge pull request #140 from bitromortac/2302-disable-rebalance
lndmanage: remove support for rebalancing
2023-03-02 08:38:29 +01:00
bitromortac
3eea987421
lndmanage: remove support for rebalancing 2023-03-02 08:27:55 +01:00
bitromortac
1b2446d5ac
Merge pull request #139 from bitromortac/2209-rpc-route
replace route construction with rpc route
2023-01-16 21:21:22 +01:00
bitromortac
0108c76fee
rating+hints: fine tune pathfinding params 2022-12-17 17:42:15 +01:00
bitromortac
5638b47a16
rebalance: deal with rebalance timeouts
Rebalances can get stuck after some time. In order to not interrupt the
rebalance process, we ignore those stuck payments after five minutes and
try to blacklist the peers on the route via the time penalty mechanism.
2022-12-17 17:42:15 +01:00
bitromortac
d83e8106c0
liquidityhints: update if hint is expired
Previously, if an old hint was present we could not update the hint if
the update was with an insignificant amount (higher than the previous
fail amount). We update the hint now if the hint is invalid.
2022-12-17 17:42:14 +01:00
bitromortac
699e28b7cd
rebalance+rating: refactor for rpc routes
Update test cases. Makes sure to apply the correct badness to nodes.
2022-12-17 17:42:14 +01:00
bitromortac
decff1618a
routing: refactor route construction with rpc route
Removes legacy route construction and uses the lnd rpc instead. We add a
method to check the route and to add debug info.
2022-12-17 17:42:14 +01:00
bitromortac
ef99b60051
node: add rpc route and send to route
This commit adds the lnd BuildRoute API call.

An exception is raised when we encounter an unknown send to route error.
2022-12-17 17:42:07 +01:00
bitromortac
a3b2077feb
openchannels: add taproot address type, fix log 2022-10-22 09:44:26 +02:00
bitromortac
e3166bd448
Merge pull request #132 from bitromortac/2205-node-based-liquidity-hints
Pathfinding: pair-based liquidity hints and sync from mission control
2022-07-30 13:47:58 +02:00
bitromortac
85e40ee147
hints: warn about old pickle files 2022-07-30 13:27:04 +02:00
bitromortac
542759d162
hints: rename to msat 2022-07-30 13:26:54 +02:00
bitromortac
d68e58a8b9
lndmanage: improve startup messages 2022-07-30 13:26:48 +02:00
bitromortac
fb462bcd33
liquidityhints: remove judge for backward dir
Take a step back and remove this assumption.
2022-07-30 13:26:43 +02:00
bitromortac
e6348244c7
liquidityhints: synchronize mc data conditionally 2022-07-30 13:26:38 +02:00
bitromortac
9d758fc05e
liqudityhints: extend with mission control data 2022-07-30 13:26:32 +02:00
bitromortac
9eb115de5b
liquidityhints: change direction
This is the intended direction syntax, where the comarison operator
indicates the direction from where we want to send: from_node > to_node.

Caution: invalidates preexisting liquidity hints
2022-07-30 13:26:25 +02:00
bitromortac
c8f1a9322e
liquidityhints: remove hint timestamp 2022-07-30 13:26:20 +02:00
bitromortac
6b4fc8f75c
liquidityhints: extend with timestamps 2022-07-30 13:26:13 +02:00
bitromortac
8979872241
network: use max capacity per node pair 2022-07-30 13:26:06 +02:00
bitromortac
ef31e8948c
liquidityhints: switch to pair based keying 2022-07-30 13:26:01 +02:00
bitromortac
660419b00c
network: add node pair to channels 2022-07-30 13:25:56 +02:00
bitromortac
cbce73a67d
data_types: move shortchanid and nodeid 2022-07-30 13:25:43 +02:00
bitromortac
b2f9df0ce7
data_types: add key pair 2022-07-30 13:25:13 +02:00
bitromortac
167dc38a96
openchannels: fix pending channel output 2022-07-15 08:17:25 +02:00
bitromortac
4452ef7ed1
fixup readme re channel open 2022-07-15 07:58:52 +02:00
bitromortac
458f454956
version bump 2022-07-15 07:46:18 +02:00
bitromortac
12edf7c4ef
Merge pull request #137 from bitromortac/2207-batchopen
openchannels: replace with lnd batchopen
2022-07-14 23:02:45 +02:00
bitromortac
69e5614745
openchannels: replace with lnd batchopen 2022-07-14 22:35:56 +02:00
bitromortac
ebd6431efd
Merge pull request #133 from 3nprob/fix-networkx-pickle-deprecation
network: fix networkx deprecated function usage
2022-05-10 02:12:59 -04:00