rgb-cln/tests/plugins
niftynei d2c4d4aec2 coin_mvts: rewrite how onchain events are recorded, update tests
The old model of coin movements attempted to compute fees etc and log
amounts, not utxos. This is not as robust, as multi-party opens and dual
funded channels make it hard to account for fees etc correctly.

Instead, we move towards a 'utxo' view of the onchain events. Every
event is either the creation or 'destruction' of a utxo. For cases where
the value of the utxo is not (fully) debited/credited to our account, we
also record the output_value. E.g. channel closings spend a utxo who's
entire value we may not own.

Since we're now tracking UTXOs onchain, we can now do more complex
assertions about the onchain footprint of them. The integration tests
have been updated to now use more 'chain aware' assertions about the
ending state.
2021-12-28 04:42:42 +10:30
..
bitcoin pyln: Set the bitcoin datadir when running tests 2020-05-05 13:28:54 +09:30
Makefile common: clean up autodata in common_shutdown(). 2021-11-17 10:51:48 +10: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
broken.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
coin_movements.py coin_mvts: rewrite how onchain events are recorded, update tests 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.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-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
millisatoshis.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
misc_notifications.py testing: remove test_htlc_accepted_hook_shutdown, move relevant parts 2021-12-14 09:33:10 +10:30
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 tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks 2021-05-03 11:06:10 +09:30
openchannel_hook_reject.py tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks 2021-05-03 11:06:10 +09:30
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.py pyln: Migrate remaining uses of the deprecated pylightning module 2020-03-24 09:52:33 +10:30
reject_odd_funding_amounts.py tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks 2021-05-03 11:06:10 +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 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 check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
test_selfdisable_after_getmanifest.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
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