core-lightning/tests/plugins
Christian Decker ebb1b19c65 plugin: Fix the custommsg hook not to include the internal prefix
We were always prefixing the `message` field with the internal type
prefix 0x0407, followed by the length prefix. Neither is needed since
the type being constant is of no interest to the plugin and the length
being implicit due to the JSON-encoding.

Reported-by: Ilya Evdokimov
Changelog-Fixed: plugin: The `custommsg` hook no longer includes the internal type prefix and length prefix in its `payload`
Changelog-Deprecated: plugin: The `message` field on the `custommsg` hook is deprecated in favor of the `payload` field, which skips the internal prefix.
2021-03-02 14:41:16 +10:30
..
bitcoin pyln: Set the bitcoin datadir when running tests 2020-05-05 13:28:54 +09:30
asynctest.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
broken.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
coin_movements.py coins: use the chain's BIP173 name instead of a 'unit of account' 2020-05-12 15:46:58 +09: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
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
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
df_accepter.py df-tests: use excess_as_change, test two-sided channels better 2021-02-04 13:25:34 -06:00
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_invalid.py tests/test_pay.py: Add test to replicate #3757. 2020-06-23 12:48:20 +09:30
fail_htlcs.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10: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-failcode.py pytest: Add test for failcode conversion 2020-09-24 11:23:33 +09:30
htlc_accepted-failonion.py failure_onion: a test that only ensures lightningd doesn't crash. 2020-11-10 19:03:23 -06:00
Makefile plugins: allow plugins to disable themselves at startup. 2021-01-13 14:45:36 +01:00
millisatoshis.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
misc_notifications.py test: plugin channel_state_changed notification 2020-09-10 10:24:06 +09:30
notify2.py pytest: add notifications to tests. 2020-10-23 13:53:16 +10:30
notify.py pytest: add notifications to tests. 2020-10-23 13:53:16 +10:30
onionmessage-reply.py onion_message: support variable-length onion messages. 2021-01-09 12:45:31 +01:00
openchannel_hook_accept.py df-tests: test_openchannel_hook_chaining 2021-01-10 13:44:04 +01:00
openchannel_hook_accepter.py df-tests: updates for plugin hook_accepter helper 2021-01-10 13:44:04 +01:00
openchannel_hook_reject.py df-tests: test_openchannel_hook_chaining 2021-01-10 13:44:04 +01:00
options.py plugins: support concatenation of multiple args. 2020-12-15 09:28:56 +10:30
peer_connected_logger_a.py pytest: peer_connected chainable tests 2021-02-01 09:57:15 +10:30
peer_connected_logger_b.py pytest: peer_connected chainable tests 2021-02-01 09:57:15 +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_odd_funding_amounts.py df-tests: test_openchannel_hook 2021-01-10 13:44:04 +01:00
reject_some_invoices.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
replace_payload.py pytest: Fix a typo in a test plugin 2020-08-30 20:03:42 +02:00
rpc_command.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10: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
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: make init return a string. 2021-01-13 14:45:36 +01:00
test_selfdisable_after_getmanifest.c plugins: allow plugins to disable themselves at startup. 2021-01-13 14:45:36 +01:00
utf8.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
watchtower.py pytest: Add a test for the commitment_revocation hook 2020-05-07 15:05:39 +09:30