mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
Now we have streams and a global object, we can use them for io_plans. This makes the logic closer from lightningd/plugin (it has been mostly stolen from here), and simplifies the main. This also allows plugins to use io_plans (thanks to the io_loop) for asynchronous connections. This commit only handle incoming commands.
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).