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_fetch_no_description_offer
Reproducing the issue: https://github.com/ElementsProject/lightning/issues/7405
tests/test_pay.py:6153
Function
test_fetch_no_description_with_amount
Reproducing the issue: https://github.com/ElementsProject/lightning/issues/7405
tests/test_pay.py:6169
Function
test_fetchinvoice
(node_factory, bitcoind)
tests/test_pay.py:4615
Function
test_fetchinvoice_3hop
(node_factory, bitcoind)
tests/test_pay.py:4604
Function
test_fetchinvoice_autoconnect
We should autoconnect if we need to, to route.
tests/test_pay.py:4889
Function
test_fetchinvoice_autoconnect_if_disconnected
If peer is disconnected, we should NOT try to use it
tests/test_pay.py:4931
Function
test_fetchinvoice_disconnected_reply
We ask for invoice, but reply path doesn't lead directly from recipient
tests/test_pay.py:4943
Function
test_fetchinvoice_recurrence
Test for our recurrence extension
tests/test_pay.py:4775
Function
test_fetchinvoice_with_no_quantity
Reproducer for https://github.com/ElementsProject/lightning/issues/6089 The issue is when the offer has the quantity_max and the parameter.
tests/test_pay.py:5570
Function
test_fetchinvoice_with_payer_metadata
(node_factory, bitcoind)
tests/test_pay.py:7007
Function
test_field
plugins/offers_invreq_hook.c:117
Function
test_field_filter
(node_factory, chainparams)
tests/test_misc.py:4225
Function
test_filler
Generate the filler from a sphinx path The expected filler was generated using the following test vector, and by instrumenting the sphinx cod
contrib/pyln-proto/tests/test_onion.py:256
Function
test_filter_with_invalid_json
(node_factory)
tests/test_misc.py:5359
Function
test_floats
()
contrib/pyln-client/tests/test_units.py:40
Function
test_force_feerates
(node_factory)
tests/test_misc.py:3928
Function
test_forget_channel
(node_factory)
tests/test_connection.py:2714
Function
test_forward
(node_factory, bitcoind)
tests/test_pay.py:1154
Function
test_forward_different_fees_and_cltv
(node_factory, bitcoind)
tests/test_pay.py:1219
Function
test_forward_event
()
cln-grpc/src/test.rs:469
Function
test_forward_event_notification
test 'forward_event' notifications
tests/test_plugin.py:1583
Function
test_forward_local_failed_stats
Check that we track forwarded payments correctly. We wire up the network to have l1 and l6 as payment initiator, l2 as forwarded (the one we
tests/test_pay.py:1496
Function
test_forward_pad_fees_and_cltv
Test that we are allowed extra locktime delta, and fees
tests/test_pay.py:1348
Function
test_forward_payment
(node_factory, benchmark)
tests/benchmark.py:90
Function
test_forward_stats
Check that we track forwarded payments correctly. We wire up the network to have l1 as payment initiator, l2 as forwarded (the one we check)
tests/test_pay.py:1417
Function
test_fputc
cli/test/run-remove-hint.c:81
Function
test_free
ccan/ccan/htable/test/run-allocator.c:20
Function
test_free
ccan/ccan/timer/test/run-expire-alloc-fail.c:28
Function
test_free
ccan/ccan/timer/test/run-allocator.c:18
Function
test_fulfill_incoming_first
Test that we handle the case where we completely resolve incoming htlc before fulfilled outgoing htlc
tests/test_connection.py:3297
Function
test_fundamental
()
contrib/pyln-proto/tests/test_message.py:7
Function
test_fundamental_types
()
contrib/pyln-proto/tests/test_fundamental_types.py:6
Function
test_fundchannel
()
cln-rpc/src/primitives.rs:913
Function
test_fundchannel_complete_rejects_nonsegwit_unsigned
(node_factory, bitcoind)
tests/test_connection.py:1791
Function
test_fundchannel_listtransaction
(node_factory, bitcoind)
tests/test_wallet.py:2086
Function
test_fundchannel_start_alternate
Test to see what happens if two nodes start channeling to each other alternately. Issue #4108
tests/test_connection.py:3797
Function
test_fundchannel_utxo_too_small
(bitcoind, node_factory)
tests/test_opening.py:3206
Function
test_fundee_forget_funding_tx_unconfirmed
Test that fundee will forget the channel if the funding tx has been unconfirmed for too long.
tests/test_connection.py:2831
Function
test_fundee_node_unconfirmed
Test that fundee will successfully broadcast and funder still has correct UTXOs/correctly advances the channel
tests/test_connection.py:2891
Function
test_funder_contribution_limits
(node_factory, bitcoind)
tests/test_opening.py:2131
Function
test_funder_options
(node_factory, bitcoind)
tests/test_opening.py:2066
Function
test_funding_all
Add some funds, fund a channel using all funds, make sure no funds remain
tests/test_connection.py:1064
Function
test_funding_all_too_much
Add more than max possible funds, fund a channel using all funds we can.
tests/test_connection.py:1088
Function
test_funding_by_utxos
Fund a channel with specific utxos
tests/test_connection.py:1256
Function
test_funding_cancel_race
(node_factory, bitcoind, executor)
tests/test_connection.py:1481
Function
test_funding_change
Add some funds, fund a channel, and make sure we remember the change
tests/test_connection.py:1040
Function
test_funding_close_upfront
(node_factory, bitcoind)
tests/test_connection.py:1644
Function
test_funding_external_wallet
(node_factory, bitcoind)
tests/test_connection.py:1732
Function
test_funding_external_wallet_corners
(node_factory, bitcoind)
tests/test_connection.py:1296
Function
test_funding_fail
Add some funds, fund a channel without enough funds
tests/test_connection.py:1115
Function
test_funding_push
Try to push peer some sats
tests/test_connection.py:1207
Function
test_funding_reorg_get_upset
(node_factory, bitcoind)
tests/test_misc.py:1526
Function
test_funding_reorg_private
Change funding tx height after lockin, between node restart.
tests/test_misc.py:1429
Function
test_funding_reorg_remote_lags
Nodes may disagree about short_channel_id before channel announcement
tests/test_misc.py:1476
Function
test_funding_toolarge
Try to create a giant channel
tests/test_connection.py:1158
Function
test_funding_v2_cancel_race
(node_factory, bitcoind, executor)
tests/test_connection.py:1564
Function
test_funding_v2_corners
(node_factory, bitcoind)
tests/test_connection.py:1412
Function
test_funding_while_offline
(node_factory, bitcoind)
tests/test_connection.py:2303
Function
test_fundpsbt
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:669
Function
test_fundpsbt_feerates
(node_factory, bitcoind, chainparams, addrtype)
tests/test_wallet.py:560
Function
test_fwrite
lightningd/test/run-log_filter.c:83
Function
test_generate_certificate
Test whether we correctly generate the certificates.
tests/test_clnrest.py:81
Function
test_generate_coinmoves
(node_factory, bitcoind, executor, benchmark)
tests/benchmark.py:137
Function
test_generate_examples
Re-generates examples for doc/schema/lightning-*.json files
tests/autogenerate-rpc-examples.py:2055
Function
test_generate_gossip_store
(node_factory)
tests/test_gossip.py:2330
Function
test_generate_keyset
()
contrib/pyln-proto/tests/test_onion.py:90
Function
test_get_info_rpc_error_handling
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:924
Function
test_getemergencyrecoverdata
Test getemergencyrecoverdata
tests/test_misc.py:3092
Function
test_getinfo
()
cln-grpc/src/test.rs:236
Function
test_getlog
Test the getlog command
tests/test_misc.py:3857
Function
test_getlog_no_io
getlog must not hand out io logs: they contain the raw JSON-RPC and plugin traffic, which includes secrets such as runes.
tests/test_misc.py:3868
Function
test_getpid
cli/test/run-remove-hint.c:53
Function
test_getpid
cli/test/run-human-mode.c:50
Function
test_getpid
cli/test/run-large-input.c:50
Function
test_getroute_exclude
Test getroute's exclude argument
tests/test_gossip.py:1508
Function
test_getroute_exclude_duplicate
Test that accidentally duplicating the same channel or same node in the exclude list will not have permanent effects.
tests/test_gossip.py:1472
Function
test_getroutes
Test getroutes call
tests/test_askrene.py:737
Function
test_getroutes_auto_localchans
Test getroutes call with auto.localchans layer
tests/test_askrene.py:1185
Function
test_getroutes_auto_sourcefree
Test getroutes call with auto.sourcefree layer
tests/test_askrene.py:1030
Function
test_getroutes_fee_fallback
Test getroutes call takes into account fees, if excessive
tests/test_askrene.py:984
Function
test_getroutes_hop_probability
Test the effects of the default per_hop_probability (limit the length of payment paths) and how limits in the fees triggers the variation of mu so
tests/test_askrene.py:2773
Function
test_getroutes_ignores_recovery_stubs
(node_factory)
tests/test_askrene.py:1236
Function
test_getroutes_maxdelay
(node_factory)
tests/test_askrene.py:1129
Function
test_getroutes_maxhops
maxhops limits the length of every returned path.
tests/test_askrene.py:2807
Function
test_getroutes_maxhops_binding
(node_factory, payment_amount)
tests/test_askrene.py:2893
Function
test_getroutes_maxhops_mpp
maxhops applies to every part of an MPP solution.
tests/test_askrene.py:2849
Function
test_getroutes_single_path
Test getroutes generating single path payments
tests/test_askrene.py:899
Function
test_gossip_addresses
(node_factory, bitcoind)
tests/test_gossip.py:1070
Function
test_gossip_announce_invalid_block
bitcoind lags and we might get an announcement for a block we don't have.
tests/test_gossip.py:1790
Function
test_gossip_announce_unknown_block
Don't backfill the future! If we get a channel_announcement that is for a block height that is above our sync height we should not store the
tests/test_gossip.py:1815
Function
test_gossip_badsig
Make sure node announcement signatures are ok. This is a smoke test to see if signatures fail. This used to be the case occasionally before P
tests/test_gossip.py:477
Function
test_gossip_disable_channels
Simple test to check that channels get disabled correctly on disconnect and reenabled upon reconnecting
tests/test_gossip.py:83
Function
test_gossip_dying_when_compact
During PR review, @daywalker90 found a crash when we compacted with a dying channel: our implementation did not reset these, so the offsets were wrong
tests/test_gossip.py:2584
Function
test_gossip_force_broadcast_channel_msgs
Send our own channel_update, node_announcement or channel_announcement to existing peers, even if they say they're not interested.
tests/test_gossip.py:2430
Function
test_gossip_jsonrpc
(node_factory)
tests/test_gossip.py:393
Function
test_gossip_lease_rates
(node_factory, bitcoind)
tests/test_gossip.py:1108
Function
test_gossip_no_backtalk
(node_factory)
tests/test_gossip.py:1846
Function
test_gossip_no_empty_announcements
(node_factory, bitcoind, chainparams)
tests/test_gossip.py:636
Function
test_gossip_not_dying
(node_factory, bitcoind)
tests/test_gossip.py:2085
Function
test_gossip_notices_close
(node_factory, bitcoind)
tests/test_gossip.py:1424
← previous
next →
15,101–15,200 of 16,782, ranked by callers