core-lightning/plugins
Rusty Russell 8b84c8945b clnrest: don't convert *_msat fields to strings.
We have a global JSON encoder hack, which means that any field ending in msat gets special treatment (so we can safely talk to lightningd, even if a field expects satoshi amounts, we are explicit).  However, requests uses the JSON parser and DOES NOT want this conversion when sending it out as an HTTP response!

The simplest local fix we could find was Shahana's suggestion to iterate and covert away from Millisatoshi(): the reverse of what our JSON encoder does.

Fixes: https://github.com/ElementsProject/lightning/issues/6848
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-11-16 09:07:07 +01:00
..
bkpr db: remove #if DEVELOPER in favor of runtime flag inside db struct. 2023-09-21 20:08:24 +09:30
clnrest clnrest: don't convert *_msat fields to strings. 2023-11-16 09:07:07 +01:00
examples cln-plugin: Add test for cln-plugin send_custom_notification 2023-10-30 18:24:23 +01:00
grpc-plugin rs: Fix the manifests for publication 2023-10-26 15:51:07 +02:00
renepay renepay: work around change in fundchannel in tests. 2023-10-04 08:02:33 +10:30
spender dual-fund: don't re-notify plugin on arrival of sigs (2nd time) 2023-11-02 19:32:05 +10:30
src cln-plugin: don't require redundant method reference 2023-10-30 18:24:23 +01:00
test renepay: make pay_plugin a tal object. 2023-08-12 09:41:24 +09:30
.gitignore meta: ignore renepay binary 2023-08-21 10:35:41 +09:30
autoclean.c autoclean: allow dynamic changes to autoclean-cycle. 2023-06-20 20:08:25 +09:30
bcli.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
Cargo.toml rs: Fix the manifests for publication 2023-10-26 15:51:07 +02:00
chanbackup.c chanbackup: even if they enable experimental-peer-storage, check peers 2023-03-08 18:46:21 -06:00
commando.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
fetchinvoice.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
funder.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
funder_policy.c libplugin: make set callback for options take plugin ptr, check correct type. 2023-06-20 20:08:25 +09:30
funder_policy.h libplugin: make set callback for options take plugin ptr, check correct type. 2023-06-20 20:08:25 +09:30
keysend.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
libplugin-pay.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
libplugin-pay.h plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
libplugin.c common/memleak: implement callback arg for dump_memleak. 2023-10-03 10:05:55 +02:00
libplugin.h plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
Makefile fallback: json add fallback cleanup 2023-10-26 19:11:17 +10:30
offers.c plugins/offers: Extend the capability of decode to decrypt the contents of emergency.recover file. 2023-10-27 16:05:28 +10:30
offers.h common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_inv_hook.c lightningd: re-add 'offerout' functionality, as 'invoicerequest'. 2022-11-09 15:08:03 +01:00
offers_inv_hook.h lightningd: re-add 'offerout' functionality, as 'invoicerequest'. 2022-11-09 15:08:03 +01:00
offers_invreq_hook.c offers: fix pay where we are using deprecated apis. 2023-02-03 16:59:51 +01:00
offers_invreq_hook.h offers: create a real blinded path, if necessary. 2022-11-09 15:08:03 +01:00
offers_offer.c offers: enable label for invoicerequest 2023-03-09 06:56:06 -06:00
offers_offer.h lightningd: re-add 'offerout' functionality, as 'invoicerequest'. 2022-11-09 15:08:03 +01:00
pay.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
sql.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
topology.c plugins/topology: convert listpeerchannels into local overlay. 2023-10-04 08:02:33 +10:30
txprepare.c plugins: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30

Plugin Directory

Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).