core-lightning/tests/plugins
niftynei 0e99f2e718 bkpr: add two custom notifications that we listen for
It might be nice to let the bookkeeper keep track of external accounts
as well as the internal onchain wallet? To this end, we add some new
custom notifications, which the bookkeeper will ingest and add to its
ledger.

Suggested-By: @chrisguida

Changelog-Added: PLUGINS: `bookkeeper` now listens for two custom events: `utxo_deposit` and `utxo_spend`. This allows for 3rd party plugins to send onchain coin events to the `bookkeeper`.  See the new plugins/bkpr/README.md for details on how these work!
2024-08-09 10:21:44 +09:30
..
bitcoin pyln: Set the bitcoin datadir when running tests 2020-05-05 13:28:54 +09:30
all_notifications.py pyln: add ability to subscribe to all notifications. 2023-07-13 18:59:37 +09:30
allow_even_msgs.py pytest: test for accepting even unknown messages. 2023-10-24 11:50:57 +10:30
asynctest.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
badestimate.py pytest: Fix elementsd tests 2023-09-26 19:21:05 +02:00
badinterp.py pytest: test (failing) for not crashing if plugin fails to exec via plugin startdir 2023-08-18 13:18:49 +09:30
badopeningd.sh lightningd: pass --developer down to plugins, subdaemons when it set. 2023-09-21 20:08:24 +09:30
balance_snaps.py balance-snaps: add a balance_snapshot event; fires after first catchup 2021-12-28 04:42:42 +10:30
block_added.py tests: notification response fixes 2023-07-10 14:51:11 +09:30
bookkeeper_custom_coins.py bkpr: add two custom notifications that we listen for 2024-08-09 10:21:44 +09:30
broken.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
clnrest-use-options.py lightningd: fix up deprecated rest-port, rest-protocol, rest-host and rest-certs option if we would otherwise fail. 2023-11-17 10:51:41 +01:00
coin_movements.py test plugins/coin_moves: clean up/tidy coin moves plugin logic 2021-12-28 04:42:42 +10:30
countdown.py pytest: Test LightningRpc and plugin command notification support 2021-01-07 08:32:40 +01:00
currencyUSDAUD5000.py offer: allow offers in other currencies if we can convert. 2021-01-09 12:45:31 +01:00
custom_notifications.py pay: Add notification for pay_success 2021-05-03 11:20:15 +09:30
custommsg_a.py plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
custommsg_b.py plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
custommsg_notification.py Implement tests for notifications on custommsg 2023-12-16 11:36:42 +10:30
dbdummy.py lightningd/plugin_hook.c: Make db_write a chained hook. 2020-11-30 10:40:11 +10:30
dblog.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
dep_a.py pyln: add support for dependent hooks. 2020-11-09 15:22:33 -06:00
dep_b.py pyln: add support for dependent hooks. 2020-11-09 15:22:33 -06:00
dep_c.py pyln: add support for dependent hooks. 2020-11-09 15:22:33 -06:00
dep_d.py pytest: test that we maintain load order unless hook deps require a change. 2020-11-09 15:22:33 -06:00
dep_e.py pytest: test that we maintain load order unless hook deps require a change. 2020-11-09 15:22:33 -06:00
dynamic_option.py pyln-client: allow dynamic option setter to throw exceptions 2024-06-20 17:20:06 +09:30
endlesswaitblockheight.py pytest: Reproduce waitblockheight timeout issue #4309 2021-01-08 09:19:24 +01:00
fail_by_itself.py pytest: add test for a plugin which falls over outside a command. 2020-05-05 13:45:17 +09:30
fail_htlcs.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
fail_htlcs_invalid.py tests/test_pay.py: Add test to replicate #3757. 2020-06-23 12:48:20 +09:30
feature-test.py pytest: fix feature mask for EXPERIMENTAL_FEATURES, add wumbo support. 2020-05-26 19:57:29 -05:00
forward_payment_status.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
hold_htlcs.py pytest: Reproduce issue #3847 2020-07-18 11:40:02 +02:00
hold_invoice.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
hook-chain-even.py plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
hook-chain-odd.py plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
hook-crash.py plugin: Ensure RPC passthrough calls are terminated when plugin dies 2020-04-14 11:07:55 +09:30
htlc_accepted-crash.py pytest: Add a test to reproduce #3748 2020-09-10 10:27:24 +09:30
htlc_accepted-failmessage.py lightningd: remove failure_code from invoice hook and htlc_accepted hook. 2024-03-25 15:02:35 +10:30
htlc_accepted-failonion.py failure_onion: a test that only ensures lightningd doesn't crash. 2020-11-10 19:03:23 -06:00
htlc_accepted-fwdto.py lightningd: figure out optimal channel *before* forward_htlc hook. 2022-09-26 13:52:04 +02:00
log.py pytest: test for filtering bug. 2023-08-06 14:37:49 +09:30
Makefile Makefile: use a library archive for CCAN 2022-07-17 08:51:02 +09:30
millisatoshis.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
misc_notifications.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
no_fail.py renepay: fix sources 2024-05-08 22:32:13 -05:00
notify.py pytest: add notifications to tests. 2020-10-23 13:53:16 +10:30
notify2.py pytest: add notifications to tests. 2020-10-23 13:53:16 +10:30
onionmessage-reply.py lightningd: rename sendonionmessage to sendobsonionmessage. 2021-09-22 06:44:26 +09:30
openchannel_hook_accept.py tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks 2021-05-03 11:06:10 +09:30
openchannel_hook_accepter.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
openchannel_hook_delay.py pytest: test pay during channel open 2024-04-30 14:52:22 -05:00
openchannel_hook_reject.py tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks 2021-05-03 11:06:10 +09:30
options.py pytest: test plugin does not register same option "name" 2022-07-10 21:09:41 -05:00
peer_connected_logger_a.py pytest: check for remote_addr 2022-02-22 05:45:47 +10:30
peer_connected_logger_b.py pytest: check for remote_addr 2022-02-22 05:45:47 +10:30
pretend_badlog.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
print_htlc_onion.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
reject.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
reject_odd_funding_amounts.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
reject_some_invoices.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
replace_payload.py pytest: Fix a typo in a test plugin 2020-08-30 20:03:42 +02:00
rpc_command_1.py lightningd: mark explicitly what commands are dev-only. 2023-09-21 20:08:24 +09:30
rpc_command_2.py pytest: test rpc_command hook chain 2021-03-03 09:18:53 +10:30
selfdisable.py pyln-client: document and test that init can self-disable. 2021-08-14 12:52:19 +09:30
sendpay_notifications.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
shortcircuit.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
show_feature_set.py plugins: add feature_set to init object. 2020-04-03 13:13:21 +10:30
slow_init.py pytest: test loading all plugins at once, including failing ones. 2020-05-05 13:45:17 +09:30
slow_start.py connectd: Update connection list with new address 2020-11-16 20:00:51 -06:00
sphinx-receiver.py pytest: Add test for keysend extra-tlvs 2021-06-26 10:55:13 +09:30
static.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
suicidal_plugin.py tests/test_plugin.py: Add test for --important-plugin. 2020-08-04 13:27:51 -05:00
test_libplugin.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
test_selfdisable_after_getmanifest.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
utf8.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
watchtower.py pytest: test new commitment_revocation hook values 2021-09-04 11:54:33 +09:30
zeroconf-selective.py pytest: fix default/description order in zeroconf test plugin. 2024-06-20 17:20:06 +09:30
zeroreserve.py pytest: Add a zeroreserve test 2022-09-21 11:25:47 +02:00