rgb-cln/plugins
Rusty Russell 8b7a8265e7 libplugin: avoid memmove if we have many outputs to lightningd.
Use linked list, not an array.

```
+   97.89%     0.01%  autoclean  autoclean             [.] next_plan
-   97.08%     0.01%  autoclean  autoclean             [.] json_stream_output_write
   - 97.06% json_stream_output_write
      - 84.29% ld_stream_complete
         - 83.87% tal_arr_remove_
            + 83.71% __memcpy_avx_unaligned_erms (inlined)
      + 12.76% rpc_stream_complete
+   96.59%     0.03%  autoclean  autoclean             [.] tal_arr_remove_
+   96.48%     0.00%  autoclean  libc.so.6             [.] __memcpy_avx_unaligned_erms (inlined)
+   94.98%    94.98%  autoclean  libc.so.6             [.] __memmove_avx_unaligned_erms
+   84.29%     0.01%  autoclean  autoclean             [.] ld_stream_complete
+   12.76%     0.00%  autoclean  autoclean             [.] rpc_stream_complete
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-22 15:19:46 +02:00
..
bkpr libplugin: avoid memmove if we have many outputs to lightningd. 2022-09-22 15:19:46 +02:00
examples cln-plugin: Handle --help invocations better 2022-04-11 15:20:32 +09:30
grpc-plugin cln-plugin: Notify waiting tasks if the lightningd connection closes 2022-07-21 14:19:06 +09:30
spender openingd: Add `reserve` to `fundchannel` and `multifundchannel` 2022-09-21 11:25:47 +02:00
src cln-rpc: allow id to be any token. 2022-09-16 12:31:45 +09:30
test lightningd: don't explicitly tell connectd to disconnect, have it do it on sending error/warning. 2022-07-18 20:50:04 -05:00
.gitignore bookkeep: first commit, stub of new plugin 2022-07-28 12:08:18 +09:30
Cargo.toml cln-plugin: Fix plugin dependencies 2022-07-21 14:19:06 +09:30
Makefile plugins/Makefile: regenerate plugins list when config changes. 2022-09-16 12:31:45 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
autoclean.c autoclean: remove per-delete debugging messages. 2022-09-22 15:19:46 +02:00
bcli.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
chanbackup.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
commando.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
fetchinvoice.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
funder.c memleak: simplify API. 2022-09-19 11:34:42 +09:30
funder_policy.c daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30
funder_policy.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30
keysend.c keysend: allow extratlvs parameter, even in non-experimental mode. 2022-09-22 17:19:11 +09:30
libplugin-pay.c pay: If the channel_hint matches our allocation allow it 2022-09-21 11:25:47 +02:00
libplugin-pay.h pay: Populate the channel hints with either the scid or the alias 2022-07-04 22:14:06 +02:00
libplugin.c libplugin: avoid memmove if we have many outputs to lightningd. 2022-09-22 15:19:46 +02:00
libplugin.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
offers.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
offers.h common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
offers_inv_hook.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
offers_inv_hook.h connectd: restore obs2 onion support. 2022-03-29 10:55:12 +10:30
offers_invreq_hook.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
offers_invreq_hook.h connectd: restore obs2 onion support. 2022-03-29 10:55:12 +10:30
offers_offer.c offers: update to remove "vendor" and "timestamp" fields. 2022-09-12 09:34:52 +09:30
offers_offer.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
pay.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
topology.c memleak: simplify API. 2022-09-19 11:34:42 +09:30
txprepare.c memleak: simplify API. 2022-09-19 11:34:42 +09:30

README.md

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).