core-lightning/plugins
Rusty Russell 6a8cd9a016 libplugin: allow freeing in timer callback, clarify docs, allow nested timers.
1. Allow timers to be freed in their callback.
2. Clarify in header that we have to terminate our timer with timer_finished()
   eventually.
3. We don't currently have plugins with more than one outstanding timer, but
   it certainly would be possible, so fix in_timer to be a counter.

Suggested-by: @ZmnSCPxj
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-22 00:18:29 +02:00
..
.gitignore plugins: minimal 'pay' plugin. 2019-01-17 13:02:24 +01:00
libplugin.c libplugin: allow freeing in timer callback, clarify docs, allow nested timers. 2019-05-22 00:18:29 +02:00
libplugin.h libplugin: allow freeing in timer callback, clarify docs, allow nested timers. 2019-05-22 00:18:29 +02:00
Makefile common/node_id: new type. 2019-04-09 12:37:16 -07:00
pay.c libplugin: support options. 2019-05-22 00:18:29 +02: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).