core-lightning/plugins
Rusty Russell 043895e2c6 build: fix rust parallel build race.
plugins/Makefile has target/${RUST_PROFILE}/cln-grpc depend on the
generated files via $(MSGGEN_GENALL), but cln-rpc/Makefile adds to
that variable, so needs to be included first.

Here's an example build error:

```
Combining schemas from /home/rusty/lightning-ltest/doc/schemas into /home/rusty/lightning-ltest/contrib/msggen/msggen/schema.json
Created /home/rusty/lightning-ltest/contrib/msggen/msggen/schema.json from 2 files
error: failed to run custom build command for `cln-grpc v0.3.0 (/home/rusty/lightning-ltest/cln-grpc)`

Caused by:
  process didn't exit successfully: `/home/rusty/lightning-ltest/target/debug/build/cln-grpc-95489e3ba33c0ab3/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=proto/node.proto
  cargo:rerun-if-changed=proto

  --- stderr
  thread 'main' panicked at cln-grpc/build.rs:7:10:
  called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "protoc failed: node.proto:134:52: \"AskreneageResponse\" is not defined.\nnode.proto:135:23: \"GetroutesRequest\" is not defined.\nnode.proto:135:50: \"GetroutesResponse\" is not defined.\nnode.proto:136:32: \"AskrenedisablenodeRequest\" is not defined.\nnode.proto:136:68: \"AskrenedisablenodeResponse\" is not defined.\nnode.proto:137:34: \"AskreneinformchannelRequest\" is not defined.\nnode.proto:137:72: \"AskreneinformchannelResponse\" is not defined.\nnode.proto:138:34: \"AskrenecreatechannelRequest\" is not defined.\nnode.proto:138:72: \"AskrenecreatechannelResponse\" is not defined.\nnode.proto:139:34: \"AskreneupdatechannelRequest\" is not defined.\nnode.proto:139:72: \"AskreneupdatechannelResponse\" is not defined.\nnode.proto:140:32: \"AskrenebiaschannelRequest\" is not defined.\nnode.proto:140:68: \"AskrenebiaschannelResponse\" is not defined.\nnode.proto:141:37: \"AskrenelistreservationsRequest\" is not defined.\nnode.proto:141:78: \"AskrenelistreservationsResponse\" is not defined.\nnode.proto:142:32: \"InjectpaymentonionRequest\" is not defined.\nnode.proto:142:68: \"InjectpaymentonionResponse\" is not defined.\nnode.proto:143:18: \"XpayRequest\" is not defined.\nnode.proto:143:40: \"XpayResponse\" is not defined.\nnode.proto:145:33: \"StreamBlockAddedRequest\" is not defined.\nnode.proto:145:74: \"BlockAddedNotification\" is not defined.\nnode.proto:146:40: \"StreamChannelOpenFailedRequest\" is not defined.\nnode.proto:146:88: \"ChannelOpenFailedNotification\" is not defined.\nnode.proto:147:36: \"StreamChannelOpenedRequest\" is not defined.\nnode.proto:147:80: \"ChannelOpenedNotification\" is not defined.\nnode.proto:148:30: \"StreamConnectRequest\" is not defined.\nnode.proto:148:68: \"PeerConnectNotification\" is not defined.\nnode.proto:149:32: \"StreamCustomMsgRequest\" is not defined.\nnode.proto:149:72: \"CustomMsgNotification\" is not defined.\n" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [plugins/Makefile:305: target/debug/cln-grpc] Error 101
make: *** Waiting for unfinished jobs....
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-02-11 08:40:29 -06:00
..
askrene askrene: don't crash, just report, when a flow's remaining capacity is negative. 2025-01-28 10:53:22 +10:30
bkpr wallet: save last known address. 2024-11-25 15:39:13 +10:30
examples cln-plugin: add multi options for String and i64 2024-08-13 12:24:45 +09:30
grpc-plugin rust: bump versions for 24.11 release 2024-12-10 09:37:30 +01:00
renepay ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
rest-plugin clnrest: Rename cln-rest to rest-plugin as per current naming standards 2025-02-10 14:24:59 +10:30
spender spender: fix multifundchannel ids. 2024-11-26 16:04:13 +10:30
src cln-plugin: Change default log level filter back to INFO 2024-09-17 12:00:27 +09:30
test libplugin-pay: trace payment_continue 2024-11-13 13:15:52 +01:00
wss-proxy build: Update poetry.lock files for CLN and built-in plugins 2025-01-15 10:36:43 -08:00
xpay xpay-handle-pay: don't assume bolt11 is non NULL 2025-02-06 12:46:38 -06:00
.gitignore gitignore: cln-xpay plugin 2024-11-26 21:45:19 +10:30
autoclean.c autoclean: rest between cleanup calls. 2024-11-12 10:42:18 +01:00
bcli.c libplugin: clean up API. 2024-11-07 17:04:35 +10:30
Cargo.toml rust: bump versions for 24.11 release 2024-12-10 09:37:30 +01:00
chanbackup.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
channel_hint.c libplugin-pay: use map for channel hints 2024-10-07 15:16:46 +02:00
channel_hint.h ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
commando.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
establish_onion_path.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
establish_onion_path.h fetchinvoice: use common/onion_message routines. 2024-07-17 10:57:11 +02:00
exposesecret.c plugins/exposesecret: fix for API change. 2024-11-13 13:24:06 +10:30
fetchinvoice.c fetchinvoice: check better. 2024-11-19 22:54:22 +01:00
fetchinvoice.h plugins/offers: neaten fetchinvoice integration. 2024-07-17 10:57:11 +02:00
funder.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
funder_policy.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
funder_policy.h libplugin: allow display of default values. 2024-05-15 15:50:54 -05:00
keysend.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
libplugin-pay.c pay: Print the HTLC result as soon as it's known 2025-01-30 09:35:50 +10:30
libplugin-pay.h libplugin-pay: always use a non-NULL struct command. 2024-11-07 17:04:35 +10:30
libplugin.c libplugin: allow aux_command use in init() 2024-11-18 11:03:26 +10:30
libplugin.h libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
Makefile build: fix rust parallel build race. 2025-02-11 08:40:29 -06:00
offers.c lightningd: simplify injectonionmessage API. 2024-12-05 17:38:16 +10:30
offers.h plugins: don't check for experimental-offers option: it's the default now. 2024-11-18 10:42:54 +01:00
offers_inv_hook.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
offers_inv_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_invreq_hook.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
offers_invreq_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_offer.c plugins: don't check for experimental-offers option: it's the default now. 2024-11-18 10:42:54 +01:00
offers_offer.h plugins: move fetchinvoice functionality into offers plugin. 2024-07-17 10:57:11 +02:00
pay.c ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
recklessrpc.c libplugin: clean up API. 2024-11-07 17:04:35 +10:30
recover.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
sql.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
topology.c ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
txprepare.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30

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