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
↓ 1 callers
Function
decrypt_final_onionmsg
common/onion_message_parse.c:12
↓ 1 callers
Function
decrypt_forwarding_onionmsg
common/onion_message_parse.c:37
↓ 1 callers
Function
decrypt_hsm
Legacy function - only works with binary encrypted format */
tools/lightning-hsmtool.c:115
↓ 1 callers
Function
decrypt_hsm_secret
common/hsm_secret.c:162
↓ 1 callers
Function
dedupe_include_items
Remove duplicate include lines, keeping the first occurrence. Duplicate detection uses a canonical form of include lines (`lstrip()`), so lea
devtools/include-order-fixer.py:276
↓ 1 callers
Function
deduplicate
devtools/gossmap-compress.c:141
↓ 1 callers
Method
default
(&self)
plugins/src/options.rs:825
↓ 1 callers
Function
default_base_configdir
common/configdir.c:115
↓ 1 callers
Function
default_features
~ We actually keep more than one set of features, used in different * contexts. common/features.c knows how each standard feature is * presented, s
lightningd/lightningd.c:888
↓ 1 callers
Function
default_feerate
lightningd/channel_control.c:54
↓ 1 callers
Function
default_routes
plugins/askrene/child/mcf.c:1829
↓ 1 callers
Function
default_rpcfile
common/configdir.c:126
↓ 1 callers
Method
del_buy_request
(&self, scid: &ShortChannelId)
plugins/lsps-plugin/src/core/lsps2/handler.rs:177
↓ 1 callers
Method
del_buy_request
(&self, _scid: &ShortChannelId)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:406
↓ 1 callers
Function
del_notifier_property
ccan/ccan/tal/tal.c:351
↓ 1 callers
Function
del_tree
ccan/ccan/tal/tal.c:466
↓ 1 callers
Function
del_vals
ccan/ccan/htable/test/run-debug.c:83
↓ 1 callers
Function
del_vals
ccan/ccan/htable/test/run.c:73
↓ 1 callers
Function
del_vals
ccan/ccan/htable/test/run-type-int.c:76
↓ 1 callers
Function
del_vals
ccan/ccan/htable/test/run-type.c:74
↓ 1 callers
Function
del_vals_bykey
ccan/ccan/htable/test/run-type-int.c:90
↓ 1 callers
Function
del_vals_bykey
ccan/ccan/htable/test/run-type.c:88
↓ 1 callers
Function
delete_channel_from_datastore
plugins/funder.c:1152
↓ 1 callers
Function
delete_channel_from_db
Note: this deletes up to two rows, one for each direction. */
plugins/sql.c:1022
↓ 1 callers
Function
delete_format_hint
cli/lightning-cli.c:416
↓ 1 callers
Function
delete_node_from_db
plugins/sql.c:1164
↓ 1 callers
Function
delete_peer
lightningd/peer_control.c:130
↓ 1 callers
Function
delpay_payments2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1367
↓ 1 callers
Function
depthcb_update_scid
lightningd/channel_control.c:879
↓ 1 callers
Function
derive_delayed_payment_basepoint
common/derive_basepoints.c:150
↓ 1 callers
Function
derive_funding_key
common/derive_basepoints.c:179
↓ 1 callers
Function
derive_keys
devtools/checkchannels.c:64
↓ 1 callers
Function
derive_revocation_pubkey
BOLT #3 revocationpubkey, a blinded key: revocation_basepoint * SHA256(revocation_basepoint || per_commitment_point) + per_commitment
tests/test_opening.py:93
↓ 1 callers
Function
derive_simple_pubkey
BOLT #3: pubkey = basepoint + SHA256(per_commitment_point || basepoint) * G Both args and the result are 33-byte compressed pubkeys.
tests/test_opening.py:81
↓ 1 callers
Function
derive_to_remote
tools/lightning-hsmtool.c:454
↓ 1 callers
Function
describe_capacity
plugins/askrene/child/explain_failure.c:200
↓ 1 callers
Function
describe_disabled
Return description of why scidd is disabled scidd */
plugins/askrene/child/explain_failure.c:178
↓ 1 callers
Function
describe_fd
connectd/connectd.c:2178
↓ 1 callers
Function
describe_scidd
plugins/xpay/xpay.c:564
↓ 1 callers
Function
deserialize_by_key
( resp: &ListdatastoreResponse, key: K, )
plugins/lsps-plugin/src/core/lsps2/handler.rs:619
↓ 1 callers
Function
deserialize_by_key
( resp: &ListdatastoreResponse, key: K, )
plugins/lsps-plugin/src/cln_adapters/rpc.rs:263
↓ 1 callers
Function
dest_failed
Return true if this destination failed, false otherwise. */
plugins/spender/multifundchannel.c:86
↓ 1 callers
Function
destroy_commando
plugins/commando.c:83
↓ 1 callers
Function
destroy_opaque_blob
ccan/ccan/list/test/helper.c:51
↓ 1 callers
Function
destroy_peer_immediately
When peer reconnects, we close the old connection unceremoniously. */
connectd/multiplex.c:1766
↓ 1 callers
Function
destroy_request
lightningd/plugin.c:663
↓ 1 callers
Function
destroy_subd
lightningd/subd.c:595
↓ 1 callers
Function
dev_connect_memleak
connectd/connectd.c:2119
↓ 1 callers
Function
dev_disconnect_init
common/dev_disconnect.c:44
↓ 1 callers
Function
dev_exhaust_fds
connectd/connectd.c:2373
↓ 1 callers
Function
dev_gossip_memleak
gossipd/gossipd.c:440
↓ 1 callers
Function
dev_override_clock_time
common/clock_time.c:30
↓ 1 callers
Function
dev_register_opts
lightningd/options.c:778
↓ 1 callers
Function
dev_report_fds
connectd/connectd.c:2248
↓ 1 callers
Function
dev_save_plugin_io_in
lightningd/plugin.c:2665
↓ 1 callers
Function
dev_seeker_memleak
gossipd/seeker.c:1199
↓ 1 callers
Function
dev_set_max_scids_encode_size
This is a testing hack to allow us to artificially lower the maximum bytes * of short_channel_ids we'll encode, using dev_set_max_scids_encode_size.
connectd/queries.c:816
↓ 1 callers
Function
dev_suppress_gossip
connectd/connectd.c:2140
↓ 1 callers
Function
diamond_network
Build a diamond, with a cheap route, that is exhausted. The first payment should try that route first, learn it's exhausted, and then succeed
tests/test_pay.py:6228
↓ 1 callers
Function
dict_subset_eq
Is every key in B is the same in A?
tests/test_askrene.py:691
↓ 1 callers
Function
diff_count
common/test/run-psbt_diff.c:73
↓ 1 callers
Function
different_blockcounts
In case the plugin does weird stuff! */
lightningd/chaintopology.c:520
↓ 1 callers
Function
dijkstra_append
plugins/askrene/child/dijkstra.c:90
↓ 1 callers
Function
dijkstra_append
plugins/renepay/dijkstra.c:90
↓ 1 callers
Function
dijkstra_best_chan
common/dijkstra.c:41
↓ 1 callers
Function
dijkstra_init
plugins/renepay/dijkstra.c:70
↓ 1 callers
Function
dijkstra_nearest_sink
Finds an optimal path from the source to the nearest sink node, by definition * a node i is a sink if node_balance[i]<0. It uses a reduced cost: * r
plugins/askrene/child/algorithm.c:342
↓ 1 callers
Function
dijkstra_size
plugins/askrene/child/dijkstra.c:80
↓ 1 callers
Function
dijkstra_to_hops
Recursive version: return false if we can't get there. * * amount and cltv are updated, and reflect the amount we * and delay would have to put int
common/route.c:70
↓ 1 callers
Function
dijkstra_top
plugins/askrene/child/dijkstra.c:155
↓ 1 callers
Function
dir_writable
lightningd/configs.c:619
↓ 1 callers
Function
direct_pay_override
plugins/libplugin-pay.c:3481
↓ 1 callers
Function
direction
(src, dst)
tests/autogenerate-rpc-examples.py:1039
↓ 1 callers
Function
direction
(node1, node2)
tests/test_pay.py:6903
↓ 1 callers
Function
disable_echo
Disable terminal echo if needed */
common/hsm_secret.c:383
↓ 1 callers
Function
disable_if_dying
gossipd ignores updates for dying channels: don't retry with stale ones */
plugins/libplugin-pay.c:1399
↓ 1 callers
Function
disabledmap_channel_is_warned
plugins/renepay/disabledmap.c:84
↓ 1 callers
Function
disabledmap_new
plugins/renepay/disabledmap.c:5
↓ 1 callers
Function
disabledmap_new
Generated stub for disabledmap_new */
plugins/renepay/test/run-mcf.c:44
↓ 1 callers
Function
disabledmap_warn_channel
FIXME: check success
plugins/renepay/disabledmap.c:63
↓ 1 callers
Method
disableoffer
Disable an offer, so that no further invoices will be given out.
contrib/pyln-client/pyln/client/lightning.py:713
↓ 1 callers
Function
disconnect_idle_peers
Returns number currently connected */
lightningd/peer_control.c:3289
↓ 1 callers
Function
disconnect_notification_serialize
lightningd/notification.c:85
↓ 1 callers
Function
dns_parse_results
~ Parsing the child's output: strictly, and fail-closed on anything * unexpected. */
connectd/dns.c:220
↓ 1 callers
Function
dns_pump_queue
Start queued lookups while we have child slots free. A failed start * finishes its lookup (with an error, via callback) without ever taking a * slo
connectd/dns.c:207
↓ 1 callers
Function
dns_resolve_in_child
connectd/dns.c:358
↓ 1 callers
Function
do_account_close_checks
plugins/bkpr/bookkeeper.c:1042
↓ 1 callers
Function
do_certificates_exist
(cert_dir: &Path)
plugins/rest-plugin/src/certs.rs:101
↓ 1 callers
Function
do_certificates_exist
(cert_dir: &Path)
plugins/wss-proxy-plugin/src/certs.rs:122
↓ 1 callers
Function
do_decode
devtools/onion.c:134
↓ 1 callers
Function
do_generate
devtools/onion.c:22
↓ 1 callers
Function
do_json_to_s64
common/test/run-json.c:272
↓ 1 callers
Function
do_json_to_u64
common/test/run-json.c:315
↓ 1 callers
Function
do_json_tok_bitcoin_amount
common/test/run-json.c:54
↓ 1 callers
Function
do_json_tok_millionths
common/test/run-json.c:84
↓ 1 callers
Function
do_mallocs
ccan/ccan/tal/benchmark/samba-allocs.c:203
↓ 1 callers
Function
do_plan
ccan/ccan/io/io.c:403
↓ 1 callers
Function
do_quickclose
We've received one offer; if we're opener, that means we've already sent one * too. */
closingd/closingd.c:682
↓ 1 callers
Function
do_read_wire_header
arg->u2.s contains length we've read, arg->u1.vp contains u8 **data. */
wire/wire_io.c:22
↓ 1 callers
Function
do_reconnect_commit_sigs
openingd/dualopend.c:1242
← previous
next →
4,901–5,000 of 16,782, ranked by callers