core-lightning/tests/plugins
Rusty Russell 3e672b784d Makefile: use a library archive for CCAN
The linker discards whole files in an archive if it doesn't need them,
so saves a bit of space (and time).  Also allows us to add more niche
things to CCAN (e.g. runes support!) without bloating all the binaries.

We also had many places which depended on $(CCAN_FILES), but that was
already a dependent of $(ALL_PROGRAMS) and $(ALL_TEST_PROGRAMS).

Before:

```
$ size lightningd/lightning*d
   text	   data	    bss	    dec	    hex	filename
2247683	   8696	  39008	2295387	 23065b	lightningd/lightning_channeld
2086607	   7432	  38880	2132919	 208bb7	lightningd/lightning_closingd
2227916	   8056	  39200	2275172	 22b764	lightningd/lightning_connectd
3369236	 119288	  39240	3527764	 35d454	lightningd/lightningd
2183551	   8352	  38880	2230783	 2209ff	lightningd/lightning_dualopend
2196389	   8024	  39136	2243549	 223bdd	lightningd/lightning_gossipd
2086216	   7488	  39264	2132968	 208be8	lightningd/lightning_hsmd
2134396	   8136	  39424	2181956	 214b44	lightningd/lightning_onchaind
2133391	   8352	  38880	2180623	 21460f	lightningd/lightning_openingd
1512168	   2136	  34384	1548688	 17a190	lightningd/lightning_websocketd
```

After:
```
text	   data	    bss	    dec	    hex	filename
2192065	   8488	  38912	2239465	 222be9	lightningd/lightning_channeld
2030957	   7224	  38816	2076997	 1fb145	lightningd/lightning_closingd
2179571	   7968	  39104	2226643	 21f9d3	lightningd/lightning_connectd
3354296	 119288	  39208	3512792	 3599d8	lightningd/lightningd
2127933	   8144	  38816	2174893	 212fad	lightningd/lightning_dualopend
2141699	   7856	  39072	2188627	 216553	lightningd/lightning_gossipd
2024482	   7288	   5240	2037010	 1f1512	lightningd/lightning_hsmd
2072074	   7920	   5400	2085394	 1fd212	lightningd/lightning_onchaind
2077773	   8144	  38816	2124733	 206bbd	lightningd/lightning_openingd
1408958	   1752	    344	1411054	 1587ee	lightningd/lightning_websocketd
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-17 08:51:02 +09: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
badopeningd.sh lightningd: don't abort on incorrect versions, but try to re-exec. 2021-04-24 13:56:58 +09:30
balance_snaps.py balance-snaps: add a balance_snapshot event; fires after first catchup 2021-12-28 04:42:42 +10:30
broken.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
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
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
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 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
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 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_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_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
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_1.py pytest: test rpc_command hook chain 2021-03-03 09:18:53 +10: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 common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
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: Test the mindepth customizations of fundchannel and hook 2022-07-04 22:14:06 +02:00