Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,782 in github.com/ElementsProject/lightning
⨍
Functions
16,782
◇
Types & classes
11,024
↳
Endpoints
80
Function
test_listpays_with_filter_by_status
This test check if the filtering by status of the command listpays has some mistakes.
tests/test_pay.py:5280
Function
test_listpeerchannels_by_channel_id
(node_factory)
tests/test_connection.py:4909
Function
test_listpeerchannels_by_scid
(node_factory)
tests/test_connection.py:4895
Function
test_listpeers
()
cln-grpc/src/test.rs:6
Function
test_listpeers
()
cln-grpc/src/pb.rs:530
Function
test_listpeers_crash
Test for listpeers crash during dual-funding start
tests/test_connection.py:1950
Function
test_listsendpays_and_listpays_order
listsendpays should be in increasing id order, listpays in created_at
tests/test_pay.py:4174
Function
test_listsendpays_crash
(node_factory)
tests/test_pay.py:5694
Function
test_listtransactions
Sanity check for the listtransactions RPC command
tests/test_misc.py:3380
Function
test_live_spendable
Test we don't exceed spendable limits on a real network on nodes
tests/test_askrene.py:1346
Function
test_local_basepoints_cache
XXX started caching the local basepoints as well as the remote ones. This tests that we can successfully migrate a DB from the pre-caching st
tests/test_db.py:374
Function
test_local_dir_install
Test search and install from local directory source.
tests/test_reckless.py:287
Function
test_local_htlcmax0
Testing a simple pay route when local channels have htlcmax=0.
tests/test_renepay.py:642
Function
test_lockin_between_restart
(node_factory, bitcoind)
tests/test_connection.py:2278
Function
test_lockin_reorg_after_promotion
A reorg of the promoted funding candidate must un-promote it, and a reconnect landing in the unmined gap must not lock in the dead tx. Once a
tests/test_opening.py:1986
Function
test_lockin_restart_rescan_race
A reconnect landing inside the startup rescan window must not fail a healthy channel. Every startup zeroes our_txs.blockheight for the traili
tests/test_opening.py:1902
Function
test_log_filter
Test the log-level option with subsystem filters
tests/test_misc.py:3888
Function
test_log_filter_bug
Test the log-level option with overriding to a more verbose setting
tests/test_misc.py:3918
Function
test_log_levels
( _p: Plugin<()>, _v: serde_json::Value, )
plugins/examples/cln-plugin-startup.rs:171
Function
test_logging
(node_factory)
tests/test_misc.py:1980
Function
test_long_forward_payment
(node_factory, benchmark)
tests/benchmark.py:100
Function
test_low_fd_limit
(node_factory, bitcoind)
tests/test_misc.py:5012
Function
test_lsps0_listprotocols
(node_factory)
tests/test_cln_lsps.py:23
Function
test_lsps2_buy
(node_factory)
tests/test_cln_lsps.py:81
Function
test_lsps2_buyjitchannel_mpp_fixed_invoice
Tests the creation of a "Just-In-Time-Channel" (jit-channel). At the beginning we have the following situation where l2 acts as the LSP
tests/test_cln_lsps.py:196
Function
test_lsps2_buyjitchannel_no_mpp_var_invoice
Tests the creation of a "Just-In-Time-Channel" (jit-channel). At the beginning we have the following situation where l2 acts as the LSP
tests/test_cln_lsps.py:107
Function
test_lsps2_enabled
(node_factory)
tests/test_cln_lsps.py:42
Function
test_lsps2_getinfo
(node_factory)
tests/test_cln_lsps.py:60
Function
test_lsps2_non_approved_zero_conf
Checks that we don't allow zerof_conf channels from an LSP if we did not approve it first.
tests/test_cln_lsps.py:296
Function
test_lsps_service_disabled
By default we disable the LSPS service plugin. It should only be enabled if we explicitly set the config option `lsps-service=True`.
tests/test_cln_lsps.py:11
Function
test_makesecret
Test makesecret command.
tests/test_misc.py:3010
Function
test_makesecret_rune_master_secret
Anyone allowed makesecret must not be able to mint runes of their own
tests/test_runes.py:936
Function
test_malformed_rpc
Test that we get a correct response to malformed RPC commands
tests/test_misc.py:957
Function
test_matching_accept_and_content_types
(node_factory)
tests/test_clnrest.py:633
Function
test_max_channel_id
(node_factory, bitcoind)
tests/test_db.py:105
Function
test_max_htlc
A route which looks good isn't actually, because of max htlc limits
tests/test_askrene.py:1495
Function
test_maxhops_layer
Test that a maxhops layer cannot be created
tests/test_askrene.py:3060
Function
test_maxparts_infloop
(node_factory, bitcoind)
tests/test_askrene.py:1925
Function
test_mesh
This gossip store is a nice mesh created with pyln-testing: l1--l2--l3 | | | l4--l5--l6 | | | l7--l8--l9
contrib/pyln-client/tests/test_gossmap.py:124
Function
test_message_constructor
()
contrib/pyln-proto/tests/test_message.py:184
Function
test_message_to_bitarray
()
contrib/pyln-proto/tests/test_zbase32.py:11
Function
test_method_exceptions
A bunch of tests that should fail calling the methods.
contrib/pyln-client/tests/test_plugin.py:175
Function
test_methods_errors
A bunch of tests that should fail calling the methods.
contrib/pyln-client/tests/test_plugin.py:116
Function
test_migration
These nodes import coinmoves from the old bookkeeper account.db
tests/test_coinmoves.py:1977
Function
test_migration
(node_factory, bitcoind)
tests/test_bookkeeper.py:949
Function
test_migration_no_bkpr
These nodes need to invent coinmoves to make the balances work
tests/test_coinmoves.py:2061
Function
test_migration_no_bkpr
These nodes need to invent coinmoves to make the balances work
tests/test_bookkeeper.py:1120
Function
test_millisatoshi_passthrough
Ensure that Millisatoshi arguments and return work.
tests/test_plugin.py:189
Function
test_min_htlc
A route which looks good isn't actually, because of min htlc limits. Should fall back!
tests/test_askrene.py:1530
Function
test_min_htlc_after_excess
(node_factory, bitcoind)
tests/test_askrene.py:1549
Function
test_minconf_withdraw
Issue 2518: ensure that ridiculous confirmation levels don't overflow The number of confirmations is used to compute a maximum height that is to
tests/test_wallet.py:241
Function
test_missing_method_or_nodeid
For v23.11 we realized that nodeid should not be required for checkrune, which means method (which followed it) could not be require either
tests/test_runes.py:559
Function
test_mkfunding_bad_cantaffordfee
()
tests/test_mkfunding.py:128
Function
test_mkfunding_bad_input_amount
()
tests/test_mkfunding.py:77
Function
test_mkfunding_bad_input_privkey
()
tests/test_mkfunding.py:86
Function
test_mkfunding_bad_input_txid
()
tests/test_mkfunding.py:68
Function
test_mkfunding_bad_local_funding_privkey
()
tests/test_mkfunding.py:96
Function
test_mkfunding_bad_privkeys
()
tests/test_mkfunding.py:117
Function
test_mkfunding_bad_remote_funding_privkey
()
tests/test_mkfunding.py:106
Function
test_mkfunding_bad_usage
()
tests/test_mkfunding.py:62
Function
test_mkfunding_good_noabort
()
tests/test_mkfunding.py:140
Function
test_ml_decoder
()
cln-rpc/src/codec.rs:139
Function
test_ml_decoder
()
plugins/src/codec.rs:138
Function
test_ml_encoder
()
cln-rpc/src/codec.rs:169
Function
test_ml_encoder
()
plugins/src/codec.rs:168
Function
test_mpp
Test paying a remote node using two routes. 1----2----4 | | 3----5----6 Try paying 1.2M sats from 1 to 6.
tests/test_renepay.py:73
Function
test_mpp_adaptive
We have two paths, both too small on their own, let's combine them. ```dot digraph { l1 -> l2 [label="scid=103x1x1, cap=amt-1"];
tests/test_pay.py:3926
Function
test_mpp_interference_2
We create a "public network" that looks like so. Each channel is perfectly balanced, with 7 * unit funds on each side. 4 -- 5
tests/test_pay.py:4239
Function
test_mpp_overload_payee
We had a bug where if the payer is unusually well-connected compared to the payee, the payee is unable to accept a large payment since the
tests/test_pay.py:4355
Function
test_mpp_waitblockheight_routehint_conflict
We have a bug where a blockheight disagreement between us and the receiver causes us to advance through the routehints a bit too aggressi
tests/test_pay.py:4188
Function
test_msat_deserialization_and_errors
()
plugins/lsps-plugin/src/proto/lsps0.rs:297
Function
test_msat_serialization
()
plugins/lsps-plugin/src/proto/lsps0.rs:268
Function
test_mul
()
contrib/pyln-client/tests/test_units.py:274
Function
test_multichan
Test multiple channels between same nodes
tests/test_connection.py:4069
Function
test_multichan_stress
Test multiple channels between same nodes
tests/test_connection.py:3892
Function
test_multifunding_all_amount
(node_factory, bitcoind)
tests/test_opening.py:3321
Function
test_multifunding_best_effort
Check that best_effort flag works.
tests/test_connection.py:2208
Function
test_multifunding_disconnect
Test disconnection during multifundchannel
tests/test_connection.py:2008
Function
test_multifunding_feerates
Test feerate parameters for multifundchannel
tests/test_connection.py:2092
Function
test_multifunding_one
Test that multifunding can still fund to one destination.
tests/test_connection.py:1975
Function
test_multifunding_param_failures
Test that multifunding handles errors in parameters.
tests/test_connection.py:2163
Function
test_multifunding_simple
Simple test for multifundchannel.
tests/test_connection.py:1919
Function
test_multifunding_v1_v2_mixed
Simple test for multifundchannel, using v1 + v2
tests/test_connection.py:1824
Function
test_multifunding_v2_best_effort
Check that best_effort flag works.
tests/test_opening.py:215
Function
test_multifunding_v2_exclusive
Simple test for multifundchannel, using v2
tests/test_connection.py:1872
Function
test_multifunding_wumbo
Test wumbo channel imposition in multifundchannel. l3 not wumbo :(
tests/test_connection.py:2061
Function
test_multiple_channels
(node_factory)
tests/test_connection.py:2686
Function
test_multiplexed_rpc
Test that we can do multiple RPCs which exit in different orders
tests/test_misc.py:927
Function
test_multirpc
Test that we can do multiple RPC without waiting for response
tests/test_misc.py:901
Function
test_multiwithdraw_simple
Test simple multiwithdraw usage.
tests/test_wallet.py:2223
Function
test_mutual_reconnect_race
Test simultaneous reconnect between nodes
tests/test_connection.py:4256
Function
test_name
(request)
contrib/pyln-testing/pyln/testing/fixtures.py:139
Function
test_names
(node_factory, old_hsmsecret)
tests/test_misc.py:34
Function
test_networkevents
(node_factory, executor)
tests/test_connection.py:4921
Function
test_new_node_is_mainnet
Test that an empty directory causes us to be on mainnet
tests/test_misc.py:2811
Function
test_newaddr
(node_factory, chainparams)
tests/test_misc.py:2258
Function
test_no_anchor_liquidity_ads
Liquidity ads requires anchors, which are no longer a requirement for dual-funded channels.
tests/test_opening.py:3063
Function
test_no_auto_start
Ensure that we do not start clnrest unless a `clnrest-port` is configured.
tests/test_clnrest.py:34
Function
test_no_delay
Is our Nagle disabling for critical messages working?
tests/test_connection.py:4831
Function
test_no_fee_estimate
(node_factory, bitcoind, executor)
tests/test_connection.py:2930
← previous
next →
15,401–15,500 of 16,782, ranked by callers