Files
palladum-lightning/plugins/renepay/Makefile
Lagrang3 5b7f0eacf4 renepay: add rpc that replaces sendpay
Add an rpc to renepay that is similar to sendpay that
handles BOLT11 and BOLT12 payments.
This is not the most elegant solution but it is a workaround
until we implement it into lightningd which has more development
friction.

Changelog-None.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
2025-02-12 13:36:06 +10:30

51 lines
1.8 KiB
Makefile

PLUGIN_RENEPAY_SRC := \
plugins/renepay/main.c \
plugins/renepay/flow.c \
plugins/renepay/mcf.c \
plugins/renepay/dijkstra.c \
plugins/renepay/disabledmap.c \
plugins/renepay/payment.c \
plugins/renepay/chan_extra.c \
plugins/renepay/route.c \
plugins/renepay/routebuilder.c \
plugins/renepay/routetracker.c \
plugins/renepay/routefail.c \
plugins/renepay/sendpay.c \
plugins/renepay/uncertainty.c \
plugins/renepay/mods.c \
plugins/renepay/errorcodes.c \
plugins/renepay/json.c
PLUGIN_RENEPAY_HDRS := \
plugins/renepay/payplugin.h \
plugins/renepay/flow.h \
plugins/renepay/mcf.h \
plugins/renepay/dijkstra.h \
plugins/renepay/disabledmap.h \
plugins/renepay/payment.h \
plugins/renepay/payment_info.h \
plugins/renepay/chan_extra.h \
plugins/renepay/renepayconfig.h \
plugins/renepay/route.h \
plugins/renepay/routebuilder.h \
plugins/renepay/routetracker.h \
plugins/renepay/routefail.h \
plugins/renepay/sendpay.h \
plugins/renepay/uncertainty.h \
plugins/renepay/mods.h \
plugins/renepay/errorcodes.h \
plugins/renepay/json.c
PLUGIN_RENEPAY_OBJS := $(PLUGIN_RENEPAY_SRC:.c=.o)
# Make sure these depend on everything.
PLUGIN_ALL_SRC += $(PLUGIN_RENEPAY_SRC)
PLUGIN_ALL_HEADER += $(PLUGIN_RENEPAY_HDRS)
# Make all plugins depend on all plugin headers, for simplicity.
$(PLUGIN_RENEPAY_OBJS): $(PLUGIN_RENEPAY_HDRS)
plugins/cln-renepay: $(PLUGIN_RENEPAY_OBJS) $(PLUGIN_LIB_OBJS) $(PLUGIN_COMMON_OBJS) $(JSMN_OBJS) $(CCAN_OBJS) bitcoin/chainparams.o common/gossmap.o common/gossmods_listpeerchannels.o common/fp16.o common/dijkstra.o common/bolt12.o common/bolt12_merkle.o common/sciddir_or_pubkey.o wire/bolt12_wiregen.o wire/onion_wiregen.o common/sphinx.o common/onion_encode.o common/hmac.o common/onionreply.o
include plugins/renepay/test/Makefile