core-lightning/plugins
Rusty Russell a6d4756d08 commando: make rune alternatives a JSON array.
This avoids having to escape | or &, though we still allow that for
the deprecation period.

To detect deprecated usage, we insist that alternatives are *always*
an array (which could be loosened later), but that also means that
restrictions must *always* be an array for now.

Before:

```
# invoice, description either A or B
lightning-cli commando-rune '["method=invoice","pnamedescription=A|pnamedescription=B"]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '["method=invoice","pnamedescription=A\\|B"]'
```

After:

```
# invoice, description either A or B
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A", "pnamedescription=B"]]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A|B"]]'
```

Changelog-Deprecated: JSON-RPC: `commando-rune` restrictions is always an array, each element an array of alternatives.  Replaces a string with `|`-separators, so no escaping necessary except for `\\`.
2022-09-14 17:46:43 +02:00
..
bkpr bkpr: migration to delete any duplicate lease_fee entries 2022-09-14 15:59:37 +09:30
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 v2open: dont rely on ordering of interprocess messages 2022-07-27 19:31:04 +09:30
src cln-plugin: Notify waiting tasks if the lightningd connection closes 2022-07-21 14:19:06 +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
autoclean.c plugin: autoclean fix double free when re-enable, remove xfail mark from test_ 2022-07-16 14:19:05 +09:30
bcli.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
Cargo.toml cln-plugin: Fix plugin dependencies 2022-07-21 14:19:06 +09:30
chanbackup.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
commando.c commando: make rune alternatives a JSON array. 2022-09-14 17:46:43 +02:00
fetchinvoice.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +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
funder.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
keysend.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
libplugin-pay.c Remove general shadowed variables. 2022-08-31 12:18:28 +03: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: allow NULL calllbacks for jsonrpc_set_datastore. 2022-09-12 14:00:41 +02:00
libplugin.h libplugin: allow NULL calllbacks for jsonrpc_set_datastore. 2022-09-12 14:00:41 +02:00
Makefile plugins/Makefile: put bitcoin/chainparams.o in PLUGIN_COMMON_OBJS since everyone needs it. 2022-07-28 12:08:18 +09:30
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
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
pay.c pay: Aggregate completed_at in listpays and pay 2022-09-14 13:14:10 +02:00
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
topology.c listchannels: don't show "htlc_maximum_msat" if channel_update didn't set it. 2022-09-12 09:34:52 +09:30
txprepare.c Remove general shadowed variables. 2022-08-31 12:18:28 +03:00

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