MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

Functiontest_gossip_persistence
Gossip for a while, restart and it should remember. Also tests for funding outpoint spends, and they should be persisted too.
tests/test_gossip.py:534
Functiontest_gossip_pruning
Create channel and see it being updated in time before pruning
tests/test_gossip.py:29
Functiontest_gossip_query_channel_range
(node_factory, bitcoind, chainparams)
tests/test_gossip.py:718
Functiontest_gossip_query_channel_range_cpu_throttle
query_channel_range walks the *entire* gossmap regardless of the range asked for, so a peer can force a full scan cheaply just by asking for a
tests/test_gossip.py:2263
Functiontest_gossip_seeker_autoconnect
Seeker should connect to additional peers and initiate connections if necessary.
tests/test_gossip.py:2522
Functiontest_gossip_store
()
contrib/pyln-testing/pyln/testing/gossip.py:332
Functiontest_gossip_store_compact
(node_factory, bitcoind)
tests/test_gossip.py:1647
Functiontest_gossip_store_compact_miss_update
If we compact twice, you should notice the UUID difference.
tests/test_gossip.py:1717
Functiontest_gossip_store_compact_restart
(node_factory, bitcoind)
tests/test_gossip.py:1732
Functiontest_gossip_store_compact_while_extending
We change gossip_store file (additions, deletion) during compaction
tests/test_gossip.py:1665
Functiontest_gossip_store_corrupt
(node_factory, bitcoind)
tests/test_gossip.py:1624
Functiontest_gossip_store_load
Make sure we can read canned gossip store
tests/test_gossip.py:1182
Functiontest_gossip_store_load_amount_truncated
Make sure we can read canned gossip store with truncated amount
tests/test_gossip.py:1288
Functiontest_gossip_store_load_announce_before_update
Make sure we can read canned gossip store with node_announce before update. This happens when a channel_update gets replaced, leaving node_announce b
tests/test_gossip.py:1244
Functiontest_gossip_store_load_complex
(node_factory, bitcoind)
tests/test_gossip.py:1638
Functiontest_gossip_store_load_no_channel_update
Make sure we can read truncated gossip store with a channel_announcement and no channel_update
tests/test_gossip.py:1743
Functiontest_gossip_store_load_uncompacted
(node_factory, bitcoind)
tests/test_gossip.py:1776
Functiontest_gossip_store_v10_upgrade
We remove a channel_update without an htlc_maximum_msat
tests/test_gossip.py:1215
Functiontest_gossip_throttle
Make some gossip, test it gets throttled
tests/test_gossip.py:2170
Functiontest_gossip_timestamp_filter
(node_factory, bitcoind, chainparams)
tests/test_gossip.py:280
Functiontest_gossip_weirdalias
(node_factory, bitcoind)
tests/test_gossip.py:503
Functiontest_gossipwith
(node_factory)
tests/test_gossip.py:1395
Functiontest_gossmap
(tmp_path)
contrib/pyln-client/tests/test_gossmap.py:15
Functiontest_gossmap_halfchannel
this test a simple [l1->l2] gossip store that was created by the pyln-testing framework (tests/test_gossip.py::test_announce_address)
contrib/pyln-client/tests/test_gossmap.py:52
Functiontest_gossmap_lost_node
(node_factory, bitcoind)
tests/test_gossip.py:2561
Functiontest_graceful_htlc
graceful with an HTLC in flight notifies about expiry and completes after HTLC resolves
tests/test_misc.py:4414
Functiontest_graceful_idle_peer
graceful with an idle peer disconnects it and completes
tests/test_misc.py:4394
Functiontest_graceful_no_peers
graceful with no channels returns immediately
tests/test_misc.py:4386
Functiontest_grpc_block_added_notifications
(node_factory, bitcoind)
tests/test_cln_rs.py:583
Functiontest_grpc_connect
Attempts to connect to the grpc interface and call getinfo
tests/test_cln_rs.py:130
Functiontest_grpc_connect_notification
(node_factory)
tests/test_cln_rs.py:599
Functiontest_grpc_connect_port_out_of_range_rejected
()
cln-grpc/src/test.rs:686
Functiontest_grpc_createproof_missing_proof_field_ident_rejected
()
cln-grpc/src/test.rs:724
Functiontest_grpc_custommsg_notification
(node_factory)
tests/test_cln_rs.py:615
Functiontest_grpc_decode
(node_factory)
tests/test_cln_rs.py:557
Functiontest_grpc_default_port_auto_starts
Ensure that we start cln-grpc on default port. Also check that certificates are generated.
tests/test_cln_rs.py:387
Functiontest_grpc_generate_certificate
Test whether we correctly generate the certificates. - If we have no certs, we need to generate them all - If we have certs, we they should
tests/test_cln_rs.py:345
Functiontest_grpc_keysend_routehint
The routehints are a bit special, test that conversions work. 3 node line graph, with l1 as the keysend sender and l3 the recipient.
tests/test_cln_rs.py:485
Functiontest_grpc_listpeerchannels
Check that conversions of this rather complex type work.
tests/test_cln_rs.py:529
Functiontest_grpc_listpeers_malformed_pubkey_rejected
()
cln-grpc/src/test.rs:664
Functiontest_grpc_request_validation
Malformed gRPC request values must be rejected, not panic the server.
tests/test_cln_rs.py:181
Functiontest_grpc_sendonion_delay_out_of_range_rejected
()
cln-grpc/src/test.rs:705
Functiontest_grpc_wrong_auth
An mTLS client certificate should only be usable with its node We create two instances, each generates its own certs and keys, and then we tr
tests/test_cln_rs.py:403
Functiontest_handshake
Go through the test vector step-by-step.
contrib/pyln-proto/tests/test_wire.py:39
Functiontest_hardmpp
Topology: 1----2----4 | | 3----5----6 This a payment that fails if pending HTLCs are not taken into account when we b
tests/test_renepay.py:359
Functiontest_hardmpp2
Credits to @daywalker90 for this test case.
tests/test_renepay.py:778
Functiontest_hook_chaining
Check that hooks are called in order and the chain exits correctly We start two nodes, l2 will have two plugins registering the same hook (`h
tests/test_plugin.py:2045
Functiontest_hook_crash
Verify that we fail over if a plugin crashes while handling a hook. We create a star topology, with l1 opening channels to the other nodes, a
tests/test_plugin.py:2346
Functiontest_hook_dep
(node_factory)
tests/test_plugin.py:2888
Functiontest_hook_dep_stable
(node_factory)
tests/test_plugin.py:2931
Functiontest_hook_error_returns_safe_fallback
()
plugins/src/lib.rs:1285
Functiontest_hook_fallbacks_and_exception_redaction
()
contrib/pyln-client/tests/test_plugin.py:459
Functiontest_hook_in_use
If a hook is in use when we add a plugin to it, we have to defer
tests/test_plugin.py:2969
Functiontest_hook_panic_returns_safe_fallback
()
plugins/src/lib.rs:1331
Functiontest_hop_params
Test that we generate the onion parameters correctly. Extracted from running the Core Lightning implementation: ```bash devtools/onion r
contrib/pyln-proto/tests/test_onion.py:212
Functiontest_hsm_capabilities
(node_factory)
tests/test_misc.py:4291
Functiontest_hsm_wrong_passphrase_crash
Test that hsmd handles wrong passphrase gracefully without crashing. This test reproduces a bug where hsmd would crash with "HSM sent unknown mes
tests/test_wallet.py:2601
Functiontest_hsmtool_all_commands_work_with_mnemonic_formats
Test that all hsmtool commands work with mnemonic formats
tests/test_wallet.py:1658
Functiontest_hsmtool_checkhsm_legacy_encrypted_with_mnemonic_no_passphrase
Test checkhsm with legacy encrypted hsm_secret containing mnemonic without passphrase
tests/test_wallet.py:1541
Functiontest_hsmtool_checkhsm_legacy_encrypted_with_mnemonic_passphrase
Test checkhsm with legacy encrypted hsm_secret containing mnemonic with passphrase
tests/test_wallet.py:1592
Functiontest_hsmtool_checkhsm_variants
Test checkhsm with various configurations
tests/test_wallet.py:1507
Functiontest_hsmtool_deterministic_node_ids
Test that HSM daemon creates deterministic node IDs in new mnemonic format
tests/test_wallet.py:1692
Functiontest_hsmtool_dump_descriptors
(node_factory, bitcoind)
tests/test_wallet.py:1362
Functiontest_hsmtool_generatehsm_file_exists_error
Test that generatehsm fails if file already exists
tests/test_wallet.py:1645
Functiontest_hsmtool_generatehsm_variants
Test generating mnemonic-based hsm_secret with various configurations
tests/test_wallet.py:1404
Functiontest_hsmtool_getnodeid
(node_factory)
tests/test_wallet.py:2513
Functiontest_hsmtool_secret_decryption
Test that we can encrypt and decrypt hsm_secret using hsmtool
tests/test_wallet.py:1311
Functiontest_htlc_accepted_hook
()
cln-rpc/src/test.rs:619
Functiontest_htlc_accepted_hook_crash
Test that we do not hang incoming HTLCs if the hook plugin crashes. Reproduces #3748.
tests/test_plugin.py:2732
Functiontest_htlc_accepted_hook_customtlvs
Passes an custom extra tlv field to the hooks return that should be set as the `update_add_htlc_tlvs` in the `update_add_htlc` message on
tests/test_plugin.py:2846
Functiontest_htlc_accepted_hook_direct_restart
l2 restarts while it is pondering what to do with an HTLC.
tests/test_plugin.py:1270
Functiontest_htlc_accepted_hook_direct_restart_blinded
l2 restarts while it is pondering what to do with a blinded HTLC.
tests/test_plugin.py:1384
Functiontest_htlc_accepted_hook_fail
Send payments from l1 to l2, but l2 just declines everything. l2 is configured with a plugin that'll hook into htlc_accepted and always retur
tests/test_plugin.py:1209
Functiontest_htlc_accepted_hook_failmsg
(node_factory)
tests/test_plugin.py:2826
Functiontest_htlc_accepted_hook_failonion
(node_factory)
tests/test_plugin.py:2957
Functiontest_htlc_accepted_hook_forward_restart
l2 restarts while it is pondering what to do with an HTLC.
tests/test_plugin.py:1453
Functiontest_htlc_accepted_hook_fwdto
(node_factory)
tests/test_plugin.py:3002
Functiontest_htlc_accepted_hook_malformedtlvs
Passes an custom extra tlv field to the hooks return that is malformed and should cause a broken log. l1 -- l2 -- l3
tests/test_plugin.py:2869
Functiontest_htlc_accepted_hook_resolve
l3 creates an invoice, l2 knows the preimage and will shortcircuit.
tests/test_plugin.py:1253
Functiontest_htlc_accepted_hook_restart_after_force_close
Replay a held HTLC after its peer force-closed the channel.
tests/test_plugin.py:1338
Functiontest_htlc_accepted_hook_restart_during_shutdown
Replay a held HTLC after its channel entered shutdown.
tests/test_plugin.py:1301
Functiontest_htlc_amount_doesnt_cover_fee_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1206
Functiontest_htlc_amount_too_high_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1185
Functiontest_htlc_amount_too_low_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1164
Functiontest_htlc_channel_capacity_request_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1227
Functiontest_htlc_expired_fee_menu_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1140
Functiontest_htlc_failed_noclose
Test a bug where the htlc timeout would kick in even if the HTLC failed
tests/test_connection.py:3864
Functiontest_htlc_fund_channel_fails
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1279
Functiontest_htlc_in_timeout
Test that we drop onchain if the peer doesn't accept fulfilled HTLC
tests/test_misc.py:506
Functiontest_htlc_max
Topology: 1----2----4 | | 3----5----6
tests/test_renepay.py:465
Functiontest_htlc_mpp_not_implemented
We deactivate the mpp check on the experimental server for client side checks.
plugins/lsps-plugin/src/core/lsps2/handler.rs:1347
Functiontest_htlc_no_force_close
l2<->l3 force closes while an HTLC is in flight from l1, but l2 can't timeout because the feerate has spiked. It should do so anyway.
tests/test_closing.py:4326
Functiontest_htlc_no_scid_continues
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1115
Functiontest_htlc_out_timeout
Test that we drop onchain if the peer doesn't time out HTLC
tests/test_misc.py:438
Functiontest_htlc_policy_denies_channel
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1253
Functiontest_htlc_retransmit_order
(node_factory, executor)
tests/test_connection.py:3761
Functiontest_htlc_rexmit_while_closing
Retranmitting an HTLC revocation while shutting down should work
tests/test_closing.py:3855
Functiontest_htlc_set_part_during_invoice_hook
An extra part arriving while the invoice_payment hook is pending must not re-dispatch the (already complete) HTLC set.
tests/test_pay.py:2658
Functiontest_htlc_sig_persistence
Interrupt a payment between two peers, then fail and recover funds using the HTLC sig.
tests/test_misc.py:388
Functiontest_htlc_successful_flow
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:1306
← previousnext →15,201–15,300 of 16,782, ranked by callers