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
tal_error
We want to return failure if tal_resize fails */
cli/lightning-cli.c:409
Function
tal_expand_
ccan/ccan/tal/tal.c:840
Function
tal_fmt_
ccan/ccan/tal/str/str.c:31
Function
tal_freefn
common/configdir.c:50
Function
tal_freefn
devtools/bolt12-cli.c:39
Function
tal_freefn
devtools/bolt11-cli.c:39
Function
tal_freefn
devtools/onion.c:329
Function
tal_link_
ccan/ccan/tal/link/link.c:74
Function
tal_linkable_
ccan/ccan/tal/link/link.c:33
Function
tal_reallocfn
common/configdir.c:42
Function
tal_reallocfn
devtools/bolt12-cli.c:31
Function
tal_reallocfn
devtools/bolt11-cli.c:31
Function
tal_reallocfn
devtools/onion.c:321
Function
tal_steal_
ccan/ccan/tal/tal.c:565
Function
tal_strcat_
ccan/ccan/tal/str/str.c:104
Function
tal_strdup_
ccan/ccan/tal/str/str.c:15
Function
tal_strjoin_
ccan/ccan/tal/str/str.c:180
Function
tal_strreg_
ccan/ccan/tal/str/str.c:220
Function
tal_strsplit_
ccan/ccan/tal/str/str.c:122
Function
tal_wally_discard
common/utils.c:37
Function
tal_wally_end_onto_
common/utils.c:67
Function
tcon_container_of_
ccan/ccan/tcon/tcon.h:338
Function
tcon_member_of_
ccan/ccan/tcon/tcon.h:366
Function
tcp_capture
(tmp_path)
tests/fixtures.py:176
Function
teardown_checks
A simple fixture to collect errors during teardown. We need to collect the errors and raise them as the very last step in the fixture tree, o
contrib/pyln-testing/pyln/testing/fixtures.py:228
Function
tell_connectd_peer_importance
Generated stub for tell_connectd_peer_importance */
wallet/test/run-wallet.c:648
Function
test_accept_header_types
(node_factory)
tests/test_clnrest.py:538
Function
test_addfunds_from_block
Send funds to the daemon without telling it explicitly
tests/test_wallet.py:270
Function
test_addgossip
(node_factory)
tests/test_gossip.py:1955
Function
test_addpsbtoutput
(node_factory, bitcoind, chainparams)
tests/test_wallet.py:777
Function
test_address
(node_factory)
tests/test_misc.py:817
Function
test_agressive_restart
(node_factory, bitcoind)
tests/test_restart.py:12
Function
test_all_subscription
Ensure that registering for all notifications works.
tests/test_plugin.py:4577
Function
test_alloc
ccan/ccan/htable/test/run-allocator.c:13
Function
test_alloc
ccan/ccan/timer/test/run-expire-alloc-fail.c:20
Function
test_alloc
ccan/ccan/timer/test/run-allocator.c:12
Function
test_amount_all_any
()
cln-rpc/src/primitives.rs:831
Function
test_amount_serde
()
cln-rpc/src/primitives.rs:802
Function
test_amountless_invoice
The recipient should know how much was received by an amountless invoice.
tests/test_invoices.py:616
Function
test_amounts
Check that the amount received matches the amount requested in the invoice.
tests/test_renepay.py:230
Function
test_anchor_min_emergency
(bitcoind, node_factory)
tests/test_opening.py:3152
Function
test_anchorspend_ignores_immature_coinbase
Fee rescue must not select an immature coinbase: spending one is consensus-invalid, so the resulting anchor spend would be rejected.
tests/test_closing.py:4797
Function
test_anchorspend_using_to_remote
Make sure we can use `to_remote` output of previous close to spend anchor
tests/test_closing.py:4719
Function
test_announce_address
Make sure our announcements are well formed.
tests/test_gossip.py:119
Function
test_announce_and_connect_via_dns
Test that DNS announcements propagate and can be used when connecting. - First node announces only a FQDN like 'localhost.localdomain'.
tests/test_gossip.py:189
Function
test_announce_dns_suppressed
By default announce DNS names as IPs
tests/test_gossip.py:164
Function
test_announce_dns_without_port
Checks that the port of a DNS announcement is set to the corresponding network port. In this case regtest 19846
tests/test_gossip.py:260
Function
test_anysegwit_close_needs_feature
Rather than have peer reject our shutdown, we should refuse to shutdown toa v1+ address if they don't support it
tests/test_closing.py:3991
Function
test_apis
(node_factory)
tests/test_currencyrate.py:48
Function
test_arg
ccan/ccan/opt/test/utils.c:17
Function
test_argument_coercion
()
contrib/pyln-client/tests/test_plugin.py:387
Function
test_askrene_fake_channeld
(node_factory, bitcoind)
tests/test_askrene.py:1804
Function
test_askrene_layers
(node_factory)
tests/benchmark.py:267
Function
test_askrene_reserve_clash
Reserves get (erroneously) counted globally by scid, even for fake scids.
tests/test_askrene.py:2121
Function
test_askrene_timeout
Test askrene's route timeout
tests/test_askrene.py:1959
Function
test_async_rpcmethod
This tests the async rpcmethods. It works in conjunction with the `asynctest` plugin which stashes requests and then resolves all of them on
tests/test_plugin.py:587
Function
test_attempt_notifications
(node_factory)
tests/test_xpay.py:816
Function
test_autoclean
(node_factory)
tests/test_plugin.py:3315
Function
test_autoclean_batch
(node_factory)
tests/test_plugin.py:4664
Function
test_autoclean_once
(node_factory)
tests/test_plugin.py:3486
Function
test_autoclean_timer_crash
Running two autocleans at once crashed timer code
tests/test_plugin.py:3478
Function
test_backfill_scriptpubkeys
(node_factory, bitcoind)
tests/test_db.py:239
Function
test_bad_onion
Test that we get a reasonable error from sendpay when an onion is bad
tests/test_misc.py:2161
Function
test_bad_onion_immediate_peer
Test that we handle the malformed msg when we're the origin
tests/test_misc.py:2211
Function
test_badparam_discretion
When in non-developer mode, don't return the contents of invalid parameters, but refer to logs
tests/test_misc.py:5137
Function
test_badrune
Test invalid UTF-8 encodings in rune: used to make us kill the offers plugin which implements decode, as it gave bad utf8!
tests/test_runes.py:460
Function
test_balance
(node_factory)
tests/test_connection.py:328
Function
test_balance_snapshot
()
cln-grpc/src/test.rs:339
Function
test_base_dir
()
contrib/pyln-testing/pyln/testing/fixtures.py:38
Function
test_basic_bit_checks
()
plugins/lsps-plugin/src/core/features.rs:100
Function
test_basic_help
Validate that argparse provides basic help info. This requires no config options passed to reckless.
tests/test_reckless.py:164
Function
test_bcli
This tests the bcli plugin, used to gather Bitcoin data from a local bitcoind. Mostly sanity checks of the interface..
tests/test_plugin.py:2193
Function
test_bcli_concurrent
Test bcli handles concurrent requests while `getblockfrompeer` retry is active. Simulates a pruned node scenario where getblock initially fails.
tests/test_plugin.py:2240
Function
test_bcli_retry_timeout
Test that lightningd crashes when getblock retries are exhausted. Currently, when bcli returns an error after retry timeout, lightningd's get
tests/test_plugin.py:2305
Function
test_bind_kwargs
()
contrib/pyln-client/tests/test_plugin.py:331
Function
test_bind_pos
()
contrib/pyln-client/tests/test_plugin.py:275
Function
test_bip353
(node_factory)
tests/test_cln_rs.py:637
Function
test_bip86_address_type_validation
Test address type validation for BIP86 addresses
tests/test_wallet.py:2065
Function
test_bip86_deterministic_addresses
Test that BIP86 addresses are deterministic and unique
tests/test_wallet.py:1863
Function
test_bip86_full_bitcoin_integration
Test full Bitcoin integration: generate addresses, receive funds, list outputs
tests/test_wallet.py:1904
Function
test_bip86_index_boundaries
Test BIP86 behavior at index boundaries
tests/test_wallet.py:1976
Function
test_bip86_listaddresses
Test that listaddresses includes BIP86 addresses and verifies first 10 addresses
tests/test_wallet.py:1822
Function
test_bip86_mnemonic_recovery
Test that funds can be recovered using the same mnemonic in a new wallet
tests/test_wallet.py:1944
Function
test_bip86_newaddr_rpc
Test that BIP86 addresses can be generated via newaddr RPC
tests/test_wallet.py:1777
Function
test_bip86_psbt_integration
Test BIP86 addresses in PSBT workflows
tests/test_wallet.py:2009
Function
test_bip86_vs_regular_p2tr
Test that BIP86 addresses are different from regular P2TR addresses
tests/test_wallet.py:1887
Function
test_bitarray_to_message
()
contrib/pyln-proto/tests/test_zbase32.py:28
Function
test_bitarray_to_u5
()
contrib/pyln-proto/tests/test_zbase32.py:47
Function
test_bitcoin_backend
This tests interaction with the Bitcoin backend, but not specifically bcli
tests/test_plugin.py:2117
Function
test_bitcoin_backend_gianttx
Test that a giant tx doesn't crash bcli
tests/test_plugin.py:2150
Function
test_bitcoin_bad_estimatefee
This tests that we don't crash if bitcoind backend gives bad estimatefees.
tests/test_plugin.py:2167
Function
test_bitcoin_failure
(node_factory, bitcoind)
tests/test_misc.py:106
Function
test_bitcoin_ibd
Test that we recognize bitcoin in initial download mode
tests/test_misc.py:145
Function
test_bitcoin_pruned
Test that we try to fetch blocks from a peer if we can not find them on our local bitcoind.
tests/test_misc.py:166
Function
test_bitcoind_fail_first
Make sure we handle spurious bitcoin-cli failures during startup See [#2687](https://github.com/ElementsProject/lightning/issues/2687) for de
tests/test_misc.py:2269
Function
test_bitcoind_feerate_floor
Don't return a feerate less than minrelaytxfee/mempoolminfee.
tests/test_misc.py:2293
Function
test_bitcoind_goes_backwards
Check that we refuse to acknowledge bitcoind giving a shorter chain without explicit rescan
tests/test_misc.py:1680
Function
test_bkpr_currency_dynamic
(node_factory, fake_rateserver)
tests/test_currencyrate.py:262
Function
test_bkpr_currencyrate_persisted
(node_factory, fake_rateserver)
tests/test_currencyrate.py:316
Function
test_bkpr_currencyrate_ranges
(node_factory, fake_rateserver)
tests/test_currencyrate.py:437
← previous
next →
14,701–14,800 of 16,782, ranked by callers