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_bkpr_currencyrate_warns_for_old_events
(node_factory, fake_rateserver)
tests/test_currencyrate.py:381
Function
test_bkpr_listaccountevents_currencyrate
(node_factory, fake_rateserver)
tests/test_currencyrate.py:208
Function
test_bkpr_listaccountevents_realtime
Make sure we don't wait for bkpr command to look up rates!
tests/test_currencyrate.py:230
Function
test_bkpr_parallel
Bookkeeper could crash with parallel requests
tests/test_bookkeeper.py:1224
Function
test_bkpr_report_invoice
(node_factory)
tests/test_bookkeeper.py:1299
Function
test_bkpr_report_lightning_cli_csv
(node_factory)
tests/test_bookkeeper.py:1331
Function
test_bkpr_report_tags_and_fallback
(node_factory)
tests/test_bookkeeper.py:1245
Function
test_blacklistrune
(node_factory)
tests/test_runes.py:350
Function
test_blacklistrune_out_of_range
blacklistrune cannot reach ids >= 100,000,000, so those must be refused
tests/test_runes.py:965
Function
test_blind
()
contrib/pyln-proto/tests/test_onion.py:108
Function
test_blind_group_element
()
contrib/pyln-proto/tests/test_onion.py:136
Function
test_blinded_forward_policy
Test that an intermediate nodes in a blinded path verify that the encrypted_recipient_data it receives matches its own relay policy.
tests/test_pay.py:7421
Function
test_blinded_path_fees
Test that we don't send the amount+fees to our direct peer (we should only send the required amount) when the sending node is the entry point in
tests/test_xpay.py:1373
Function
test_blinded_path_max
We have a bug where we can create a invoice_blindedpay with 0 htlc_maximum_msat.
tests/test_pay.py:7283
Function
test_blinded_reply_path_scid
Check that we handle a blinded path which begins with a scid instead of a nodeid
tests/test_pay.py:5942
Function
test_blindedpath_noaddr
(node_factory, bitcoind)
tests/test_pay.py:5918
Function
test_blindedpath_privchan
(node_factory, bitcoind)
tests/test_pay.py:5873
Function
test_block_added_notifications
Test if a plugin gets notifications when a new block is found
tests/test_plugin.py:3551
Function
test_block_backfill
Test whether we backfill data from the blockchain correctly. For normal operation we will process any block after the initial start height, o
tests/test_db.py:38
Function
test_blockchaintrack
Check that we track the blockchain correctly across reorgs
tests/test_misc.py:1384
Function
test_bolt11_null_after_pay
(node_factory, bitcoind)
tests/test_pay.py:4046
Function
test_bolt12_invoice_decode
Test decode of a real invoice.
tests/test_misc.py:5253
Function
test_bolt_01_csv
()
contrib/pyln-spec/bolt1/tests/test_bolt1.py:35
Function
test_bolt_01_csv_tlv
()
contrib/pyln-spec/bolt1/tests/test_bolt1.py:7
Function
test_bolt_02_csv
()
contrib/pyln-spec/bolt2/tests/test_bolt2.py:7
Function
test_bolt_04_csv
()
contrib/pyln-spec/bolt4/tests/test_bolt4.py:7
Function
test_bolt_07_csv
()
contrib/pyln-spec/bolt7/tests/test_bolt7.py:7
Function
test_bolt_07_subtypes
()
contrib/pyln-spec/bolt7/tests/test_bolt7.py:11
Function
test_bookkeeper_custom_notifs
(node_factory, chainparams)
tests/test_bookkeeper.py:848
Function
test_bookkeeping_closing_subsat_htlcs
Test closing balances when HTLCs are: sub 1-satoshi
tests/test_bookkeeper.py:86
Function
test_bookkeeping_closing_trimmed_htlcs
(node_factory, bitcoind, executor)
tests/test_bookkeeper.py:37
Function
test_bookkeeping_descriptions
When an 'invoice' type event comes through, we look up the description details to include about the item. Particularly useful for CSV outputs
tests/test_bookkeeper.py:656
Function
test_bookkeeping_external_withdraws
Withdrawals to an external address shouldn't be included in the income statements until confirmed
tests/test_bookkeeper.py:131
Function
test_bookkeeping_inspect_mfc_dual_funded
Test that bookkeeper splits multifundchannel fees correctly for dual funded channels. For dual funded channels, the other nodes also pay part
tests/test_bookkeeper.py:480
Function
test_bookkeeping_inspect_multifundchannel
Test that bookkeeper splits multifundchannel fees correctly for single funded channels. For single funded channels, l1 pays the entirety of t
tests/test_bookkeeper.py:422
Function
test_bookkeeping_missed_chans_leases
Test that a lease is correctly recorded if bookkeeper was off
tests/test_bookkeeper.py:292
Function
test_bookkeeping_missed_chans_pay_after
Route a payment through a channel that we didn't have open when the bookkeeper was around
tests/test_bookkeeper.py:552
Function
test_bookkeeping_missed_chans_pushed
Test for a push_msat value in a missed channel open.
tests/test_bookkeeper.py:359
Function
test_bookkeeping_onchaind_txs
Test for a channel that's closed, but whose close tx re-appears in the rescan
tests/test_bookkeeper.py:610
Function
test_bookkeeping_rbf_withdraw
If a withdraw to an external gets RBF'd, it should *not* show up in our income ever. (but it will show up in our account events)
tests/test_bookkeeper.py:211
Function
test_broken
()
tests/plugins/broken.py:19
Function
test_buy_liquidity_ad_check_bookkeeping
Test that your bookkeeping for a liquidity ad is good.
tests/test_opening.py:2565
Function
test_buy_liquidity_ad_no_v2
Test that you can't actually request amt for a node that doesn' support v2 opens
tests/test_opening.py:2483
Function
test_bwatch_add_watch_creates_datastore_entry
Test that adding a watch creates a datastore entry
tests/test_plugin.py:5136
Function
test_bwatch_block_history_rollback
Test that block history is correctly rolled back during reorg
tests/test_plugin.py:5681
Function
test_bwatch_blockdepth_watch_creates_datastore_entry
Test that adding a blockdepth watch creates a datastore entry
tests/test_plugin.py:5828
Function
test_bwatch_blockdepth_watch_fires_each_block
Test that a blockdepth watch fires watch_found for every block >= start_block
tests/test_plugin.py:5915
Function
test_bwatch_blockdepth_watch_multiple_owners
Test that multiple owners can share a blockdepth watch at the same start_block
tests/test_plugin.py:5878
Function
test_bwatch_blockdepth_watch_no_fire_before_start_block
Test that a blockdepth watch with a future start_block doesn't fire early
tests/test_plugin.py:5970
Function
test_bwatch_blockdepth_watch_persists_across_restart
Test that a blockdepth watch survives a node restart
tests/test_plugin.py:5943
Function
test_bwatch_blockdepth_watch_remove
Test that deleting a blockdepth watch removes it from the datastore
tests/test_plugin.py:5855
Function
test_bwatch_listwatch
Test that listwatch RPC returns all active watches
tests/test_plugin.py:5753
Function
test_bwatch_multiple_owners_same_watch
Test that multiple owners can watch the same thing
tests/test_plugin.py:5150
Function
test_bwatch_no_rescan_for_future_start_block
Test that adding a watch with start_block in the future doesn't trigger rescan
tests/test_plugin.py:5299
Function
test_bwatch_outpoint_watch
Test outpoint watch datastore operations
tests/test_plugin.py:5255
Function
test_bwatch_outpoint_watch_notifies_lightningd
Test that spending a watched outpoint triggers watch_found to lightningd
tests/test_plugin.py:5367
Function
test_bwatch_remove_last_owner_deletes_watch
Test that removing the last owner deletes the datastore entry
tests/test_plugin.py:5212
Function
test_bwatch_remove_one_owner_keeps_watch
Test that removing one owner doesn't remove the watch if others remain
tests/test_plugin.py:5193
Function
test_bwatch_reorg_1_block
Test bwatch handles a 1-block reorg correctly
tests/test_plugin.py:5453
Function
test_bwatch_reorg_2_blocks
Test bwatch handles a 2-block reorg correctly
tests/test_plugin.py:5516
Function
test_bwatch_reorg_at_startup
Test bwatch handles reorg that happened while node was down
tests/test_plugin.py:5642
Function
test_bwatch_reorg_long_chain
Test bwatch handles a longer reorg (5+ blocks)
tests/test_plugin.py:5577
Function
test_bwatch_rescan_notifies_lightningd
Test that matches found during rescan also trigger watch_found
tests/test_plugin.py:5403
Function
test_bwatch_rescan_scriptpubkey
Test that scriptpubkey watches also trigger rescan
tests/test_plugin.py:5324
Function
test_bwatch_rescan_triggered_for_past_start_block
Test that adding a watch with start_block in the past triggers a rescan
tests/test_plugin.py:5274
Function
test_bwatch_same_owner_adds_twice
Test that the same owner adding the same watch twice is idempotent
tests/test_plugin.py:5166
Function
test_bwatch_scriptpubkey_watch
Test scriptpubkey watch datastore operations
tests/test_plugin.py:5234
Function
test_bwatch_scriptpubkey_watch_notifies_lightningd
Test that a matching scriptpubkey triggers watch_found to lightningd
tests/test_plugin.py:5344
Function
test_bwatch_watches_persist_across_restart
Test that watches are restored from datastore after restart
tests/test_plugin.py:5436
Function
test_cached_median
This should use the median of available sources
tests/test_currencyrate.py:178
Function
test_call_enum
()
cln-rpc/src/test.rs:130
Function
test_call_enum_remote_error
()
cln-rpc/src/test.rs:88
Function
test_call_typed
()
cln-rpc/src/test.rs:175
Function
test_call_typed_remote_error
()
cln-rpc/src/test.rs:212
Function
test_cancel_recurrence
Test handling of invoice cancellation
tests/test_pay.py:7167
Function
test_chacha20_stream
Test that we can generate a correct stream for encryption/decryption
contrib/pyln-proto/tests/test_onion.py:291
Function
test_change_chaining
Test change chaining of unconfirmed fundings Change chaining is the case where one transaction is broadcast but not confirmed yet and we alre
tests/test_connection.py:3444
Function
test_channel_abandon
Our open tx isn't mined, we doublespend it away
tests/test_connection.py:427
Function
test_channel_features
(node_factory, bitcoind, anchors)
tests/test_connection.py:3680
Function
test_channel_htlcs_id_change
Make sure we can add new htlcs to an old db, after upgrade. This one was made with v25.02.1
tests/test_db.py:541
Function
test_channel_lease_falls_behind
If our peer falls too far behind/doesn't send us an update for their blockheight, the lessor fails the channel
tests/test_closing.py:782
Function
test_channel_lease_lessee_cheat
Check that lessor can recover funds if lessee cheats
tests/test_closing.py:1123
Function
test_channel_lease_lessor_cheat
Check that lessee can recover funds if lessor cheats
tests/test_closing.py:1048
Function
test_channel_lease_post_expiry
(node_factory, bitcoind, chainparams)
tests/test_closing.py:821
Function
test_channel_lease_unilat_closes
Check that channel leases work l1-l2: l1 leases funds from l2; l1 goes to chain unilaterally l2-l3: l2 leases funds from l3; l3 goes to
tests/test_closing.py:922
Function
test_channel_opened_notification
Test the 'channel_opened' notification sent at channel funding success.
tests/test_plugin.py:1567
Function
test_channel_persistence
(node_factory, bitcoind, executor)
tests/test_connection.py:2328
Function
test_channel_receivable
Test that receivable_msat is accurate
tests/test_pay.py:2690
Function
test_channel_reenable
(node_factory)
tests/test_connection.py:2436
Function
test_channel_spendable
Test that spendable_msat is accurate
tests/test_pay.py:2584
Function
test_channel_spendable_large
Test that spendable_msat is accurate for large channels
tests/test_pay.py:2767
Function
test_channel_spendable_receivable_capped
Test that spendable_msat and receivable_msat is capped at 2^32-1
tests/test_pay.py:2803
Function
test_channel_state_change_history
We open and close a channel and check for state_canges entries.
tests/test_plugin.py:1173
Function
test_channel_state_changed
()
cln-grpc/src/test.rs:431
Function
test_channel_state_changed_bilateral
We open and close a channel and check notifications both sides. The misc_notifications.py plugin logs `channel_state_changed` events.
tests/test_plugin.py:859
Function
test_channel_state_changed_unilateral
We open, disconnect, force-close a channel and check for notifications. The misc_notifications.py plugin logs `channel_state_changed` events.
tests/test_plugin.py:1037
Function
test_chdir
cli/test/run-remove-hint.c:87
Function
test_chdir
cli/test/run-human-mode.c:60
Function
test_chdir
cli/test/run-large-input.c:60
Function
test_check_command
(node_factory)
tests/test_misc.py:2094
← previous
next →
14,801–14,900 of 16,782, ranked by callers