core-lightning/plugins/renepay
Rusty Russell c797b6fb20 libplugin: add method string to jsonrpc callbacks, implement generic helpers.
Without knowing what method was called, we can't have useful general logging
methods, so go through the pain of adding "const char *method" everywhere,
and add:

1. ignore_and_complete - we're done when jsonrpc returned
2. log_broken_and_complete - we're done, but emit BROKEN log.
3. plugin_broken_cb - if this happens, fail the plugin.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-11-07 17:04:35 +10: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: add test for description interface 2024-11-06 09:59:27 +01:00
json.h renepay: review routetracking 2024-08-12 13:27:34 -07:00
main.c libplugin: clean up API. 2024-11-07 17:04:35 +10:30
Makefile askrene: make sure we depend on libplugin.h 2024-11-07 17:04:35 +10:30
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 libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
mods.h renepay: payment state machine (mods) 2024-05-08 22:32:13 -05:00
payment_info.h renepay: add const probability cost 2024-08-15 16:46:41 +09:30
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
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 libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
routefail.h renepay: add routefail.c 2024-05-08 22:32:13 -05:00
routetracker.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
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