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_parse_proxy_addr
()
plugins/currencyrate-plugin/src/main.rs:349
Function
test_partial_payment
(node_factory, bitcoind, executor)
tests/test_pay.py:3080
Function
test_partial_payment_htlc_loss
Test that we discard a set when the HTLC is lost
tests/test_pay.py:3349
Function
test_partial_payment_restart
Test that we recover a set when we restart
tests/test_pay.py:3306
Function
test_partial_payment_timeout
(node_factory, bitcoind)
tests/test_pay.py:3254
Function
test_pay
(node_factory, benchmark)
tests/benchmark.py:119
Function
test_pay
(node_factory)
tests/test_pay.py:26
Function
test_pay
(node_factory)
tests/test_renepay.py:150
Function
test_pay0
Test paying 0 amount
tests/test_pay.py:209
Function
test_pay_amounts
(node_factory)
tests/test_pay.py:95
Function
test_pay_avoid_low_fee_chan
Make sure we're able to route around a low fee depleted channel
tests/test_pay.py:1883
Function
test_pay_blockheight_mismatch
Test that we can send a payment even if not caught up with the chain. We removed the requirement for the node to be fully synced up with the
tests/test_pay.py:4964
Function
test_pay_bolt11_metadata
(node_factory, chainparams)
tests/test_pay.py:5389
Function
test_pay_disconnect
If the remote node has disconnected, we fail payment, but can try again when it reconnects
tests/test_pay.py:232
Function
test_pay_disconnect_stress
Expose race in htlc restoration in channeld: 50% chance of failure
tests/test_connection.py:3563
Function
test_pay_error_update_fees
We should process an update inside a temporary_channel_failure
tests/test_pay.py:285
Function
test_pay_exclude_node
Test excluding the node if there's the NODE-level error in the failure_code
tests/test_pay.py:153
Function
test_pay_exemptfee
Tiny payment, huge fee l1 -> l2 -> l3 Create a tiny invoice for 1 msat, it'll be dominated by the base_fee on the l2->l3 channel. So it'
tests/test_pay.py:3842
Function
test_pay_fail_unconfirmed_channel
Replicate #3855. `pay` crash when any direct channel is still unconfirmed.
tests/test_pay.py:4009
Function
test_pay_fakenet
(node_factory)
tests/test_xpay.py:24
Function
test_pay_invstring
(node_factory)
tests/test_pay.py:87
Function
test_pay_limits
Test that we enforce fee max percentage and max delay
tests/test_pay.py:109
Function
test_pay_manual_exclude
(node_factory, bitcoind)
tests/test_pay.py:5359
Function
test_pay_maxdelay_direct_channel
Test that maxdelay is enforced even for direct channel payments
tests/test_pay.py:142
Function
test_pay_maxfee_shadow
Test that we respect maxfeepercent for shadow routing.
tests/test_pay.py:472
Function
test_pay_middle_fail
Test the case where a HTLC is failed, but not on peer's side, then we go onchain
tests/test_pay.py:5424
Function
test_pay_multichannel_use_zeroconf
Check that we use the zeroconf direct channel to pay when we need to
tests/test_pay.py:5508
Function
test_pay_no_secret
(node_factory, bitcoind)
tests/test_pay.py:2925
Function
test_pay_optional_args
(node_factory)
tests/test_pay.py:314
Function
test_pay_part_end
()
cln-grpc/src/test.rs:621
Function
test_pay_partial_msat
(node_factory, executor)
tests/test_pay.py:5830
Function
test_pay_peer
If we have a direct channel to the destination we should use that. This is complicated a bit by not having sufficient capacity, but the chann
tests/test_pay.py:3880
Function
test_pay_plugin
(node_factory)
tests/test_plugin.py:450
Function
test_pay_plugin_notifications
(node_factory, bitcoind, chainparams)
tests/test_plugin.py:5043
Function
test_pay_remember_hint
Using a diamond graph, with inferred `channel_hint`s, see if we remember
tests/test_pay.py:6273
Function
test_pay_retry
Make sure pay command retries properly.
tests/test_pay.py:1802
Function
test_pay_routeboost
Make sure we can use routeboost information. ```dot graph { l1 -- l2 -- l3 l3 -- l4 [style="dotted"] l4 -- l5 [style="dotte
tests/test_pay.py:1954
Function
test_pay_routehint_minhtlc
(node_factory, bitcoind)
tests/test_pay.py:5805
Function
test_pay_unannounced_routehint
Tests whether sender can pay recipient through unannounced channels with 2 hops where the second hop uses a route hint.
tests/test_pay.py:7036
Function
test_pay_variants
(node_factory)
tests/test_pay.py:1782
Function
test_pay_waitblockheight_timeout
(node_factory, bitcoind)
tests/test_pay.py:5017
Function
test_pay_while_opening_channel
(node_factory, bitcoind, executor)
tests/test_pay.py:5954
Function
test_payerkey
payerkey calculation should not change across releases!
tests/test_pay.py:5470
Function
test_payment_duplicate_uncommitted
(node_factory, executor)
tests/test_pay.py:438
Function
test_payment_failed_persistence
(node_factory, executor)
tests/test_pay.py:388
Function
test_payment_fronting
(node_factory)
tests/test_invoices.py:1051
Function
test_payment_speed
This makes sure we don't screw up nagle handling. Normally: Name (time in ms) Min Max Mean StdDev Median IQR Ou
tests/benchmark.py:234
Function
test_payment_success_persistence
(node_factory, bitcoind, executor)
tests/test_pay.py:343
Function
test_peer_anchor_push
Test that we use anchor on peer's commit to CPFP tx
tests/test_closing.py:4537
Function
test_peer_connected_hook
()
cln-rpc/src/test.rs:310
Function
test_peer_connected_remote_addr
This tests the optional tlv `remote_addr` being passed to a plugin. The optional tlv `remote_addr` should only be visible to the initiator l1.
tests/test_plugin.py:560
Function
test_peer_disconnected_has_featurebits
Make sure that if a node is restarted, it still remembers feature bits from a peer it has a channel with but isn't connected to
tests/test_connection.py:4331
Function
test_peer_disconnected_reflected_in_channel_state
Make sure that if a node is disconnected we have the value correct value across listpeer and listpeerchannels.
tests/test_connection.py:4319
Function
test_peer_read
tests/fuzz/fuzz-open_channel.c:242
Function
test_peer_reuses_htlc_id
A peer re-offering the id of an HTLC we have already resolved must be rejected: channeld has forgotten it, but the db has not.
tests/test_connection.py:5355
Function
test_peer_storage
Test that we offer and re-xmit peer storage for our peers if they have a channel or are explicitly enabled
tests/test_plugin.py:4949
Function
test_peer_write
These have the same definitions as their original definitions. We reiterate * these here because we want them to use test_sync_write and test_sync_re
tests/fuzz/fuzz-open_channel.c:232
Function
test_peerinfo
(node_factory, bitcoind)
tests/test_connection.py:2744
Function
test_peers
(node_factory)
contrib/pyln-testing/tests/test_start.py:4
Function
test_penalty_htlc_tx_fulfill
Test that the penalizing node claims any published HTLC transactions Node topology: l1 <-> l2 <-> l3 <-> l4 l4 pushes mon
tests/test_closing.py:1197
Function
test_penalty_htlc_tx_timeout
Test that the penalizing node claims any published HTLC transactions Node topology: l1 <-> l2 <-> l3 <-> l4
tests/test_closing.py:1370
Function
test_penalty_inhtlc
Test penalty transaction with an incoming HTLC
tests/test_closing.py:511
Function
test_penalty_outhtlc
Test penalty transaction with an outgoing HTLC
tests/test_closing.py:644
Function
test_penalty_rbf_normal
Test that penalty transactions are RBFed.
tests/test_closing.py:1601
Function
test_pending_payments_cleanup
(node_factory, bitcoind)
tests/test_wallet.py:2593
Function
test_pending_requests_remove
()
plugins/lsps-plugin/src/core/transport.rs:202
Function
test_pending_requests_roundtrip
()
plugins/lsps-plugin/src/core/transport.rs:180
Function
test_pending_requests_unknown_id
()
plugins/lsps-plugin/src/core/transport.rs:194
Function
test_permfail
(node_factory, bitcoind)
tests/test_closing.py:3551
Function
test_permfail_htlc_in
(node_factory, bitcoind, executor)
tests/test_closing.py:3441
Function
test_permfail_htlc_out
(node_factory, bitcoind, executor)
tests/test_closing.py:3490
Function
test_permfail_new_commit
(node_factory, bitcoind, executor)
tests/test_closing.py:3163
Function
test_ping
(node_factory)
tests/test_misc.py:354
Function
test_ping_timeout
(node_factory)
tests/test_connection.py:4044
Function
test_plugin_command
Tests the 'plugin' RPC command
tests/test_plugin.py:257
Function
test_plugin_connect_notifications
test 'connect' and 'disconnect' notifications
tests/test_plugin.py:420
Function
test_plugin_connected_hook_chaining
l1 uses the logger_a, reject and logger_b plugin. l1 is configured to accept connections from l2, but not from l3. we check that logger_a is
tests/test_plugin.py:483
Function
test_plugin_connected_hook_disconnect_crash
A peer disconnnects between plugin hook invocations
tests/test_plugin.py:537
Function
test_plugin_dir
--plugin-dir works
tests/test_plugin.py:237
Function
test_plugin_disable
--disable-plugin works
tests/test_plugin.py:336
Function
test_plugin_fail
Test that a plugin which fails (not during a command)
tests/test_plugin.py:2526
Function
test_plugin_fail_on_startup
(node_factory)
tests/test_plugin.py:324
Function
test_plugin_feature_announce
Check that features registered by plugins show up in messages. l1 is the node under test, l2 only serves as the counterparty for a channel to
tests/test_plugin.py:1990
Function
test_plugin_feature_remove
Check that features registered by plugins get removed if a plugin disables itself. We set the following feature bits we don't want to include
tests/test_plugin.py:2024
Function
test_plugin_hook
The helloworld plugin registers a htlc_accepted hook. The hook will sleep for a few seconds and log a message. `lightningd` should wait for t
tests/test_plugin.py:400
Function
test_plugin_log_levels
Start a minimal plugin and ensure it logs all levels
tests/test_cln_rs.py:116
Function
test_plugin_nostart
Should not appear in list if it didn't even start
tests/test_plugin.py:4648
Function
test_plugin_options_handle_defaults
Start a minimal plugin and ensure it is well-behaved
tests/test_cln_rs.py:82
Function
test_plugin_persist_option
test that options from config file get remembered across plugin stop/start
tests/test_plugin.py:4534
Function
test_plugin_shutdown
test 'shutdown' notifications, via `plugin stop` or via `stop`
tests/test_plugin.py:3149
Function
test_plugin_slowinit
Tests that the 'plugin' RPC command times out if plugin doesnt respond
tests/test_plugin.py:243
Function
test_plugin_start
Start a minimal plugin and ensure it is well-behaved
tests/test_cln_rs.py:42
Function
test_plugin_startdir_lol
Though we fail to start many of them, we don't crash!
tests/test_plugin.py:4658
Function
test_poetry_install
test search, git clone, and installation to folder.
tests/test_reckless.py:268
Function
test_positional_inject
()
contrib/pyln-client/tests/test_plugin.py:208
Function
test_preapprove
(node_factory, bitcoind, preapprove)
tests/test_misc.py:5041
Function
test_preapprove_use
Test preapprove calls implicitly made by pay and keysend
tests/test_misc.py:5106
Function
test_previous_sendpays
Check that renepay can complete a payment that already started
tests/test_renepay.py:513
Function
test_primitives
()
contrib/pyln-proto/tests/test_wire.py:8
Function
test_printf
cli/test/run-remove-hint.c:71
← previous
next →
15,601–15,700 of 16,782, ranked by callers