mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
This was checked with `gcc -S -O2` to see how an optimized build would compile the function. The original code completed calls into each child (and the `.s` file showed that GCC 9.x was not smart enough to do early-out). This modification explicitly does early-out, and avoids call-return stack overhead for the common case where a payment is an ancestor of a long line of single-child payments due to retrying. Changelog-None: pointless micro-optimization
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).