MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

Functiontest_no_reconnect_awating_unilateral
(node_factory, bitcoind)
tests/test_connection.py:4303
Functiontest_no_sources
(node_factory)
tests/test_currencyrate.py:82
Functiontest_noarg
ccan/ccan/opt/test/utils.c:11
Functiontest_node_bias_persistence
Test node bias persistence.
tests/test_askrene.py:451
Functiontest_node_bias_routes
Test getroutes with biased nodes.
tests/test_askrene.py:549
Functiontest_node_bias_rpc
Test manipulating node bias in layers.
tests/test_askrene.py:342
Functiontest_node_reannounce
Test that we reannounce a node when parameters change
tests/test_gossip.py:1314
Functiontest_nonegative
()
contrib/pyln-client/tests/test_units.py:226
Functiontest_nonnumeric_uniqueid
We always use numeric uniqueids, don't allow other forms
tests/test_runes.py:633
Functiontest_nonstatic_channel
Smoke test for a channel without option_static_remotekey
tests/test_connection.py:3723
Functiontest_nosubmsat
()
contrib/pyln-client/tests/test_units.py:210
Functiontest_notify
Test that notifications from plugins get ignored
tests/test_plugin.py:2761
Functiontest_notimestamp_logging
(node_factory)
tests/test_misc.py:3847
Functiontest_numeric_msat_notification
Test that msat fields are integers in notifications also.
tests/test_clnrest.py:412
Functiontest_objects
()
contrib/pyln-client/tests/test_gossmap.py:99
Functiontest_offer
(node_factory, bitcoind)
tests/test_pay.py:4409
Functiontest_offer_currency_no_amount
(node_factory)
tests/test_pay.py:7277
Functiontest_offer_deprecated_api
(node_factory, bitcoind)
tests/test_pay.py:4592
Functiontest_offer_experimental_fields
(node_factory)
tests/test_pay.py:6132
Functiontest_offer_fronting
(node_factory)
tests/test_invoices.py:1113
Functiontest_offer_path_self
We can fetch an offer, and pay an invoice which uses a blinded path starting at us
tests/test_pay.py:6052
Functiontest_offer_paths
(node_factory, bitcoind)
tests/test_pay.py:5970
Functiontest_offer_selfpay
We can fetch an pay our own offer
tests/test_pay.py:6094
Functiontest_offer_selfpay
We can fetch an pay our own offer
tests/test_renepay.py:856
Functiontest_offer_with_private_channels_multyhop2
We should be able to fetch an invoice through a private path and pay the invoice
tests/test_pay.py:6213
Functiontest_offers
(node_factory)
tests/test_renepay.py:847
Functiontest_offline
(node_factory)
tests/test_connection.py:4384
Functiontest_old_feerate
Test retransmission of old, now-unacceptable, feerate
tests/test_connection.py:3950
Functiontest_old_htlcs_cleanup
We lazily delete htlcs from channel_htlcs table
tests/test_wallet.py:2568
Functiontest_onchain_all_dust
Onchain handling when we reduce output to all dust
tests/test_closing.py:2977
Functiontest_onchain_close_no_p2tr
Closing with a peer which doesn't support OPT_SHUTDOWN_ANYSEGWIT
tests/test_closing.py:4993
Functiontest_onchain_close_upstream
https://github.com/ElementsProject/lightning/issues/4649 We send an HTLC, and peer unilaterally closes: do we close upstream?
tests/test_closing.py:4098
Functiontest_onchain_different_fees
Onchain handling when we've had a range of fees
tests/test_closing.py:3078
Functiontest_onchain_dust_out
Onchain handling of outgoing dust htlcs (they should fail)
tests/test_closing.py:1957
Functiontest_onchain_feechange
Onchain handling when we restart with different fees
tests/test_closing.py:2900
Functiontest_onchain_first_commit
Onchain handling where opener immediately drops to chain
tests/test_closing.py:1799
Functiontest_onchain_invoice_delinvoice_during_payment_hook
delinvoice while onchain invoice_payment hook is pending must not crash.
tests/test_invoices.py:949
Functiontest_onchain_middleman_fulfill_after_fail
An onchain preimage beats a failure we haven't finished removing. l3 gets two HTLCs with the same payment hash and fails one of them, but dis
tests/test_closing.py:2458
Functiontest_onchain_middleman_simple
(node_factory, bitcoind, chainparams, anchors)
tests/test_closing.py:2328
Functiontest_onchain_middleman_their_unilateral_in
This is the same as test_onchain_middleman, except that node l1 drops to chain, not l2, reversing the unilateral handling logic
tests/test_closing.py:2613
Functiontest_onchain_middleman_trimmed_same_hash
A trimmed HTLC must not be mistaken for a live one with the same hash. l2 forwards two HTLCs to l3 with the same payment hash and cltv: one is
tests/test_closing.py:2536
Functiontest_onchain_missing_no_p2tr_migrate
l1 and l2's db is from test_closing.py::test_onchain_p2tr_missed_txs before the fix
tests/test_wallet.py:2523
Functiontest_onchain_multihtlc_our_unilateral
Node pushes a channel onchain with multiple HTLCs with same payment_hash
tests/test_closing.py:3331
Functiontest_onchain_multihtlc_their_unilateral
Node pushes a channel onchain with multiple HTLCs with same payment_hash
tests/test_closing.py:3386
Functiontest_onchain_p2tr_missed_txs
Creates a blockchain and two nodes which have missed their p2wpkh close outputs: l1 is in state CLOSING_COMPLETE at block 103, so the close is not yet
tests/test_closing.py:4655
Functiontest_onchain_rbf_stops_after_confirmation
Penalty tx RBF stops once the replacement tx is confirmed.
tests/test_closing.py:1728
Functiontest_onchain_reestablish_reply
(node_factory, bitcoind, executor)
tests/test_closing.py:4844
Functiontest_onchain_rexmit_tx
Make sure we re-xmit last tx if we restart and channel is AWAITING_UNILATERAL
tests/test_closing.py:4167
Functiontest_onchain_slow_anchor
We still use anchors for non-critical closes
tests/test_closing.py:4902
Functiontest_onchain_their_unilateral_out
Very similar to the test_onchain_middleman, except there's no middleman, we simply want to check that our offered htlc on their unila
tests/test_closing.py:2743
Functiontest_onchain_timeout
Onchain handling of outgoing failed htlcs
tests/test_closing.py:2031
Functiontest_onchain_unwatch
Onchaind should not watch random spends
tests/test_closing.py:1842
Functiontest_onchaind_reorg_child_tx
onchaind must keep watching after a tx it was watching is reorged out. A zero-depth callback kills the channel owner, which frees every watch
tests/test_closing.py:2158
Functiontest_onchaind_reorg_commitment_tx
A reorg of the commitment tx must restart onchaind exactly once. The funding output watch is owned by the channel, not by onchaind, so it sur
tests/test_closing.py:2274
Functiontest_onchaind_replay
(node_factory, bitcoind)
tests/test_closing.py:1902
Functiontest_onion
Generate a 5 hop onion and then decode it.
tests/test_onion.py:30
Functiontest_onion_parse
Make sure we parse the serialized onion into its components.
contrib/pyln-proto/tests/test_onion.py:77
Functiontest_onionmessage_forward_fail
(node_factory, bitcoind)
tests/test_connection.py:4782
Functiontest_onionmessage_ratelimit
(node_factory, executor)
tests/test_pay.py:6027
Functiontest_onionmessage_recv
()
cln-rpc/src/test.rs:813
Functiontest_onionmessage_recv_secret
()
cln-rpc/src/test.rs:952
Functiontest_onionmessage_reply_path_no_hops
A reply_path with num_hops=0 must not take the node down. The blinded reply_path's num_hops is a single attacker-supplied byte with no lower
tests/test_connection.py:4631
Functiontest_onionmessage_reply_path_zero_scid
A reply_path whose first hop is scid 0x0x0 must be used as that scid. Adapted from the reporter's PoC. A zero scid is valid on the wire, but
tests/test_connection.py:4691
Functiontest_onionmessage_unknown_invoice_no_leak
An unsolicited invoice must not echo uninitialised memory back. Adapted from the reporter's PoC. On a non-developer node, rejecting an invoi
tests/test_connection.py:4573
Functiontest_only_announce_one_dns
(node_factory, bitcoind)
tests/test_gossip.py:252
Functiontest_open_channel_funding_above_max_supply
Huge funding_satoshis must not crash openingd. The peer can choose absurdly-high values for funding_satoshis, and openingd should gracefully
tests/test_connection.py:5306
Functiontest_openchannel2_changed_hook
()
cln-rpc/src/test.rs:525
Functiontest_openchannel2_hook
()
cln-rpc/src/test.rs:447
Functiontest_openchannel2_inflight_limit
In-flight open_channel2 negotiations are bounded per peer. Each open_channel2 attempt allocates an unsaved channel, HSM state, descriptors an
tests/test_opening.py:3677
Functiontest_openchannel2_sign_hook
()
cln-rpc/src/test.rs:547
Functiontest_openchannel_hook
()
cln-rpc/src/test.rs:406
Functiontest_openchannel_hook
l2 uses the reject_odd_funding_amounts plugin to reject some openings.
tests/test_plugin.py:732
Functiontest_openchannel_hook_chaining
l2 uses a set of plugin that all use the openchannel_hook. We test that chaining works by using multiple plugins in a way that we check for
tests/test_plugin.py:821
Functiontest_openchannel_hook_channel_type
openchannel hook should get a channel_type field.
tests/test_plugin.py:5115
Functiontest_openchannel_hook_error_handling
l2 uses a plugin that should fatal() crash the node. This is because the plugin rejects a channel while also setting a close_to address whic
tests/test_plugin.py:797
Functiontest_openchannel_init_alternate
Test to see what happens if two nodes start channeling to each other alternately.
tests/test_connection.py:3814
Functiontest_openchannel_no_confirmed_inputs_opener
If the opener flags 'require-confirmed-inputs' for an open, and accepter sends unconfirmed inputs check that the accepter aborts the
tests/test_opening.py:2933
Functiontest_openchannel_no_unconfirmed_inputs_accepter
If the accepter flags 'require-confirmed-inputs' for an open, and opener send unconfirmed inputs check that the accepter aborts the o
tests/test_opening.py:2977
Functiontest_opener_feerate_reconnect
(node_factory, bitcoind)
tests/test_connection.py:3019
Functiontest_opener_simple_reconnect
Sanity check that reconnection works with completely unused channels
tests/test_connection.py:3044
Functiontest_opening_below_min_capacity_sat
OK, here's what happens: The user configures min-capacity-sat=2,000,000. They try to open a channel with 591,000 sat We let them (for som
tests/test_opening.py:3431
Functiontest_opening_crash
Stop transmission of initial funding tx, check it eventually opens
tests/test_opening.py:3460
Functiontest_opening_explicit_channel_type
(node_factory, bitcoind)
tests/test_opening.py:3221
Functiontest_opening_incoming_unknown_feerates
Don't allow incoming channels if we can't estimate feerates.
tests/test_opening.py:3587
Functiontest_opening_tiny_channel
(node_factory, anchors)
tests/test_connection.py:343
Functiontest_optimistic_locking
Have a node run against a DB, then change it under its feet, crashing it. We start a node, wait for it to settle its write so we have a window wh
tests/test_db.py:329
Functiontest_option_passthrough
Ensure that registering options works. First attempts without the plugin and then with the plugin. Then a plugin tries to register the same
tests/test_plugin.py:53
Functiontest_option_serialize
()
plugins/src/options.rs:853
Functiontest_option_types
Ensure that desired types of options are respected in output
tests/test_plugin.py:95
Functiontest_option_upfront_shutdown_script
(node_factory, bitcoind, executor, chainparams, old_hsmsecret)
tests/test_closing.py:3651
Functiontest_options
Test startup options `clnrest-host`, `clnrest-protocol` and `clnrest-certs`.
tests/test_clnrest.py:434
Functiontest_out_of_bounds
()
plugins/lsps-plugin/src/core/features.rs:128
Functiontest_p2tr_change_dust_limit
(node_factory, bitcoind)
tests/test_p2tr_change_dust.py:11
Functiontest_p2tr_deposit_withdrawal
(node_factory, bitcoind)
tests/test_wallet.py:2356
Functiontest_p2tr_deposit_withdrawal_with_bip86
Test P2TR deposit and withdrawal with BIP86 derivation (default for mnemonic nodes)
tests/test_wallet.py:2400
Functiontest_p2tr_funding
(node_factory, chainparams)
tests/test_misc.py:570
Functiontest_parallel_channels_reserve
Tests wether we are able to pay through parallel channels concurrently. To do that we need to enable strict-forwarding.
tests/test_pay.py:6899
Functiontest_parms_listforwards
Simple test to ensure that the order of the listforwards is correct as describe in the documentation. This test is written by a issue re
tests/test_gossip.py:2022
Functiontest_parse_feerate
()
cln-rpc/src/primitives.rs:860
Functiontest_parse_output_desc
()
cln-rpc/src/primitives.rs:878
← previousnext →15,501–15,600 of 16,782, ranked by callers