lightning/tests
Rusty Russell ac596c8e08 offers: don't add blinded path from a disconnected peer.
Really, any peer without a live channel is a bad prospect.

This requires us to wire the "enabled" flag through listincoming:
fortunately that's an internal, undocumented interface, so we don't
have a schema change.

Changelog-Fixed: Offline peers no longer selected for blinded paths..

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Fixes: https://github.com/ElementsProject/lightning/issues/8127
2025-03-04 20:13:49 -06:00
..
data tests: Reckless test fix for project must contain name 2025-01-09 11:15:05 +01:00
fuzz splice: Update splice signature msg type 2024-11-21 14:15:36 +10:30
plugins pytest: add multiline help test. 2025-02-20 14:37:28 +10:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
autogenerate-rpc-examples.py pytest: update examples generation for listpeerchannels 2025-02-21 17:03:36 -06:00
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
fixtures.py pytest: don't add bookeeper-db option if bookkeeper is disabled. 2025-02-24 19:38:37 +10:30
rkls_github_canned_server.py pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
test_askrene.py askrene: remove all small channels if there's no MPP support. 2025-02-14 22:17:21 +10:30
test_bookkeeper.py pytest: don't set experimental-offers in tests: it's the default now. 2024-11-18 10:42:54 +01:00
test_cln_rs.py cln-grpc, clnrest: workaround for logging before shutdown 2025-02-14 14:58:00 -06:00
test_clnrest.py pytest: add override options to prepare for default removal of rest-port/rest-host options. 2025-02-13 21:15:45 -06:00
test_closing.py onchaind: tell lightningd correct nSequence value for local leases. 2025-02-25 10:10:14 +10:30
test_connection.py lightningd: don't even transiently try to connect to private nodes if --dev-no-reconnect-private. 2025-02-21 11:24:35 +10:30
test_db.py pytest: adapt tests to avoid deprecated APIs in close (tx and txid). 2024-11-17 16:04:06 +10:30
test_gossip.py pytest: Address race condition in test_gossip_jsonrpc 2025-02-11 19:16:16 -06:00
test_invoices.py lightningd: deprecate decodepay. 2024-11-17 14:21:23 +10:30
test_misc.py devtools/bolt12-cli: fix interpretation of blindedpay, amounts. 2025-02-26 14:26:47 -06:00
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 pytest: mark test_rbf_reconnect_tx_construct flaky: 2025-01-27 11:07:04 +10:30
test_pay.py offers: don't add blinded path from a disconnected peer. 2025-03-04 20:13:49 -06:00
test_plugin.py pytest: test sql deprecated field (now we have one!). 2025-02-21 17:03:36 -06:00
test_reckless.py test: Fixed test plugin source paths for reckless 2024-11-19 09:06:28 +10:30
test_renepay.py pytest: address flakes from blinded paths in bolt12 offers 2025-02-19 10:25:51 -06:00
test_restart.py splice: tx_abort no longer reestablishes 2024-11-21 14:15:36 +10:30
test_runes.py pytest: stop using deprecated commando_rune commands. 2025-02-13 21:15:45 -06:00
test_splice.py bkpr: add bookkeeping assertions to splice in + out tests 2024-11-17 14:25:29 +10:30
test_splicing_disconnect.py pytest: fix test_splice_disconnect_commit 2025-01-27 11:07:04 +10:30
test_splicing_insane.py splice: Allow splice_update to return signatures 2024-11-12 06:42:52 +10:30
test_splicing.py splice: Test for missing user signatures 2025-02-07 12:49:20 -06:00
test_wallet.py pytest: stop using deprecated commando_rune commands. 2025-02-13 21:15:45 -06:00
test_xpay.py offers: don't send blinded path to neighbor for *invoices*. 2025-02-27 13:53:10 -06:00
utils.py bkpr tests: return actual error data, not just a blank assert failure 2025-02-07 14:38:54 -06:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30