lightning/plugins/askrene
Lagrang3 35f899a588 fetch max total htlc value from listpeerchannel
The parameter max_htlc_value_in_flight_msat stablished by peers on
channel opening (BOLT02) can now be retrived from the
gossmods_from_listpeerchannels API.

Adapted the corresponding callback functions in renepay and askrene to
take into account that value as a constraint to the value we can send
through a channel.

Changelog-Add: fetch max_htlc_value_in_flight_msat from gossmods_listpeerchannels API

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
2025-02-21 17:03:36 -06:00
..
test askrene: add compiler flag ASKRENE_UNITTEST 2024-11-21 16:17:52 +10:30
algorithm.c askrene: bugfix queue overflow 2024-11-21 16:17:52 +10:30
algorithm.h askrene: add mcf_refinement to the public API 2024-11-21 16:17:52 +10:30
askrene.c fetch max total htlc value from listpeerchannel 2025-02-21 17:03:36 -06:00
askrene.h askrene: persistent layer support. 2024-11-08 21:48:55 +10:30
dijkstra.c askrene: copy flow and dijkstra from renepay. 2024-08-07 20:35:30 +09:30
dijkstra.h askrene: copy flow and dijkstra from renepay. 2024-08-07 20:35:30 +09:30
explain_failure.c askrene: don't include impossible channels in the MCF graph. 2025-02-14 15:18:48 +10:30
explain_failure.h askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30
flow.c askrene: remove flowset_probability() now refine step calculates it. 2024-10-15 09:58:04 +10:30
flow.h askrene: expose fmt_flow_full and make more generic. 2025-01-28 10:53:22 +10:30
graph.c askrene: remove allocation checks 2024-11-21 16:17:52 +10:30
graph.h askrene: small fixes suggested by Rusty Russell 2024-11-21 16:17:52 +10:30
layer.c ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
layer.h askrene: really fix race between layer creation and persistent layer loading. 2024-11-26 16:04:13 +10:30
Makefile askrene: add graph algorithms module 2024-11-21 16:17:52 +10:30
mcf.c askrene: remove all small channels if there's no MPP support. 2025-02-14 22:17:21 +10:30
mcf.h askrene: remove all small channels if there's no MPP support. 2025-02-14 22:17:21 +10:30
priorityqueue.c askrene: add priorityqueue 2024-11-21 16:17:52 +10:30
priorityqueue.h askrene: add priorityqueue 2024-11-21 16:17:52 +10:30
refine.c askrene: don't crash, just report, when a flow's remaining capacity is negative. 2025-01-28 10:53:22 +10:30
refine.h askrene: use refine step to calculate flowset probability. 2024-10-15 09:58:04 +10:30
reserve.c ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
reserve.h askrene: give better feedback when we can't find a suitable route. 2024-10-04 11:27:53 +09:30