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_unreserve_all
Test removing all reservations.
tests/test_askrene.py:2052
Function
test_unspend_during_reorg
(node_factory, bitcoind)
tests/test_wallet.py:2644
Function
test_unwrap
()
contrib/pyln-proto/tests/test_onion.py:328
Function
test_update_fee
(node_factory, bitcoind)
tests/test_connection.py:2457
Function
test_update_fee_dynamic
(node_factory, bitcoind)
tests/test_connection.py:2580
Function
test_update_fee_reconnect
(node_factory, bitcoind)
tests/test_connection.py:2636
Function
test_upgradewallet
(node_factory, bitcoind)
tests/test_wallet.py:2464
Function
test_usage
()
contrib/pyln-client/tests/test_plugin.py:440
Function
test_uses_grpc_plugin_certificates
Test that clnrest reuses `cln-grpc` plugin certificates if available. Defaults: - clnrest-protocol: https
tests/test_clnrest.py:61
Function
test_utf8
ccan/ccan/utf8/test/run-decode.c:98
Function
test_utf8_passthrough
(node_factory, executor)
tests/test_plugin.py:670
Function
test_utxopsbt
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:814
Function
test_v2_abort_after_accepter_tx_sigs
Opener aborts after the accepter has sent tx_signatures. Per the BOLT #2 tx_abort receiver rule, the accepter must not forget the channel unt
tests/test_opening.py:450
Function
test_v2_fail_second
Open a channel succeeds; opening a second channel failure should not drop the connection
tests/test_opening.py:406
Function
test_v2_funding_spent_before_lockin
A dual-funded funding output spent before lock-in must go to onchaind. Before lock-in we only watched whether the funding tx confirmed and how
tests/test_opening.py:1857
Function
test_v2_lockin_single_spend_watch
Lock-in must drop the candidate's spend watch, not stack a second one. The funding output is watched from the moment a candidate is signed; at
tests/test_opening.py:4073
Function
test_v2_open
(node_factory, bitcoind, chainparams)
tests/test_connection.py:1183
Function
test_v2_open_feerate_out_of_range
We refuse an open_channel2 whose feerates are outside our bounds. dualopend was never given min_feerate/max_feerate at all, and the openchann
tests/test_opening.py:144
Function
test_v2_open_sigs_out_of_order
Test what happens if the tx-sigs get sent "before" commitment signed
tests/test_opening.py:376
Function
test_v2_open_sigs_reconnect_1
We test reconnect where L2 drops while sending tx-sigs. Absolutely pure voodoo (the fundchannel command succeeds anyway after a recon
tests/test_opening.py:332
Function
test_v2_open_sigs_reconnect_2
We test reconnect where L2 drops after sending their tx-sigs
tests/test_opening.py:296
Function
test_v2_open_sigs_restart_while_dead
(node_factory, bitcoind)
tests/test_opening.py:482
Function
test_v2_rbf_abort_channel_opens
(node_factory, bitcoind, chainparams)
tests/test_opening.py:701
Function
test_v2_rbf_abort_retry
(node_factory, bitcoind, chainparams)
tests/test_opening.py:621
Function
test_v2_rbf_liquidity_ad
(node_factory, bitcoind, chainparams)
tests/test_opening.py:759
Function
test_v2_rbf_multi
(node_factory, bitcoind, chainparams)
tests/test_opening.py:853
Function
test_v2_rbf_single
(node_factory, bitcoind, chainparams)
tests/test_opening.py:526
Function
test_v2_replay_bookkeeping
Test that your bookkeeping for a liquidity ad is good even if we replay the opening and locking tx!
tests/test_opening.py:2502
Function
test_valid_json_cli
Make sure lightning-cli passes valid json values, so that rust and python plugins don't crash.
tests/test_misc.py:999
Function
test_validate_expired_timestamp
()
plugins/lsps-plugin/src/proto/lsps2.rs:521
Function
test_validate_initial_commitment_signature
tests/fuzz/fuzz-open_channel.c:253
Function
test_validate_invalid_promise
()
plugins/lsps-plugin/src/proto/lsps2.rs:495
Function
test_validate_large_payment_proportional_fee
()
plugins/lsps-plugin/src/proto/lsps2.rs:644
Function
test_validate_max_values
()
plugins/lsps-plugin/src/proto/lsps2.rs:660
Function
test_validate_opening_fee_equals_payment_size
()
plugins/lsps-plugin/src/proto/lsps2.rs:581
Function
test_validate_opening_fee_equals_receivable
()
plugins/lsps-plugin/src/proto/lsps2.rs:614
Function
test_validate_opening_fee_greater_than_payment_size
()
plugins/lsps-plugin/src/proto/lsps2.rs:599
Function
test_validate_opening_fee_greater_than_receivable
()
plugins/lsps-plugin/src/proto/lsps2.rs:629
Function
test_validate_payment_size_overflow
()
plugins/lsps-plugin/src/proto/lsps2.rs:550
Function
test_validate_success_minimal
()
plugins/lsps-plugin/src/proto/lsps2.rs:456
Function
test_validate_success_with_payment_size
()
plugins/lsps-plugin/src/proto/lsps2.rs:468
Function
test_validate_success_with_payment_size_and_receivable
()
plugins/lsps-plugin/src/proto/lsps2.rs:481
Function
test_validate_wrong_secret
()
plugins/lsps-plugin/src/proto/lsps2.rs:508
Function
test_version_reexec
(node_factory, bitcoind)
tests/test_misc.py:3813
Function
test_wait
(node_factory, bitcoind, executor)
tests/test_coinmoves.py:1940
Function
test_wait_invoices
(node_factory, executor)
tests/test_invoices.py:685
Function
test_wait_sendpay
(node_factory, executor)
tests/test_pay.py:660
Function
test_waitanyinvoice
Test various variants of waiting for the next invoice to complete.
tests/test_invoices.py:504
Function
test_waitanyinvoice_reversed
Test waiting for invoices, where they are paid in reverse order to when they are created.
tests/test_invoices.py:570
Function
test_waitblockheight
(node_factory, executor, bitcoind)
tests/test_misc.py:2869
Function
test_waitinvoice
Test waiting for one invoice will not return if another invoice is paid.
tests/test_invoices.py:469
Function
test_warning
()
cln-grpc/src/test.rs:593
Function
test_warning_notification
test 'warning' notifications
tests/test_plugin.py:1492
Function
test_watchtower
Test watchtower hook. l1 and l2 open a channel, make a couple of updates and then l1 cheats on l2 while that one is offline. The watchtower p
tests/test_plugin.py:2450
Function
test_websocket
(node_factory)
tests/test_connection.py:3972
Function
test_websocket_no_rune
Test websocket with default values for options.
tests/test_clnrest.py:316
Function
test_websocket_rune_listnotifications
Test websocket with default values for options.
tests/test_clnrest.py:380
Function
test_websocket_rune_no_listnotifications
Test websocket with default values for options.
tests/test_clnrest.py:396
Function
test_websocket_rune_readonly
Test websocket with default values for options.
tests/test_clnrest.py:364
Function
test_websocket_unrestricted_rune
Test websocket with default values for options.
tests/test_clnrest.py:348
Function
test_websocket_upgrade_header
Test that not setting an upgrade header leads to rejection
tests/test_clnrest.py:496
Function
test_websocket_wrong_rune
Test websocket with default values for options.
tests/test_clnrest.py:330
Function
test_withdraw
(node_factory, bitcoind)
tests/test_wallet.py:36
Function
test_withdraw_bech32m
(node_factory, bitcoind)
tests/test_wallet.py:2324
Function
test_withdraw_close_output_signed
Test that withdraw correctly signs close outputs (anchor/P2WSH). Regression test for https://github.com/ElementsProject/lightning/issues/870
tests/test_wallet.py:2138
Function
test_withdraw_misc
(node_factory, bitcoind, chainparams)
tests/test_misc.py:594
Function
test_withdraw_nlocktime
Test that we don't set the nLockTime to 0 for withdrawal and txprepare transactions.
tests/test_wallet.py:2174
Function
test_withdraw_nlocktime_fuzz
Test that we eventually fuzz nLockTime for withdrawal transactions.
tests/test_wallet.py:2201
Function
test_withdraw_returns_signed_tx
Test that withdraw returns a fully signed transaction in the 'tx' field. Regression test for https://github.com/ElementsProject/lightning/is
tests/test_wallet.py:2102
Function
test_withdraw_unreserves_inputs_on_send_failure
(node_factory, bitcoind)
tests/test_wallet.py:214
Function
test_withdraw_unreserves_on_broadcast_failure
Test withdraw releases reservations after broadcast rejection.
tests/test_wallet.py:2890
Function
test_write
connectd/test/run-responder-success.c:147
Function
test_write
connectd/test/run-initiator-success.c:148
Function
test_write
ccan/ccan/read_write_all/test/run-write_all.c:20
Function
test_write
The io_write() interceptor. * * This should be called once when the initiator is writing out its Act 1 * packet and once when the responder is writ
tests/fuzz/fuzz-connectd-handshake-act3.c:30
Function
test_write
These functions are only called when `peer_init_received()` * enounters an error or an unknown message. Simply return * when that happens. */
tests/fuzz/fuzz-init_received.c:62
Function
test_write
The io_write() interceptor. * * If the fuzzer-generated Act 1 packet was valid, this should be called exactly * once. Otherwise it should not be ca
tests/fuzz/fuzz-connectd-handshake-act1.c:21
Function
test_write
The io_write() interceptor. * * If the fuzzer-generated Act 2 packet was invalid, this should be called * exactly once, when the initiator is writi
tests/fuzz/fuzz-connectd-handshake-act2.c:26
Function
test_wss_proxy
(node_factory)
tests/test_connection.py:4436
Function
test_wumbo_channels
(node_factory, bitcoind)
tests/test_connection.py:3600
Function
test_xkeysend_layer
Test whether we can deliver a keysend by adding layer (vs keyhint's routehints)
tests/test_pay.py:3691
Function
test_xor
()
contrib/pyln-proto/tests/test_onion.py:163
Function
test_xpay_bip353
(node_factory)
tests/test_xpay.py:1059
Function
test_xpay_blockheight_mismatch
We should wait a (reasonable) amount if the final node gives us a blockheight that would explain our failure.
tests/test_xpay.py:1151
Function
test_xpay_bolt12_no_mpp
If we force it, we use MPP even if BOLT12 invoice doesn't say we should
tests/test_xpay.py:646
Function
test_xpay_circular_routehint
Test that xpay gracefully skips a circular bolt11 routehint (src == dst).
tests/test_xpay.py:1018
Function
test_xpay_currency_offer
Test that xpay and sendamount correctly report the currency name when rejecting non-msat offers.
tests/test_xpay.py:1044
Function
test_xpay_error_update_fees
We should process an update inside a temporary_channel_failure
tests/test_xpay.py:1278
Function
test_xpay_error_update_wrong_channel
(node_factory)
tests/test_xpay.py:1310
Function
test_xpay_fake_channeld
(node_factory, bitcoind, chainparams, slow_mode)
tests/test_xpay.py:236
Function
test_xpay_get_error_with_update
We should process an update inside a temporary_channel_failure
tests/test_xpay.py:1245
Function
test_xpay_limited_max_accepted_htlcs
xpay should try to reduce flows to 6 if there is an unannounced channel, and only try more if that fails
tests/test_xpay.py:1099
Function
test_xpay_maxdelay
(node_factory)
tests/test_xpay.py:563
Function
test_xpay_maxhops_bolt11
A bolt11 final payload that no longer fits the cheap route forces the short one. The cheap route is longer than a 639-byte payment_metadata onion
tests/test_xpay.py:1567
Function
test_xpay_no_mpp
Suppress mpp, resulting in a single payment part
tests/test_xpay.py:616
Function
test_xpay_offer
(node_factory)
tests/test_xpay.py:961
Function
test_xpay_offer_invoice_amount_mismatch
xpay must not pay an invoice whose amount isn't the one we asked for. invoice_amount is not one of the fields the invoice has to echo from our
tests/test_xpay.py:979
Function
test_xpay_onion_budget_bolt11_metadata
Large payment_metadata is carried intact, and reduces the hop budget. BOLT11 limits a field to 1023 5-bit units, so metadata can be at most 6
tests/test_xpay.py:1521
Function
test_xpay_onion_budget_keysend
xkeysend with large extratlvs is limited by the onion budget too.
tests/test_xpay.py:1545
Function
test_xpay_partial_msat
(node_factory, executor)
tests/test_xpay.py:361
← previous
next →
16,001–16,100 of 16,782, ranked by callers