core-lightning/tests
Rusty Russell 75362d21c5 channeld_fakenet: fake channeld to simulate network given a gossmap_store.
Our gossmap_store uncompresser generates nodeids with well-known
privkeys, so we can decrypt and respond to HTLCs sent to such nodes.
By replacing channeld with a fake, we can connect a node to another
node, but then once the channel is established, allow payments to be
sent into the generated network, and respond appropriately.

This minimal version handles MPP timeouts, but doesn't insert any
delays or runtime capacity for channels.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-None: Testing only
2024-11-06 21:17:36 +10:30
..
data tests/data: add compressd canned gossip from mainnet. 2024-10-04 08:47:53 +09:30
fuzz global: rename blinding to path_key everywhere. 2024-10-16 07:14:32 +10:30
plugins channeld_fakenet: fake channeld to simulate network given a gossmap_store. 2024-11-06 21:17:36 +10:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
autogenerate-rpc-examples.py docs: clarify writing-json-schemas.md and autogenerate-rpc-examples.py 2024-09-05 17:01:04 -07: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: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
rkls_github_canned_server.py pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
test_askrene.py askrene: don't *completely* ignore fees to start. 2024-10-15 09:58:04 +10:30
test_bookkeeper.py bookkeeper: fix up out-of-order migrations in rc1 2024-08-16 07:18:29 +09:30
test_cln_rs.py cln-plugin: add multi options for String and i64 2024-08-13 12:24:45 +09:30
test_clnrest.py test: CI error fixes 2024-09-18 16:59:27 +09:30
test_closing.py pytest: fix flake in test_onchain_reestablish_reply 2024-11-05 17:04:21 +10:30
test_connection.py BOLT catchup: quiescence is included. 2024-10-16 07:14:32 +10:30
test_db.py pytest: clean up tests/test_db.py::test_last_tx_psbt_upgrade 2024-05-08 21:54:50 -05:00
test_gossip.py test: CI error fixes 2024-09-18 16:59:27 +09:30
test_invoices.py autoclean: remove autocleaninvoice command. 2024-06-20 16:14:38 +09:30
test_misc.py lightningd: listforwards returns 0 for missing received_time. ([#7157]) 2024-10-26 09:51:20 +02: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 config: actually deprecate --experimental-anchors. 2024-07-09 15:09:29 +02:00
test_pay.py pytest: fix flake in test_sendpay_grouping 2024-11-05 17:04:21 +10:30
test_plugin.py keysend: Add maxfee to keysend for consistency with pay. ([#7227]) 2024-10-14 11:58:00 +02:00
test_reckless.py test: testplugpass requirements.txt updated to install local pyln-client 2024-09-03 23:24:12 -07:00
test_renepay.py renepay: add test for description interface 2024-11-06 09:59:27 +01:00
test_runes.py commando: update removal version for rpcs 2024-06-18 14:06:06 +09:30
test_splicing_disconnect.py pytest: fix flake in test_splice_disconnect_sig 2024-05-09 16:14:23 -05:00
test_splicing_insane.py splice: Agressive restart testing during splices 2023-12-15 09:42:45 +10:30
test_splicing.py splice: Add support for tx_abort to channeld 2024-02-11 10:46:23 +01:00
test_wallet.py hsmtool: provide nodeid from hsm secret. 2024-09-25 12:07:40 -07:00
test_xpay.py channeld_fakenet: fake channeld to simulate network given a gossmap_store. 2024-11-06 21:17:36 +10:30
utils.py pytest: generalize serialize_payload_tlv/serialize_payload_final_tlv 2024-10-27 13:57:50 +11:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30