mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
Changelog-None: cleanup only. Before this change: ``` $ ls -l plugins/bcli -rwxrwxr-x 1 zmnscpxj zmnscpxj 1914976 Aug 5 21:54 plugins/bcli ``` After this change: ``` $ ls -l plugins/bcli -rwxrwxr-x 1 zmnscpxj zmnscpxj 1830552 Aug 5 22:00 plugins/bcli ``` We already duplicate a lot of code between `lightningd` and eeach builtin plugin because we do not use .so for `common/`, but including an object file with code that is not referenced in the executable is fairly low-hanging size optimization fruit.
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).