core-lightning/plugins
Christian Decker 40e9d60ce0 pay: Do not clobber error messages if we fail decoding a bolt11
We were automatically falling back to bolt12 decoding, clobbering the
fail message. Ultimately resulting in confusing error
messages (expected prefix lni but got lnbtrc). Now we first determine
which decoding we're trying to do, and then only decode accordingly.

Changelog-Fixed: pay: Report the correct decoding error if bolt11 parsing fails.
2021-03-11 14:09:51 +10:30
..
spender df-spec: consolidate dual-funding patches, update feerate protocol 2021-03-09 14:55:05 +10:30
.gitignore plugins: add txprepare to .gitignore 2020-12-04 11:30:58 +10:30
autoclean.c libplugin: make init return a string. 2021-01-13 14:45:36 +01:00
bcli.c plugins/bcli: fake minimum fee if we're in regtest mode. 2021-03-02 13:34:55 +10:30
fetchinvoice.c fetchinvoice: don't abort() if we try to fetch an invoice from ourselves. 2021-01-14 11:12:11 +01:00
keysend.c keysend: Set an error message if we abort due to missing TLV 2021-03-11 14:09:51 +10:30
libplugin-pay.c pay: Abort the payment if destination is unreachable 2021-03-11 14:09:51 +10:30
libplugin-pay.h libplugin: Introduce payment_abort to terminate a payment 2021-03-11 14:09:51 +10:30
libplugin.c libplugin: make init return a string. 2021-01-13 14:45:36 +01:00
libplugin.h libplugin: make init return a string. 2021-01-13 14:45:36 +01:00
Makefile common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
offers_inv_hook.c common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 2021-01-09 12:45:31 +01:00
offers_inv_hook.h plugins/offer: handle receiving an invoice in an onion_message. 2021-01-09 14:34:35 +10:30
offers_invreq_hook.c offers: handle re-fetching the same invoice twice. 2021-02-25 14:44:03 +10:30
offers_invreq_hook.h plugins/offers: add code to catch invoice_request onion messages. 2020-12-23 14:24:39 +01:00
offers_offer.c offer: allow offers in other currencies if we can convert. 2021-01-09 12:45:31 +01:00
offers_offer.h offers: split offer send_invoice generation into new JSON command 2021-01-09 14:34:35 +10:30
offers.c offers: make it a runtime option. 2021-01-13 14:45:36 +01:00
offers.h plugin/offers: hoist send_onion_reply into core. 2021-01-09 14:34:35 +10:30
pay.c pay: Do not clobber error messages if we fail decoding a bolt11 2021-03-11 14:09:51 +10:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
txprepare.c txprepare: Verify that outputs arg is an array 2020-12-09 06:56:21 +10: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).