core-lightning/plugins/renepay
Rusty Russell 679f46f733 common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero.
I used `amount_msat_eq(x, AMOUNT_MSAT(0))` because I forgot this
function existed.  I probably missed it because the name is surprising,
so add "is" in there to make it clear it's a boolean function.

You'll note almost all the places which did use it are Eduardo's and
Lisa's code, so maybe it's just me.

Fix up a few places which I could use it, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-09-19 12:16:53 +09:30
..
test renepay: add precondition check + error msg 2024-08-19 10:11:35 -07:00
chan_extra.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
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 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
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 renepay: take it easy with local channels 2024-08-19 10:11:35 -07:00
uncertainty.h renepay: take it easy with local channels 2024-08-19 10:11:35 -07:00