mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-25 08:54:20 +01:00
A simple implementation of a jit-rebalance plugin based in the idea of @renepickhardt. Upon receiving an HTLC that we are supposed to forward check whether the channel has sufficient capacity to forward. If that's not the case we need to rebalance. For this we compute a circular route through some other nodes, returning funds on the edge we are supposed to use when forwarding. This means we rebalance the channel just enough to make forwarding possible. This only implements the simple version, without FOAF advertisements of free rebalancings, but it already works rather nicely. Suggested-by: Rene Pickhardt <@renepickhardt> Signed-off-by: Christian Decker <@cdecker>
2 lines
19 B
Plaintext
2 lines
19 B
Plaintext
pyln-client==0.7.3
|