core-lightning/plugins
Rusty Russell 178415aca7 pay: handle returned errors more gracefully.
The code had incorrect assertions, partially because it didn't clearly
distinguish errors from the final node (which, barring blockheight issues,
mean a complete failre) and intermediate nodes.

In particular, we can't trust the *values*, so we need to distinguish
these by the *sender*.

If a route is of length 2 (A, B):
- erring_index == 0 means us complaining about channel A.
- erring_index == 1 means A.node complaining about channel B.
- erring_index == 2 means the final destination node B.node.

This is particularly of note because Travis does NOT run test_pay_routeboost!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-07-23 10:14:21 +09:30
..
.gitignore gitignore: extend with recently added build products 2020-02-21 09:44:41 +01:00
autoclean.c plugins: make the autoclean plugin static 2020-06-24 15:29:39 +02:00
bcli.c bcli cleanups 2020-05-20 06:09:24 +09:30
fundchannel.c libplugin: Add features to plugin_main and getmanifest 2020-04-16 18:03:35 +09:30
keysend.c tlv: Allow passing a raw pointer and a length to tlvstream_set_raw 2020-07-13 14:19:16 +02:00
libplugin-pay.c pay: handle returned errors more gracefully. 2020-07-23 10:14:21 +09:30
libplugin-pay.h mpp: Add CLI option to opt-out of multi-part payments 2020-07-15 11:32:58 +02:00
libplugin.c mpp: Add CLI option to opt-out of multi-part payments 2020-07-15 11:32:58 +02:00
libplugin.h mpp: Add CLI option to opt-out of multi-part payments 2020-07-15 11:32:58 +02:00
Makefile bitcoin/feerate: new exposure for feerate parsing outside lightningd. 2020-07-08 21:07:20 +02:00
pay.c plugin: Fix misspelled COMPAT_V090 compile guards 2020-07-18 11:40:02 +02:00
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00

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).