cln/tests
Rusty Russell 9b68ba0903 openingd: test that channel open seems possible before bothering peer.
Fixes: https://github.com/ElementsProject/lightning/issues/4873

In particular, we used to get upset when a peer accepts our channel,
if it was too small!  We should do reasonable checks first.

We no longer try to send requests to delay for 2017 blocks though,
so remove that test.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: trying to create a channel below our own min-capacity-sat will now fail before asking the peer, not with an error blaming the peer when they accept!
2025-08-18 16:19:22 +09:30
..
data pytest: save pre-movement dbs, and accounting dbs. 2025-08-14 19:49:09 +09:30
fuzz fuzz-tests: Add coverage increasing inputs to seed corpora 2025-08-06 13:53:49 +09:30
plugins xpay: add option to pay bip353. 2025-08-18 14:57:46 +09:30
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 docs: Added fetchbip353 example in autogenerate script 2025-08-17 09:47:19 +09:30
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
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: rework the caller of the MCF solver 2025-08-08 14:07:51 +09:30
test_bookkeeper.py pytest: save pre-movement dbs, and accounting dbs. 2025-08-14 19:49:09 +09:30
test_cln_lsps.py lsps: Add test for Lsps0 2025-05-02 13:34:21 -07:00
test_cln_rs.py cln-bip353: add plugin that fetches payment instructions from human readable addresses 2025-08-14 18:41:23 +09:30
test_clnrest.py clnrest: add more valid request and response types 2025-07-25 08:18:44 -07:00
test_closing.py onchaind: don't consider our anchors to be payments into the wallet. 2025-08-14 19:49:09 +09:30
test_connection.py openingd: test that channel open seems possible before bothering peer. 2025-08-18 16:19:22 +09:30
test_db.py wallet: fix incorrect channel_htlcs id migration. 2025-05-17 13:05:04 -05:00
test_gossip.py pytest: fix flake in test_gossip_force_broadcast_channel_msgs caused by ping timeout. 2025-05-16 22:40:45 +09:30
test_invoices.py BOLT11: Make payment secret field ('s') mandatory 2025-07-07 11:18:37 +09:30
test_misc.py pyln-testing: check plugin notifications against any extant notification schemas. 2025-08-18 10:01:07 +09: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 openingd: test that channel open seems possible before bothering peer. 2025-08-18 16:19:22 +09:30
test_pay.py offers: fix fetchinvoice from using disconnected peers. 2025-08-18 14:19:27 +09:30
test_plugin.py libplugin: correctly wrap notifications we send in the notification name. 2025-08-18 10:01:07 +09:30
test_reckless.py pytest: test python plugin installation via uv 2025-08-12 09:28:21 +09:30
test_renepay.py pytest: fix race in test_renepay where we didn't wait for all channels. 2025-04-16 08:02:14 +09:30
test_restart.py splice: tx_abort no longer reestablishes 2024-11-21 14:15:36 +10:30
test_runes.py pytest: fix up bolt11 tests to include s field. 2025-07-07 11:18:37 +09:30
test_splice.py bkpr: add bookkeeping assertions to splice in + out tests 2024-11-17 14:25:29 +10:30
test_splicing.py pytest: fix flake in test_route_by_old_scid 2025-08-15 17:13:31 +09: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_wallet.py pytest: fix flake in test_peer_anchor_push 2025-05-15 17:20:07 +09:30
test_xpay.py xpay: add option to pay bip353. 2025-08-18 14:57:46 +09:30
utils.py lightningd: extract core of coin_movement notification, for use in list functions. 2025-08-14 19:49:09 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30