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
cmd_id_from_close_command
lightningd/closing_control.c:70
↓ 1 callers
Function
cmd_state_string
plugins/spender/splice.c:23
↓ 1 callers
Function
cmp
ccan/ccan/htable/tools/speed.c:31
↓ 1 callers
Function
cmppath_flows
Order of flows in lexicographic order */
plugins/askrene/child/refine.c:634
↓ 1 callers
Function
codex32_dup
Duplicate codex32 structure */
tests/fuzz/fuzz-codex32.c:22
↓ 1 callers
Function
collapse_with_linemap
Collapse whitespace across a list of (lineno, text) pairs. Returns (collapsed_text, linemap) where linemap[i] is the original line number for
devtools/bolt-coverage.py:31
↓ 1 callers
Function
collect_sigs
plugins/spender/openchannel.c:483
↓ 1 callers
Function
colname_htable
(query)
devtools/sql-rewrite.py:102
↓ 1 callers
Function
colname_to_delete
db/db_sqlite3.c:435
↓ 1 callers
Function
combine_cost_function
plugins/renepay/mcf.c:578
↓ 1 callers
Function
combine_psbt
bitcoin/psbt.c:87
↓ 1 callers
Function
combine_schemas
Enumerate all schema files, and combine it into a single JSON file.
contrib/msggen/msggen/utils/utils.py:223
↓ 1 callers
Function
command_check_done
AUTOGENERATED MOCKS START */ Generated stub for command_check_done */
common/test/run-param.c:70
↓ 1 callers
Function
command_deprecated_in_ok
Generated stub for command_deprecated_in_ok */
wallet/test/run-wallet.c:152
↓ 1 callers
Function
command_deprecated_in_ok
common/test/run-param.c:54
↓ 1 callers
Function
command_deprecated_in_ok
plugins/libplugin.c:235
↓ 1 callers
Function
command_deprecated_in_ok
Generated stub for command_deprecated_in_ok */
plugins/bkpr/test/run-format_event.c:25
↓ 1 callers
Function
command_filter_ptr
Generated stub for command_filter_ptr */
common/test/run-param.c:74
↓ 1 callers
Function
command_finish_rawstr
plugins/libplugin.c:527
↓ 1 callers
Function
command_hook_success
Generated stub for command_hook_success */
plugins/test/run-decode_guess_type.c:41
↓ 1 callers
Function
command_log
Generated stub for command_log */
common/test/run-param.c:77
↓ 1 callers
Function
commit_date
Get the date of the specified commit.
devtools/changelog.py:101
↓ 1 callers
Function
commit_index_from_msg
Returns 0 if this is for funding, and 1+ for items in inflight array. * Returns -1 if the value is not recognized. */
channeld/channeld.c:2449
↓ 1 callers
Function
commit_number_obscurer
AUTOGENERATED MOCKS START */ Generated stub for commit_number_obscurer */
onchaind/test/run-grind_feerate-bug.c:19
↓ 1 callers
Function
commit_tx_amount_trimmed
channeld/commit_tx.c:44
↓ 1 callers
Function
commit_tx_boost
lightningd/anchorspend.c:610
↓ 1 callers
Function
commitment_signed_eq
wire/test/run-peer-wire.c:803
↓ 1 callers
Function
compactd_broken
gossipd/gossmap_manage.c:1721
↓ 1 callers
Function
compactsize_decode
Decode an integer from reader `r`
contrib/pyln-proto/pyln/proto/primitives.py:18
↓ 1 callers
Function
compactsize_encode
Encode an integer `i` into the writer `w`
contrib/pyln-proto/pyln/proto/primitives.py:5
↓ 1 callers
Function
compare_passphrases
Don't let compiler do clever things, which would allow the caller * to measure time, and figure out how much of the passphrase matched! */
plugins/exposesecret.c:30
↓ 1 callers
Function
compare_tok
cli/lightning-cli.c:120
↓ 1 callers
Function
compat
()
tests/fixtures.py:82
↓ 1 callers
Function
complain_unfixed
wallet/db.c:856
↓ 1 callers
Function
complete_daemonize
~ The normal advice for daemons is to move into the root directory, so you * don't prevent unmounting whatever filesystem you happen to start in. *
lightningd/lightningd.c:685
↓ 1 callers
Function
compress_2nd_operands
common/splice_script.c:1347
↓ 1 callers
Function
compress_top_operands
common/splice_script.c:1280
↓ 1 callers
Function
compute_actual_subtree
Compute the actual (non-omitted) subtree hash for all entries in arr[0..len-1]. * Used by the creator to find the real hash of an omitted subtree. */
common/bolt12_merkle.c:147
↓ 1 callers
Function
compute_channel_apys
plugins/bkpr/channelsapy.c:141
↓ 1 callers
Function
cond_test
ccan/ccan/rune/rune.c:256
↓ 1 callers
Function
config_not_writable
Returns config file name if not writable */
lightningd/configs.c:625
↓ 1 callers
Function
config_plugin
lightningd/bitcoind.c:40
↓ 1 callers
Function
configval_fieldname
lightningd/configs.c:49
↓ 1 callers
Function
configvar_dup
common/configvar.c:170
↓ 1 callers
Function
configvar_save
lightningd/configs.c:505
↓ 1 callers
Function
configvar_save_multi
For multi options: remove all existing, add all new values */
lightningd/configs.c:536
↓ 1 callers
Function
confirm
(bitcoind)
tests/test_splicing_insane.py:30
↓ 1 callers
Function
conn_in
~ Once we've got a connection in, we set it up here (whether it's via the * websocket proxy, or direct). */
connectd/connectd.c:573
↓ 1 callers
Function
conn_timeout
~ If the timer goes off, we simply free everything, which hangs up. */
connectd/connectd.c:482
↓ 1 callers
Method
connect
(self)
contrib/pyln-client/pyln/client/lightning.py:236
↓ 1 callers
Function
connect_activate
~ lightningd tells us to go! */
connectd/connectd.c:1846
↓ 1 callers
Function
connect_activate_subd
Talk to connectd about an active channel */
lightningd/peer_control.c:1456
↓ 1 callers
Function
connect_any_cmd_id
lightningd/connect_control.c:354
↓ 1 callers
Function
connect_args
ccan/tools/configurator/configurator.c:640
↓ 1 callers
Function
connect_dest
plugins/spender/multifundchannel.c:1607
↓ 1 callers
Function
connect_direct
plugins/establish_onion_path.c:45
↓ 1 callers
Function
connect_failed_disconnect
lightningd/connect_control.c:322
↓ 1 callers
Function
connect_htlc_in
Generated stub for connect_htlc_in */
wallet/test/run-db.c:74
↓ 1 callers
Function
connect_htlc_in
lightningd/htlc_end.c:50
↓ 1 callers
Function
connect_htlc_out
Generated stub for connect_htlc_out */
wallet/test/run-db.c:77
↓ 1 callers
Function
connect_htlc_out
lightningd/htlc_end.c:69
↓ 1 callers
Function
connect_init
~ Parse the incoming connect init message from lightningd ("master") and * assign config variables to the daemon; it should be the first message we
connectd/connectd.c:1716
↓ 1 callers
Function
connect_notification_serialize
lightningd/notification.c:62
↓ 1 callers
Function
connect_succeeded
lightningd/connect_control.c:363
↓ 1 callers
Function
connect_to_peer
lightningd tells us to connect to a peer by id, with optional addresses to try. */
connectd/connectd.c:1978
↓ 1 callers
Function
connectd_activate
lightningd/connect_control.c:831
↓ 1 callers
Function
connectd_init
lightningd/connect_control.c:725
↓ 1 callers
Function
connectd_new_peer
~ This is where connectd tells us about a new peer we might want to * gossip with. */
gossipd/gossipd.c:117
↓ 1 callers
Function
connectd_peer_gone
gossipd/gossipd.c:154
↓ 1 callers
Function
connectd_start_shutdown
lightningd/connect_control.c:484
↓ 1 callers
Function
consider_failing_incoming
onchaind might fail to time out an HTLC: maybe fees spiked, or maybe * it decided it wasn't worthwhile. This risks cascading failure if * it was ro
lightningd/peer_htlcs.c:2984
↓ 1 callers
Function
consume_option
ccan/ccan/opt/parse.c:25
↓ 1 callers
Function
contains_common_chain
connectd/peer_exchange_initmsg.c:42
↓ 1 callers
Function
context_snippet
common/splice_script.c:294
↓ 1 callers
Function
convert_currency
plugins/offers_invreq_hook.c:810
↓ 1 callers
Function
convert_flows_to_routes
Convert back into routes, with delay and other information fixed */
plugins/askrene/child/child.c:64
↓ 1 callers
Function
convert_from_legacy
plugins/chanbackup.c:311
↓ 1 callers
Function
convert_json_to_response
( headers: axum::http::HeaderMap, rpc_method: &str, cln_result: serde_json::Value, )
plugins/rest-plugin/src/handlers.rs:463
↓ 1 callers
Function
convert_layer_data
askrene added DSTORE_CHANNEL_BIAS_V2 (convertable) and * DSTORE_NODE_BIAS (not convertable) */
tools/lightning-downgrade.c:49
↓ 1 callers
Function
convert_quotes
common/test/run-param.c:138
↓ 1 callers
Function
convert_quotes
common/test/run-json_remove.c:221
↓ 1 callers
Function
convert_replay_txs
We've finished replaying, turn any txs left into live watches */
lightningd/onchain_control.c:480
↓ 1 callers
Function
copy_column
devtools/checkchannels.c:102
↓ 1 callers
Function
copy_data
tools/lightning-downgrade.c:42
↓ 1 callers
Function
copy_records
gossipd/compactd.c:54
↓ 1 callers
Function
copy_to
dest/destlen -> buf1/buf1len & buf2/buf2len */
lightningd/log.c:149
↓ 1 callers
Function
copysig_or_zero
lightningd/gossip_generation.c:40
↓ 1 callers
Function
corrupt
ccan/ccan/list/list.c:6
↓ 1 callers
Function
count_active
(node)
tests/test_gossip.py:95
↓ 1 callers
Function
count_current_attempts
Find the total number of pending attempts */
plugins/xpay/xpay.c:419
↓ 1 callers
Function
count_deleted
ccan/ccan/htable/tools/speed.c:85
↓ 1 callers
Function
count_fds
ccan/ccan/pipecmd/test/run-execfail-fdleak.c:18
↓ 1 callers
Function
count_fds
ccan/ccan/fdpass/test/run-multifd-leak.c:22
↓ 1 callers
Function
count_htlc_sigs
wallet/test/run-wallet.c:1551
↓ 1 callers
Function
count_inflights
wallet/test/run-wallet.c:1535
↓ 1 callers
Function
count_inputs_with_exclusions
channeld/channeld.c:3857
↓ 1 callers
Function
count_moves
wallet/test/run-chain_moves_duplicate-detect.c:402
↓ 1 callers
Function
count_moves
wallet/test/run-migrate_remove_chain_moves_duplicates.c:823
↓ 1 callers
Function
count_possible_destinations
What nodes can n reach without going through exclude? */
devtools/topology.c:123
↓ 1 callers
Function
count_possible_sources
What nodes can reach n without going through exclude? */
devtools/topology.c:46
← previous
next →
4,701–4,800 of 16,782, ranked by callers