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_checkmessage_pubkey_not_found
(node_factory)
tests/test_misc.py:4273
Function
test_checkrune
(node_factory)
tests/test_runes.py:479
Function
test_cli
(node_factory)
tests/test_misc.py:1023
Function
test_cli_commando
(node_factory)
tests/test_misc.py:1227
Function
test_cli_multiline_help
(node_factory)
tests/test_misc.py:1205
Function
test_cli_no_argument
If no arguments are provided, should display help and exit.
tests/test_misc.py:1377
Function
test_cln_plugin_reentrant
Ensure that we continue processing events while already handling. We should be continuing to handle incoming events even though a prior event
tests/test_cln_rs.py:451
Function
test_close
lightningd/test/run-shuffle_fds.c:26
Function
test_close_72_block_delay
(node_factory, bitcoind)
tests/test_gossip.py:2044
Function
test_close_feerate_range
Test the quick-close fee range negotiation
tests/test_closing.py:4013
Function
test_close_twice
(node_factory, executor)
tests/test_closing.py:4051
Function
test_close_weight_estimate
closingd uses the expected closing tx weight to constrain fees; make sure that lightningd agrees once it has the actual agreed tx
tests/test_closing.py:4069
Function
test_closing_anchorspend_htlc_tx_rbf
(node_factory, bitcoind)
tests/test_closing.py:4191
Function
test_closing_cpfp
(node_factory, bitcoind)
tests/test_closing.py:4625
Function
test_closing_different_fees
(node_factory, bitcoind, executor)
tests/test_closing.py:207
Function
test_closing_disconnected_notify
(node_factory, bitcoind, executor)
tests/test_closing.py:160
Function
test_closing_fee_rounding_at_ceiling
A close pinned at the fee ceiling stays a mutual close. With every estimate at the floor, the opener's closing fee range is a single value.
tests/test_closing.py:4438
Function
test_closing_feerange_below_estimates
A close with a feerange below the estimate floor stays a mutual close. closingd negotiates within the feerange given to `close`, but lightnin
tests/test_closing.py:4478
Function
test_closing_higherfee
We can ask for a *higher* fee than the last commit tx
tests/test_closing.py:3814
Function
test_closing_id
Test closing using peer ID and full channel ID
tests/test_closing.py:180
Function
test_closing_ignore_fee_limits
Don't use ignore-fee-limits on mutual close: LDK takes us to the cleaners if we do!
tests/test_closing.py:4701
Function
test_closing_minfee
(node_factory, bitcoind)
tests/test_closing.py:4426
Function
test_closing_negotiation_reconnect
(node_factory, bitcoind)
tests/test_closing.py:266
Function
test_closing_negotiation_step_100pct
Test that the closing fee negotiation step works, 100%
tests/test_closing.py:461
Function
test_closing_negotiation_step_1sat
Test that the closing fee negotiation step works, 1sat
tests/test_closing.py:481
Function
test_closing_negotiation_step_30pct
Test that the closing fee negotiation step works, 30%
tests/test_closing.py:446
Function
test_closing_negotiation_step_700sat
Test that the closing fee negotiation step works, 700sat
tests/test_closing.py:496
Function
test_closing_no_anysegwit_retry
Sure, we reject the first time, but let them try again!
tests/test_closing.py:4687
Function
test_closing_rejected_fee_fails_negotiation
A closing fee lightningd rejects ends the negotiation. closingd only learns the txid from lightningd's reply, never the verdict, so it agrees
tests/test_closing.py:4512
Function
test_closing_simple
(node_factory, bitcoind, chainparams)
tests/test_closing.py:27
Function
test_closing_specified_destination
(node_factory, bitcoind, chainparams)
tests/test_closing.py:288
Function
test_closing_tx_valid
(node_factory, bitcoind)
tests/test_closing.py:4398
Function
test_closing_while_disconnected
(node_factory, bitcoind, executor)
tests/test_closing.py:134
Function
test_cltv_value
(node_factory, bitcoind)
tests/test_renepay.py:879
Function
test_cmp
ccan/ccan/asort/test/run.c:8
Function
test_coin_movement
()
cln-grpc/src/test.rs:366
Function
test_coin_movement_notices
Verify that channel coin movements are triggered correctly.
tests/test_plugin.py:2547
Function
test_coinbase_unspendable
A node should not be able to spend a coinbase output before it's mature
tests/test_opening.py:2891
Function
test_coinmoves
(node_factory, bitcoind)
tests/test_coinmoves.py:106
Function
test_coinmoves_unilateral_htlc_before_included
(node_factory, bitcoind)
tests/test_coinmoves.py:513
Function
test_coinmoves_unilateral_htlc_dust
HTLC too small to appear in tx, lost to fees
tests/test_coinmoves.py:1025
Function
test_coinmoves_unilateral_htlc_fulfill
HTLC gets fulfilled (onchain)
tests/test_coinmoves.py:1214
Function
test_coinmoves_unilateral_htlc_fulfilled_oneside
l1 drops to chain with HTLC fulfilled (included in l2's output), l2 hasn't seen completion yet.
tests/test_coinmoves.py:1487
Function
test_coinmoves_unilateral_htlc_penalty
l2 drops to old commitment to chain with HTLC.
tests/test_coinmoves.py:1706
Function
test_coinmoves_unilateral_htlc_timeout
HTLC times out
tests/test_coinmoves.py:708
Function
test_command_collision
We add a new method with the inline plugin. Then try to register the same method with another dynamic plugin. lightningd should report back a name
tests/test_plugin.py:6018
Function
test_commando
(node_factory, executor)
tests/test_plugin.py:3180
Function
test_commando_stress
Stress test to slam commando with many large queries
tests/test_plugin.py:3279
Function
test_commit_crash_splice
(node_factory, bitcoind)
tests/test_splicing.py:577
Function
test_commitfee_option
Sanity check for the --commit-fee startup option.
tests/test_misc.py:3358
Function
test_commitment_feerate
(bitcoind, node_factory, anchors)
tests/test_opening.py:3100
Function
test_commitment_revocation_hook
()
cln-rpc/src/test.rs:351
Function
test_compare_int
()
contrib/pyln-client/tests/test_millisatoshi.py:10
Function
test_concurrency
(node_factory)
tests/test_renepay.py:701
Function
test_config_in_subdir
(node_factory, chainparams)
tests/test_misc.py:2650
Function
test_config_whitespace
Test the configuration parsing with extra whitespace in the configuration file.
tests/test_misc.py:4487
Function
test_configfile_before_chdir
Must read config file before chdir into lightning dir
tests/test_misc.py:2060
Function
test_connect
cli/test/run-remove-hint.c:47
Function
test_connect
cli/test/run-human-mode.c:44
Function
test_connect
cli/test/run-large-input.c:44
Function
test_connect_basic
(node_factory)
tests/test_connection.py:36
Function
test_connect_by_gossip
Test connecting to an unknown peer using node gossip
tests/test_gossip.py:353
Function
test_connect_proxy_maxlen_hostname
A maximum-length hostname must produce a well-formed SOCKS5 request. The request is assembled in a fixed buffer, and the hostname was copied
tests/test_connection.py:5107
Function
test_connect_ratelimit
l1 has 5 peers, restarts, make sure we limit
tests/test_connection.py:4723
Function
test_connect_standard_addr
Test standard node@host:port address
tests/test_connection.py:247
Function
test_connect_transient
(node_factory)
tests/test_connection.py:4520
Function
test_connect_transient_pending
Test that we kick out in-connection transient connections
tests/test_connection.py:4541
Function
test_connection_moved
(node_factory, executor)
tests/test_connection.py:303
Function
test_connection_timeout
(node_factory)
tests/test_connection.py:3745
Function
test_constant_packet_size
Test that TCP packets between nodes are constant size. This will be skipped unless you can run `dumpcap` (usually means you have to be in th
tests/test_connection.py:5082
Function
test_content_type_header_types
(node_factory)
tests/test_clnrest.py:575
Function
test_contextual_help
(node_factory)
tests/test_reckless.py:173
Function
test_crash_only_hook_returns_error
()
plugins/src/lib.rs:1448
Function
test_crashlog
(node_factory)
tests/test_misc.py:2046
Function
test_create_gossip_mesh
Feel free to modify this test and remove the '@pytest.mark.skip' above. Run it to get a customized gossip store. It fails on purpose, see bel
tests/test_misc.py:4342
Function
test_create_version
()
contrib/pyln-client/tests/test_version.py:4
Function
test_createinvoice_expiry_too_large
createinvoice must apply the same expiry bound as invoice. A crafted bolt11 can carry an expiry past the invoice RPC's gate: decode does not
tests/test_invoices.py:1167
Function
test_createonion_limits
(node_factory)
tests/test_pay.py:3376
Function
test_createonion_rpc
(node_factory)
tests/test_pay.py:2965
Function
test_createproof
Basic createproof tests: invoice string, offer string, no payment, note, include.
tests/test_pay.py:7293
Function
test_createproof_include
Proof with custom include list: only requested fields appear.
tests/test_pay.py:7367
Function
test_createproof_note
Proof with a note: decoded proof should include it.
tests/test_pay.py:7342
Function
test_createrune
(node_factory)
tests/test_runes.py:13
Function
test_createrune_per_restriction
(node_factory)
tests/test_runes.py:244
Function
test_currencyrate_rounding
Test currencyrate returns at most 3 decimal places (ISO 4217).
tests/test_currencyrate.py:493
Function
test_currencyrate_source
Test currencyrate with a source argument returns that source's rate.
tests/test_currencyrate.py:525
Function
test_currencyrate_too_many_args
Test that all three RPC calls reject extra positional arguments.
tests/test_currencyrate.py:568
Function
test_currencyrate_unknown_source
Test currencyrate with a non-existent source name returns an error.
tests/test_currencyrate.py:553
Function
test_custommsg_hook
()
cln-rpc/src/test.rs:798
Function
test_custommsg_triggers_notification
Check that a notification is triggered when a node receives a custommsg. We'll send a message from l2 to l1 and verify that l1 received t
tests/test_misc.py:2983
Function
test_daemon_option
Make sure --daemon at least vaguely works!
tests/test_misc.py:1342
Function
test_dataloss_protection
(node_factory, bitcoind)
tests/test_connection.py:3107
Function
test_dataloss_protection_no_broadcast
(node_factory, bitcoind)
tests/test_connection.py:3214
Function
test_datastore
(node_factory)
tests/test_misc.py:4005
Function
test_datastore_escapeing
This test demonstrates that there is some character escaping issue issue in the datastore API and error messages during startup that
tests/test_misc.py:3993
Function
test_datastore_keylist
(node_factory)
tests/test_misc.py:4120
Function
test_datastoreusage
(node_factory)
tests/test_misc.py:4183
Function
test_db_dangling_peer_fix
(node_factory, bitcoind)
tests/test_db.py:17
Function
test_db_forward_migrate
(bitcoind, node_factory)
tests/test_db.py:491
Function
test_db_hook
This tests the db hook.
tests/test_plugin.py:612
← previous
next →
14,901–15,000 of 16,782, ranked by callers