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_shutdown_awaiting_lockin
(node_factory, bitcoind)
tests/test_connection.py:1001
Function
test_shutdown_reconnect
(node_factory)
tests/test_connection.py:929
Function
test_sign
tests/fuzz/fuzz-bolt11.c:47
Function
test_sign
common/test/run-bolt11.c:155
Function
test_sign_and_send_psbt
Tests for the sign + send psbt RPCs
tests/test_wallet.py:1043
Function
test_sign_external_psbt
A PSBT w/ one of our inputs should be signable (we can fill in the required UTXO data).
tests/test_wallet.py:951
Function
test_sign_signed_psbt
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:979
Function
test_signinvoice
(node_factory, executor)
tests/test_invoices.py:557
Function
test_signmessage
(node_factory)
tests/test_misc.py:2539
Function
test_signmessagewithkey
(node_factory, chainparams)
tests/test_misc.py:2599
Function
test_simple
Testing simply paying a peer.
tests/test_renepay.py:20
Function
test_simple_dummy_channel
Test if askrene can resolve a route with dummy channels, ie. channels that we might set artificially to resolve blinded paths and self payments,
tests/test_askrene.py:1889
Function
test_simple_methods
Test the dispatch of methods, with a variety of bindings.
contrib/pyln-client/tests/test_plugin.py:7
Function
test_single_hop
(node_factory, executor)
tests/benchmark.py:47
Function
test_single_payment
(node_factory, benchmark)
tests/benchmark.py:80
Function
test_sized_array
()
contrib/pyln-proto/tests/test_array_types.py:7
Function
test_socket
cli/test/run-remove-hint.c:41
Function
test_socket
cli/test/run-human-mode.c:38
Function
test_socket
cli/test/run-large-input.c:38
Function
test_sourcefree_on_mods
auto.sourcefree should also apply to layer-created channels
tests/test_askrene.py:1301
Function
test_sources
add additional sources and search through them
tests/test_reckless.py:182
Function
test_sources
()
plugins/currencyrate-plugin/src/oracle.rs:619
Function
test_spam_commands
(node_factory, bitcoind, benchmark)
tests/benchmark.py:218
Function
test_spam_listcommands
(node_factory, bitcoind, benchmark)
tests/benchmark.py:226
Function
test_sphinx_path_compile
()
contrib/pyln-proto/tests/test_onion.py:320
Function
test_splice
(node_factory, bitcoind)
tests/test_splicing.py:16
Function
test_splice_abort_after_sigs_sent
tx_abort must not tear down an inflight we have already signed. Whoever contributes less to the splice sends tx_signatures first, so with l1
tests/test_splicing.py:793
Function
test_splice_aggravated_close
(node_factory, bitcoind, chainparams, restart_node)
tests/test_splice.py:928
Function
test_splice_candidate_spent_before_lock
A confirmed splice output spent before splice_locked must be adopted. splice_locked needs both sides; a peer that never sends it and closes o
tests/test_splicing.py:957
Function
test_splice_disconnect_commit
(node_factory, bitcoind, executor)
tests/test_splicing_disconnect.py:72
Function
test_splice_disconnect_sig
(node_factory, bitcoind)
tests/test_splicing_disconnect.py:14
Function
test_splice_dying_channel
We should NOT try to use the pre-splice channel here
tests/test_askrene.py:2194
Function
test_splice_feerate_too_high
We refuse a splice a peer proposes at an absurd feerate. The fee comes out of the initiator's balance, so we gain nothing by signing it; they
tests/test_splicing.py:116
Function
test_splice_gossip
(node_factory, bitcoind)
tests/test_splicing.py:382
Function
test_splice_insane_a
(node_factory, bitcoind)
tests/test_splicing_insane.py:53
Function
test_splice_insane_b
(node_factory, bitcoind)
tests/test_splicing_insane.py:69
Function
test_splice_insane_c
(node_factory, bitcoind)
tests/test_splicing_insane.py:85
Function
test_splice_insane_d
(node_factory, bitcoind)
tests/test_splicing_insane.py:101
Function
test_splice_insane_e
(node_factory, bitcoind)
tests/test_splicing_insane.py:117
Function
test_splice_insane_f
(node_factory, bitcoind)
tests/test_splicing_insane.py:133
Function
test_splice_listnodes
(node_factory, bitcoind)
tests/test_splicing.py:445
Function
test_splice_locked_then_force_close
A force close after a locked splice must drop our current commitment. Once the splice locked, the channel's last_tx moved on with every commi
tests/test_splicing.py:844
Function
test_splice_nosign
(node_factory, bitcoind)
tests/test_splicing.py:358
Function
test_splice_out
(node_factory, bitcoind)
tests/test_splicing.py:482
Function
test_splice_rbf
(node_factory, bitcoind)
tests/test_splicing.py:234
Function
test_splice_rbf_htlc_sigs
Once a splice-RBF candidate confirms, only its HTLC signatures become the active set, even when the other candidates place the funding output
tests/test_splicing.py:292
Function
test_splice_sent_sigs_flag
(node_factory, bitcoind)
tests/test_splicing.py:735
Function
test_splice_stored_feerate_repaired_on_upgrade
An out-of-range stored funding feerate is repaired when we upgrade. Nothing used to bound what got written to channel_funding_inflights.fundi
tests/test_splicing.py:75
Function
test_splice_stuck_htlc
(node_factory, bitcoind, executor)
tests/test_splicing.py:628
Function
test_splice_unannounced
(node_factory, bitcoind)
tests/test_splicing.py:764
Function
test_splice_unconfirmed_force_close_publishes_current
A force close with an unconfirmed splice must publish the live commitment too. Until the splice confirms, the channel's own commitment (spending
tests/test_splicing.py:911
Function
test_sql
(node_factory, bitcoind)
tests/test_plugin.py:3585
Function
test_sql_crash
sub-object with inner-sub-object is missing -> Crash. This only happens for local and remote inside listpeerchannels.update (for now).
tests/test_plugin.py:4696
Function
test_sql_deprecated
(node_factory, bitcoind)
tests/test_plugin.py:4512
Function
test_sql_during_change
(node_factory)
tests/test_plugin.py:4729
Function
test_sql_limit_per_list
(node_factory)
tests/test_plugin.py:4524
Function
test_sql_parallel
Parallel refreshes of tables causes SQL errors: Error executing INSERT INTO chainmoves VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?); on row 0: UNIQUE cons
tests/test_plugin.py:4716
Function
test_sqlite3_builtin_backup
(bitcoind, node_factory)
tests/test_db.py:430
Function
test_sqlite_strict_mode
Test that STRICT is appended to CREATE TABLE in developer mode.
tests/test_db.py:664
Function
test_start
(node_factory, benchmark)
tests/benchmark.py:133
Function
test_static_array
()
contrib/pyln-proto/tests/test_message.py:39
Function
test_static_tor_onions
First basic tests ;-) Assume that tor is configured and just test if we see the right onion address for our blob
tests/test_gossip.py:1880
Function
test_staticbackup
Test staticbackup
tests/test_misc.py:3033
Function
test_strict_mode_with_old_database
Test old database upgrades work (STRICT not applied during migrations).
tests/test_db.py:683
Function
test_strip_lightning_suffix_from_inv
Reproducer for [1] that pay an invoice with the `lightning:<bolt11|bolt12>` prefix and then, will check if core lightning is able to strip it
tests/test_pay.py:5654
Function
test_subdaemons_and_exit
lightningd/options.c:1141
Function
test_subtype
()
contrib/pyln-proto/tests/test_message.py:61
Function
test_subtype_array
()
contrib/pyln-proto/tests/test_message.py:93
Function
test_successful_get_info
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:883
Function
test_sum_radd
()
contrib/pyln-client/tests/test_millisatoshi.py:5
Function
test_tag_install
install a plugin from a specific commit hash or tag
tests/test_reckless.py:343
Function
test_testnet_upgrade
Test that we move files correctly on old testnet upgrade (even without specifying the network)
tests/test_misc.py:2714
Function
test_tlv
()
contrib/pyln-proto/tests/test_message.py:116
Function
test_tlv_complex
()
contrib/pyln-proto/tests/test_message.py:155
Function
test_tlv_payload
()
contrib/pyln-proto/tests/test_onion.py:17
Function
test_to_approx_str
()
contrib/pyln-client/tests/test_units.py:5
Function
test_topology_leak
(node_factory, bitcoind)
tests/test_gossip.py:2006
Function
test_tor_port_onions
First basic tests for torport ;-) Assume that tor is configured and just test if we see the right onion address for our blob
tests/test_gossip.py:1915
Function
test_torv2_in_db
(node_factory)
tests/test_misc.py:4217
Function
test_tracing
(node_factory)
tests/test_misc.py:5264
Function
test_tracing_socket
Test UDS datagram tracing backend via CLN_TRACE_SOCKET.
tests/test_misc.py:5383
Function
test_transport_missing_id
()
plugins/lsps-plugin/src/core/transport.rs:265
Function
test_transport_send_failure_cleans_up
()
plugins/lsps-plugin/src/core/transport.rs:238
Function
test_transport_sends_via_sender
()
plugins/lsps-plugin/src/core/transport.rs:213
Function
test_tu_fields
()
contrib/pyln-proto/tests/test_onion.py:38
Function
test_two_chan_splice_in
(node_factory, bitcoind)
tests/test_splicing.py:161
Function
test_txprepare
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:343
Function
test_txprepare_feerate
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:529
Function
test_txprepare_multi
(node_factory, bitcoind)
tests/test_wallet.py:310
Function
test_txsend
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:1252
Function
test_type_serialize
()
plugins/src/options.rs:956
Function
test_typed_hook_schema_mismatch_fallback
()
plugins/src/lib.rs:1384
Function
test_u5_to_bitarray
()
contrib/pyln-proto/tests/test_zbase32.py:58
Function
test_unannounced
(node_factory)
tests/test_renepay.py:864
Function
test_unicode_rpc
(node_factory, executor, bitcoind)
tests/test_misc.py:2840
Function
test_unified_invoices
(node_factory, bitcoind)
tests/test_invoices.py:893
Function
test_unified_invoices_any_amount
An onchain payment to the fallback of an amountless invoice must not crash us
tests/test_invoices.py:915
Function
test_unix_socket_path_length
(node_factory, bitcoind, directory, executor, db_provider, test_base_dir)
tests/test_misc.py:2852
Function
test_unknown_method
Test GET request error on `/v1/unknown-get` end point with default values for options.
tests/test_clnrest.py:168
Function
test_unreachable_routehint
Test that we discard routehints that we can't reach. Reachability is tested by checking whether we can reach the entrypoint of the routehint,
tests/test_pay.py:5149
← previous
next →
15,901–16,000 of 16,782, ranked by callers