core-lightning/tests
Christian Decker 490550d508 plugin: Allow multiple plugins to register the htlc_accepted hook
Make the `htlc_accepted` hook the first chained hook in our repertoire. The
plugins are called one after the other in order until we have no more plugins
or the HTLC was handled by one of the plugins. If no plugins handles the HTLC
we continue to handle it internally like always.

Handling in this case means the plugin returns either `{"result": "resolve",
...}` or `{"result": "fail", ...}`.

Changelog-Changed: plugin: Multiple plugins can now register for the htlc_accepted hook.
2020-02-11 15:57:22 +10:30
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pyln: Allow users to override the LightningNode class 2019-11-12 21:23:55 +01:00
requirements.txt fix: pip dependency version for psycopg2-binary 2019-12-19 13:26:13 +01:00
test_closing.py pytest: use pyln.client for functional tests 2020-01-21 22:38:14 +01:00
test_connection.py Add note about rationale for check 2020-02-10 15:59:26 +10:30
test_db.py pytest: Fix optimistic locking in valgrind - developer config 2020-01-13 08:55:32 +08:00
test_gossip.py pytest: use pyln.client for functional tests 2020-01-21 22:38:14 +01:00
test_invoices.py tests/test_invoices.py: Add test for timeout param of waitanyinvoice. 2020-01-28 14:07:52 +01:00
test_misc.py lightningd: fix handling of WIRE_UPDATE_FAIL_MALFORMED_HTLC. 2020-01-29 21:15:25 +01:00
test_pay.py test: uses wait_for_htlcs helper in test_pay 2020-02-10 12:14:19 +10:30
test_plugin.py plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
test_wallet.py pytest: test withdrawal transactions' nLockTime 2020-02-03 00:45:27 +00:00
utils.py Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 2019-12-12 22:16:03 +01:00