core-lightning/plugins
Rusty Russell ad1e1bd528 plugins: minimal 'pay' plugin.
I wrote this sync first, then rewrote async, then developed libplugin.
But committing all that just wastes reviewer time, so I present it as
if it was always asnc and using the library helper.

Currently the command it registers is 'pay2', but when it's complete
we'll remove the internal 'pay' and rename it. This does a single
'getroute/sendpay' call.  No retries, no options.

Shockingly, this by itself is almost sufficient to pass our current test
suite with `pay`->`pay2`.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-17 13:02:24 +01:00
..
.gitignore plugins: minimal 'pay' plugin. 2019-01-17 13:02:24 +01:00
libplugin.c plugin/libplugin: API for C plugins. 2019-01-17 13:02:24 +01:00
libplugin.h plugin/libplugin: API for C plugins. 2019-01-17 13:02:24 +01:00
Makefile plugins: minimal 'pay' plugin. 2019-01-17 13:02:24 +01:00
pay.c plugins: minimal 'pay' plugin. 2019-01-17 13:02:24 +01:00
README.md

Plugin Directory

Anything file in this directory which is executable and doesn't start and doesn't contain ASCII symbols other than '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).