cln/tests
michael1011 9737ef5535 lightningd: initialize ECDH before replaying blinded HTLCs
Replay of stored blinded HTLCs can reach onion decoding before the
hsmd-backed ecdh() wrapper is initialized, causing a startup crash.
Set up ECDH earlier and add a regression test for blinded HTLC replay.

Changelog-Fixed: lightningd no longer crashes when replaying stored blinded HTLCs during startup.
2026-03-25 09:11:53 +10:00
..
data pytest: update "real gossip map" tests to a recent snapshot. 2026-02-05 08:36:28 +10:30
fuzz common: make encode_scriptpubkey_to_addr take explicit len. 2026-03-23 09:22:04 +10:30
plugins plugins: simplify datastore interfaces now callers have mkdatastorekey. 2026-03-23 14:03:17 +10:00
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
__init__.py feat: add pytest config 2025-08-11 11:06:22 +09:30
autogenerate-rpc-examples.py pytest: use hsmtool's getsecret instead of deprecated getcodexsecret, parameterize test_recover_command. 2026-01-27 09:32:49 +10:30
benchmark.py pytest: also make sure askrene doesn't suffer when reloading many layers on startup. 2026-01-27 13:59:36 +10:30
conftest.py feat: Enhance JUnit XML reporting with environment variables and add import to conftest.py 2026-02-02 11:41:09 +01:00
fixtures.py pytest: don't invoke the pcap test every session. 2026-02-28 18:52:19 +10:30
pytest.ini feat: add pytest config 2025-08-11 11:06:22 +09:30
rkls_github_canned_server.py fix: replace deprecated flask.escape with markupsafe.escape 2025-08-11 11:06:22 +09:30
test_askrene.py askrene-unreserve: add dev_remove_all option 2026-03-18 01:13:54 +10:30
test_bookkeeper.py bookkeeper: implement flexible "bkpr-report" command. 2026-03-23 14:03:17 +10:00
test_cln_lsps.py plugin: change method name of lsps-jitchannel 2025-11-21 13:48:29 +10:30
test_cln_rs.py tests: update test so use both node ids 2026-01-27 09:32:49 +10:30
test_clnrest.py clnrest: add clnrest-register-path method for dynamic paths 2026-01-19 12:55:57 +10:30
test_closing.py pytest: fix flakes in test_onchain_reestablish_reply and test_reestablish_closed_channels 2026-02-20 10:47:10 +10:30
test_coinmoves.py pytest: changed old_hsmsecret to default to false. 2026-01-27 09:32:49 +10:30
test_connection.py lightningd: add channel_id filter to listpeerchannels 2026-02-24 16:51:59 +01:00
test_currencyrate.py tests: avoid flaky test_bkpr_currency_dynamic on same-second channel_mvt 2026-03-23 14:03:17 +10:00
test_db.py db: add STRICT tables with migration for old databases 2026-02-23 15:55:55 +10:30
test_downgrade.py db: add STRICT tables with migration for old databases 2026-02-23 15:55:55 +10:30
test_gossip.py pytest: fix flake in test_gossip_store_compact_while_extending and test_gossmap_lost_node 2026-02-23 19:05:22 +10:30
test_invoices.py offers: only use blinded path nodes from offers when creating invoice for invoice_request. 2026-02-23 19:05:37 +10:30
test_misc.py lightningd: use a blockdepth callback instead of a watch_txid. 2026-03-23 09:22:04 +10:30
test_mkfunding.py pytest: add tests for devtools/mkfunding 2023-01-09 14:50:30 -06:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py lightningd: unreserve UTXOs from withheld funding PSBT when dropping channel 2026-03-19 10:46:49 +10:00
test_pay.py currencyrate: rename to cln-currencyrate, change options to currencyrate-add/disable-source. 2026-03-06 15:59:49 +10:30
test_plugin.py lightningd: initialize ECDH before replaying blinded HTLCs 2026-03-25 09:11:53 +10:00
test_reckless.py Fix Reckless search command not finding partial matches 2026-02-02 13:01:00 -06:00
test_renepay.py pytest: mark renepay's self-pay test flaky 2026-02-03 16:12:04 +10:30
test_restart.py splice: tx_abort no longer reestablishes 2024-11-21 14:15:36 +10:30
test_runes.py pytest: changed old_hsmsecret to default to false. 2026-01-27 09:32:49 +10:30
test_splice.py splice: Add easy spliceout command 2026-03-23 06:59:27 +10:00
test_splicing.py splice script: Update tests to use dynamic fees 2026-03-21 07:28:30 +10:00
test_splicing_disconnect.py splice script: Update tests to use dynamic fees 2026-03-21 07:28:30 +10:00
test_splicing_insane.py splice script: Update tests to use dynamic fees 2026-03-21 07:28:30 +10:00
test_wallet.py pytest: make global exclusion for "That's weird: Request X took Y msec" under valgrind. 2026-02-20 10:47:10 +10:30
test_xpay.py xpay: handle pay ignoring unknown arguments 2026-03-16 10:49:27 +10:00
utils.py lightningd: remove the "listpeers.features.option_anchors_zero_fee_htlc_tx" option. 2026-01-20 19:32:42 +10:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30