mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
We would create a `struct commando` to marshal our incoming messages, then try_command would create a *new* one. We can simply reuse, but when I did I noticed a trick: the new one was not in the `incomings` array, so didn't work towards the ratelimit. So we need to remove it from `incomings` in `try_command`, but at least it's now explicit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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).