rgb-cln/plugins
Matt Whitlock 1f79aad830 common/utils: introduce tmpdir_mkstemp; use it
Various unit tests were creating temporary files unconditionally in /tmp
and were not cleaning up after themselves. Introduce a new variant of
mkstemp(3p) that respects the TMPDIR environment variable, and use it in
the offending unit tests. This allows each test run to use a dedicated
TMPDIR that can be cleaned up after the run.

Changelog-None

Signed-off-by: Matt Whitlock <c-lightning@mattwhitlock.name>
2021-12-06 09:20:27 +10:30
..
spender Fix typo in the error message. 2021-10-30 11:12:21 +02:00
test common/utils: introduce tmpdir_mkstemp; use it 2021-12-06 09:20:27 +10:30
.gitignore sort alphabetically 2021-06-28 14:43:47 +09:30
Makefile plugins/Makefile: improve header dependencies. 2021-12-01 05:44:28 +10:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
autoclean.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bcli.c bcli: Accept "already in chain" errors as success 2021-09-22 09:08:48 +09:30
fetchinvoice.c bolt12: remove deprecated `chains` fields 2021-12-01 05:44:28 +10:30
funder.c plugins/libplugin.c: Allow freeing notification `struct command *`. 2021-10-08 14:40:04 +10:30
funder_policy.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
funder_policy.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
keysend.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
libplugin-pay.c Add route exclusion payment modifier and pay rpc exclude arg 2021-12-04 21:37:42 +10:30
libplugin-pay.h Add route exclusion payment modifier and pay rpc exclude arg 2021-12-04 21:37:42 +10:30
libplugin.c plugins/libplugin.c: Allow freeing notification `struct command *`. 2021-10-08 14:40:04 +10:30
libplugin.h plugins/libplugin.c: Allow freeing notification `struct command *`. 2021-10-08 14:40:04 +10:30
offers.c bolt12: remove deprecated `chains` fields 2021-12-01 05:44:28 +10:30
offers.h lightningd: Send updated onion spec messages. 2021-12-01 05:44:28 +10:30
offers_inv_hook.c bolt12: remove deprecated `chains` fields 2021-12-01 05:44:28 +10:30
offers_inv_hook.h gossipd: handle receipt of modern onion message. 2021-12-01 05:44:28 +10:30
offers_invreq_hook.c bolt12: remove deprecated `chains` fields 2021-12-01 05:44:28 +10:30
offers_invreq_hook.h gossipd: handle receipt of modern onion message. 2021-12-01 05:44:28 +10:30
offers_offer.c bolt12: update to latest spec. 2021-10-08 13:47:30 +02:00
offers_offer.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
pay.c Add route exclusion payment modifier and pay rpc exclude arg 2021-12-04 21:37:42 +10:30
topology.c refactor: move exclude parsing to json_tok 2021-12-04 21:37:42 +10:30
txprepare.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +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).