cln/plugins
Sangbida Chaudhuri e8a1694815 bwatch: notify watchman on block_processed
After bwatch persists a new tip, send a block_processed RPC to watchman
(lightningd) with the height and hash. bwatch only continues polling
for the next block once watchman has acknowledged that it has also
processed the new block height on its end.

This matters for crash safety: on restart we treat watchman's height as
the floor and re-fetch anything above it, so any block we acted on must
be visible to watchman before we move on.

If watchman isn't ready yet (e.g. lightningd still booting) the RPC
errors out non-fatally; we just reschedule and retry.
2026-05-11 15:51:05 +09:30
..
askrene getroutes: deprecate old vaguely named fields. 2026-05-11 13:51:52 +09:30
bip353-plugin crates: formatting with new 2024 edition rules 2026-04-24 15:48:06 +02:00
bkpr common: expose json_hex_to_be32/be64 2026-05-11 15:51:05 +09:30
bwatch bwatch: notify watchman on block_processed 2026-05-11 15:51:05 +09:30
currencyrate-plugin crates: upgraded dependencies to latest 1.85 compatible versions as of the commit time 2026-04-24 19:38:53 +02:00
examples crates: formatting with new 2024 edition rules 2026-04-24 15:48:06 +02:00
grpc-plugin crates: upgraded dependencies to latest 1.85 compatible versions as of the commit time 2026-04-24 19:38:53 +02:00
lsps-plugin lsps: remove unmaintained crate paste 2026-04-24 19:38:53 +02:00
renepay renepay: deprecate. 2026-05-11 13:51:52 +09:30
rest-plugin crates: upgraded dependencies to latest 1.85 compatible versions as of the commit time 2026-04-24 19:38:53 +02:00
spender splice-script: Round channel balances down 2026-04-29 11:43:27 +09:30
src cln-plugin: add support for structured logging dependencies 2026-04-24 19:38:36 +02:00
test offers: add createproof API. 2026-05-11 11:13:55 +09:30
wss-proxy-plugin crates: upgraded dependencies to latest 1.85 compatible versions as of the commit time 2026-04-24 19:38:53 +02:00
xpay common: extract param_string_array from xpay into common. 2026-05-11 15:51:05 +09:30
.gitignore lsps: Add service implementation for LSPS0 2025-05-02 13:34:21 -07:00
autoclean.c plugins: simplify datastore interfaces now callers have mkdatastorekey. 2026-03-23 14:03:17 +10:00
bcli.c bcli: replace magic numbers with constants 2026-02-18 14:16:29 +10:00
Cargo.toml crates: upgrade to 2024 rust edition 2026-04-24 15:48:06 +02:00
chanbackup.c chanbackup: Store the latest recvd peer storage only 2026-05-07 12:36:26 +10:00
channel_hint.c bitcoin: hash_scid and hash_scidd public functions. 2026-02-19 17:04:35 +10:30
channel_hint.h bitcoin: hash_scid and hash_scidd public functions. 2026-02-19 17:04:35 +10:30
commando.c common: implement tal_arr_append and tal_arr_appendn, and use them. 2026-05-11 13:51:52 +09:30
establish_onion_path.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
establish_onion_path.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
exposesecret.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
fetchinvoice.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fetchinvoice.h plugins: cancelrecurringinvoice command. 2025-10-01 15:31:30 +09:30
funder.c libplugin: hand command, not plugin, to parsing functions. 2026-03-23 14:03:17 +10:00
funder_policy.c libplugin: hand command, not plugin, to parsing functions. 2026-03-23 14:03:17 +10:00
funder_policy.h libplugin: hand command, not plugin, to parsing functions. 2026-03-23 14:03:17 +10:00
keysend.c keysend: deprecate in favor of xkeysend. 2026-05-11 13:51:52 +09:30
libplugin-pay.c common: add tal_free_if_taken() helper for common case. 2026-03-29 14:35:54 +10:30
libplugin-pay.h connectd, gossipd, pay, bcli: use timemono when solely measuring duration for timeouts. 2025-11-13 21:21:29 +10:30
libplugin.c libplugin: expose json_add_keypath. 2026-05-11 15:51:05 +09:30
libplugin.h libplugin: expose json_add_keypath. 2026-05-11 15:51:05 +09:30
Makefile bwatch: add wire format 2026-05-11 15:51:05 +09:30
offers.c offers: add createproof API. 2026-05-11 11:13:55 +09:30
offers.h offers: use amount hints in find_best_peer for blinded paths. 2026-04-02 10:36:10 +10:30
offers_inv_hook.c offers: use xpay. 2026-05-11 13:51:52 +09: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 common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09: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 Fix C comments which will accidentally trigger Python BOLT quote checker. 2026-04-30 12:17:43 +09:30
offers_offer.h plugins: move fetchinvoice functionality into offers plugin. 2024-07-17 10:57:11 +02:00
offers_proof.c offers: add createproof API. 2026-05-11 11:13:55 +09:30
offers_proof.h offers: add createproof API. 2026-05-11 11:13:55 +09:30
pay.c plugins: move listpays from pay plugin to xpay plugin. 2026-05-11 13:51:52 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
recklessrpc.c reckless: fail reckless rpc if executable fails 2026-03-18 14:11:01 +01:00
recover.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
sql.c sql: fix crash for large channelmoves tables. 2026-04-09 12:12:39 +09:30
topology.c getroute: deprecate in favor of getroutes 2026-05-11 13:51:52 +09:30
txprepare.c txprepare: fix withdraw returning unsigned transaction 2026-05-09 17:06:10 +09: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).