core-lightning/plugins/renepay
Rusty Russell 5052f0763f gossmap: keep capacity for locally-generated channels as well.
It was weird not to have a capacity associated with localmods channels, and
fixing it has some very nice side effects.

Now the gossmap_chan_get_capacity() call never fails (we prevented reading
of channels from gossmap in the partially-written case already), so we
make it return the capacity.  We do this in msat, because that's what
all the callers want.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-04 11:27:53 +09:30
..
test gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
chan_extra.c gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
chan_extra.h renepay: take it easy with local channels 2024-08-19 10:11:35 -07:00
dijkstra.c plugins/renepay/dijkstra: improve API to remove global. 2023-07-31 12:58:56 +09:30
dijkstra.h plugins/renepay/dijkstra: improve API to remove global. 2023-07-31 12:58:56 +09:30
disabledmap.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
disabledmap.h renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
errorcodes.c renepay: minor fixes 2024-05-08 22:32:13 -05:00
errorcodes.h renepay: minor fixes 2024-05-08 22:32:13 -05:00
flow.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
flow.h renepay: add precondition check + error msg 2024-08-19 10:11:35 -07:00
json.c renepay: review routetracking 2024-08-12 13:27:34 -07:00
json.h renepay: review routetracking 2024-08-12 13:27:34 -07:00
main.c renepay: add const probability cost 2024-08-15 16:46:41 +09:30
Makefile renepay: put global variables into renepayconfig.h 2024-05-23 15:15:57 -05:00
mcf.c renepay: bugfix reserved htlc in MCF 2024-08-19 10:11:35 -07:00
mcf.h renepay: add const probability cost 2024-08-15 16:46:41 +09:30
mods.c gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
mods.h renepay: payment state machine (mods) 2024-05-08 22:32:13 -05:00
payment.c renepay: add const probability cost 2024-08-15 16:46:41 +09:30
payment.h renepay: add const probability cost 2024-08-15 16:46:41 +09:30
payment_info.h renepay: add const probability cost 2024-08-15 16:46:41 +09:30
payplugin.h renepay: remove unnecessary payment list 2024-08-12 13:27:34 -07:00
renepayconfig.h renepay: small tweak to decay time 2024-08-12 13:17:21 -07:00
route.c renepay: a bit more verbose information in logs 2024-05-08 22:32:13 -05:00
route.h renepay: remove payment from route 2024-05-08 22:32:13 -05:00
routebuilder.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
routebuilder.h renepay: fix sources 2024-05-08 22:32:13 -05:00
routefail.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
routefail.h renepay: add routefail.c 2024-05-08 22:32:13 -05:00
routetracker.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
routetracker.h renepay: rethink the computed routes storage 2024-08-12 13:27:34 -07:00
uncertainty.c gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
uncertainty.h renepay: take it easy with local channels 2024-08-19 10:11:35 -07:00