core-lightning/plugins
Rusty Russell 2b72ebb3b6 plugins/pay: implement routeboost hints, naive version.
We sanitize the routes: firstly, we assume appending so eliminate the
first hop if the route points straight to us.  Secondly, eliminate empty
hints.  Thirdly, trim overlong hints.

Then we just use the first route hint.

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/pay: get our own id during init phase. 2019-01-17 13:02:24 +01:00
pay.c plugins/pay: implement routeboost hints, naive version. 2019-01-17 13:02:24 +01:00
README.md plugins: add and install built-in plugin dir, add clear and disable options. 2018-12-05 01:22:55 +01:00

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