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_printf
cli/test/run-human-mode.c:55
Function
test_printf
cli/test/run-large-input.c:55
Function
test_private_channel
(node_factory)
tests/test_connection.py:2416
Function
test_private_channel_no_reconnect
(node_factory)
tests/test_connection.py:4804
Function
test_privatechan
Topology: 1----2----3----4 Tests if a payment can get through a private channel.
tests/test_renepay.py:737
Function
test_protocol_zero_filtered
()
plugins/lsps-plugin/src/core/server.rs:125
Function
test_protocols_deduped
()
plugins/lsps-plugin/src/core/server.rs:115
Function
test_protocols_sorted
()
plugins/lsps-plugin/src/core/server.rs:104
Function
test_psbt_version
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:994
Function
test_psql_key_value_dsn
(node_factory, db_provider, monkeypatch)
tests/test_db.py:350
Function
test_pyln_request_notify
Test that pyln-client plugins can send notifications.
tests/test_plugin.py:3033
Function
test_query_short_channel_id
(node_factory, bitcoind, chainparams)
tests/test_gossip.py:985
Function
test_queryrates
(node_factory, bitcoind)
tests/test_opening.py:178
Function
test_quiescence
(node_factory, executor)
tests/test_connection.py:3842
Function
test_raise
()
contrib/pyln-client/tests/test_plugin.py:184
Function
test_raise2
()
contrib/pyln-client/tests/test_plugin.py:196
Function
test_rbf_broadcast_close_inflights
Close a channel before it's mined, and the most recent transaction hasn't made it to the mempool. Should publish all the commitment trans
tests/test_opening.py:1422
Function
test_rbf_channel_hook
()
cln-rpc/src/test.rs:564
Function
test_rbf_fails_to_broadcast
(node_factory, bitcoind, chainparams)
tests/test_opening.py:1342
Function
test_rbf_no_overlap
(node_factory, bitcoind, chainparams)
tests/test_opening.py:1306
Function
test_rbf_non_last_mined
What happens if a 'non-tip' RBF transaction is mined?
tests/test_opening.py:1496
Function
test_rbf_reconnect_ack
(node_factory, bitcoind, chainparams)
tests/test_opening.py:991
Function
test_rbf_reconnect_init
(node_factory, bitcoind, chainparams)
tests/test_opening.py:943
Function
test_rbf_reconnect_non_last_mined
A reconnect must not lock in an RBF candidate that was never mined. Deterministic version of the race in test_rbf_non_last_mined. We set the
tests/test_opening.py:1600
Function
test_rbf_reconnect_tx_construct
(node_factory, bitcoind, chainparams)
tests/test_opening.py:1039
Function
test_rbf_reconnect_tx_sigs
(node_factory, bitcoind, chainparams)
tests/test_opening.py:1165
Function
test_rbf_refused_once_funding_confirmed
Once we've committed the channel to a mined candidate, RBF is over. Promotion doesn't change the channel state -- lockin does -- so a channel
tests/test_opening.py:1766
Function
test_rbf_to_chain_before_commit
(node_factory, bitcoind, chainparams)
tests/test_opening.py:1245
Function
test_read
connectd/test/run-responder-success.c:165
Function
test_read
connectd/test/run-initiator-success.c:166
Function
test_read
cli/test/run-remove-hint.c:61
Function
test_read
cli/test/run-human-mode.c:74
Function
test_read
cli/test/run-large-input.c:68
Function
test_read
The io_read() interceptor. * * This should be called once when the responder is reading the Act 1 packet and * once when the responder is reading t
tests/fuzz/fuzz-connectd-handshake-act3.c:62
Function
test_read
tests/fuzz/fuzz-init_received.c:69
Function
test_read
The io_read() interceptor. * * This should be called exactly once, when the responder is reading the Act 1 * packet. We inject fuzzer input here. *
tests/fuzz/fuzz-connectd-handshake-act1.c:41
Function
test_read
The io_read() interceptor. * * This should be called exactly once, when the initiator is reading the Act 2 * packet. We inject fuzzer input here. *
tests/fuzz/fuzz-connectd-handshake-act2.c:54
Function
test_read_key_rotation
()
contrib/pyln-proto/tests/test_wire.py:128
Function
test_real_biases
(node_factory, bitcoind, executor)
tests/test_askrene.py:1687
Function
test_real_data
(node_factory, bitcoind, executor)
tests/test_askrene.py:1575
Function
test_real_data_maxhops
maxhops on real gossip: every route respects it, a non-binding limit changes nothing, and squeezing it trades fees for shorter paths.
tests/test_askrene.py:2920
Function
test_realloc
ccan/ccan/rbuf/test/run-term-eof.c:11
Function
test_realloc
ccan/ccan/rbuf/test/run-all.c:11
Function
test_realloc
ccan/ccan/rbuf/test/run.c:11
Function
test_rebalance_tracking
We identify rebalances (invoices paid and received by our node), this allows us to filter them out of "incomes" (self-transfers are not incom
tests/test_bookkeeper.py:773
Function
test_receive_custom_notification
( _p: Plugin<()>, v: serde_json::Value, )
plugins/examples/cln-plugin-startup.rs:150
Function
test_reckless_uv_install
(node_factory)
tests/test_reckless.py:383
Function
test_reconnect_channel_peers
(node_factory, executor)
tests/test_connection.py:266
Function
test_reconnect_gossiping
(node_factory)
tests/test_connection.py:722
Function
test_reconnect_no_additional_transient_failure
(node_factory, bitcoind)
tests/test_connection.py:4355
Function
test_reconnect_no_update
Test that channel_ready is retransmitted on reconnect if new channel This tests if the `channel_ready` is sent if we receive a `channel_reest
tests/test_connection.py:741
Function
test_reconnect_normal
(node_factory)
tests/test_connection.py:785
Function
test_reconnect_openingd
(node_factory)
tests/test_connection.py:685
Function
test_reconnect_receiver_add
(node_factory)
tests/test_connection.py:869
Function
test_reconnect_receiver_fulfill
(node_factory)
tests/test_connection.py:898
Function
test_reconnect_remote_sends_no_sigs
We re-announce, even when remote node doesn't send its announcement_signatures on reconnect.
tests/test_connection.py:959
Function
test_reconnect_sender_add
(node_factory)
tests/test_connection.py:836
Function
test_reconnect_sender_add1
(node_factory)
tests/test_connection.py:799
Function
test_reconnect_signed
(node_factory)
tests/test_connection.py:649
Function
test_recover
Test the recover option
tests/test_misc.py:1556
Function
test_recover_command
(node_factory, bitcoind, old_hsmsecret)
tests/test_misc.py:4875
Function
test_recover_hook
()
cln-rpc/src/test.rs:337
Function
test_recover_plugin
(node_factory, bitcoind)
tests/test_misc.py:3250
Function
test_recoverchannel
Test recoverchannel
tests/test_misc.py:3047
Function
test_recoverchannel_closed_sibling
Recovering an SCB with a channel that has since closed must still let the peer close the channels that are still live.
tests/test_misc.py:3059
Function
test_recurrence_expired_offer
We *can* use an expired offer for successive recurrences
tests/test_pay.py:4869
Function
test_reestablish_closed_channels
Even long-forgotten channels respond to WIRE_REESTABLISH
tests/test_closing.py:4954
Function
test_reestablish_zero_commitment_number
BOLT #2: next_commitment_number 0 must fail the channel.
tests/test_connection.py:3062
Function
test_regtest_upgrade
Test that we move files correctly on regtest upgrade
tests/test_misc.py:2761
Function
test_reject_invalid_payload
Send an onion payload with an unknown even type. Recipient l2 should reject it the incoming HTLC with an invalid onion payload error.
tests/test_pay.py:3451
Function
test_relative_config_dir
(node_factory)
tests/test_misc.py:2526
Function
test_remote_addr
Check address discovery (BOLT1 #917) init remote_addr works as designed: `node_announcement` update must only be send out when: - at l
tests/test_connection.py:81
Function
test_remote_addr_disabled
Simply tests that IP address discovery announcements can be turned off We perform logic tests on L2, setup: l1 --> [l2] <-- l3
tests/test_connection.py:157
Function
test_remote_addr_port
Check address discovery (BOLT1 #917) can be done with non-default TCP ports We perform logic tests on L2, setup same as above: l1 -->
tests/test_connection.py:196
Function
test_remote_disconnect
(node_factory)
tests/test_connection.py:527
Function
test_rendezvous_onion
Create a compressed onion, decompress it at the RV node and then forward normally.
tests/test_onion.py:54
Function
test_renepay_not_important
(node_factory)
tests/test_plugin.py:4629
Function
test_repay
(node_factory)
tests/test_pay.py:638
Function
test_replacement_payload
Test that htlc_accepted plugin hook can replace payload
tests/test_plugin.py:2426
Function
test_report_routing_failure
Test routing failure and retrying of routing.
tests/test_gossip.py:938
Function
test_repro_4258
Reproduces issue #4258, invalid output encoding for txprepare.
tests/test_wallet.py:2269
Function
test_request_serialization_and_deserialization
()
plugins/lsps-plugin/src/proto/jsonrpc.rs:430
Function
test_rescan
Test the rescan option
tests/test_misc.py:1636
Function
test_rescan_missing_utxo
Test that node which missed a UTXO gets fixed up correctly
tests/test_wallet.py:2688
Function
test_reservations_leak
(node_factory, executor)
tests/test_askrene.py:1992
Function
test_reservations_leak_under_load
Stress-test reservation cleanup: concurrent payments over shared channels must leave zero stale reservations after all payments settle.
tests/test_askrene.py:2079
Function
test_reserve
Test reserving channels
tests/test_askrene.py:32
Function
test_reserve_enforcement
Channeld should disallow you spending into your reserve
tests/test_misc.py:1741
Function
test_reserveinputs
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:616
Function
test_response_deserialization
()
plugins/lsps-plugin/src/proto/jsonrpc.rs:469
Function
test_restart_multi_htlc_rexmit
(node_factory, bitcoind, executor)
tests/test_connection.py:3272
Function
test_restart_on_update
Tests if plugin rescan restarts modified plugins
tests/test_plugin.py:3100
Function
test_restorefrompeer
Test restorefrompeer
tests/test_misc.py:3301
Function
test_round_down
()
contrib/pyln-client/tests/test_units.py:153
Function
test_round_zero
()
contrib/pyln-client/tests/test_units.py:96
Function
test_route_by_old_scid
(node_factory, bitcoind)
tests/test_splicing.py:673
Function
test_routehint_tous
Test bug where trying to pay an invoice from an *offline* node which gives a routehint straight to us causes an issue
tests/test_pay.py:5194
Function
test_routetool
Test that route tool can see published channels
tests/test_gossip.py:1942
Function
test_routing_gossip
(node_factory, bitcoind)
tests/test_gossip.py:680
Function
test_routing_gossip_reconnect
(node_factory, bitcoind)
tests/test_gossip.py:609
← previous
next →
15,701–15,800 of 16,782, ranked by callers