Lagrang3
428b23c975
renepay: relax knowledge mod
...
Add a payment mod that relaxes the knowledge of the uncertainty network
as a function of time.
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
2024-05-23 15:15:57 -05:00
Lagrang3
7335777595
renepay: fix some memory leaks
2024-05-08 22:32:13 -05:00
Lagrang3
96bd0e455b
renepay: refactor routefail
...
- use switch case over all possible WIRE_* errors,
- remove the virtual machine for routefail, use a simple two step
solution: 1. update the gossip and 2. handle error cases
2024-05-08 22:32:13 -05:00
Lagrang3
cafc08be1d
renepay: disable channels not in chan_extra_map
...
Expand the disabled set to include channels that are not present in the
chan_extra_map/uncertainty network.
2024-05-08 22:32:13 -05:00
Lagrang3
761c295199
renepay: uncertainty network update revisited
...
- Update the uncertainty network with the gossmap+local_gossmods,
- ignore channels that fail to give their capacity.
2024-05-08 22:32:13 -05:00
Lagrang3
fa199e21d2
renepay: minor fixes
2024-05-08 22:32:13 -05:00
Lagrang3
7ffb722b27
renepay: refactor uncertainty API
...
The uncertainty structure is updated based on the result of a route,
previously chan_extra and pay_flow were used instead.
2024-05-08 22:32:13 -05:00
Lagrang3
2a4a23a362
renepay: rename uncertainty_network for uncertanty
2024-05-08 22:32:13 -05:00