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
↓ 4 callers
Function
db_migrate
* db_migrate - Apply all remaining migrations from the current version */
wallet/db.c:25
↓ 4 callers
Function
db_prepare_for_changes
db/utils.c:314
↓ 4 callers
Function
db_prepare_untranslated
Provides replication and hook interface for raw SQL too */
db/utils.c:121
↓ 4 callers
Function
db_report_changes
We expect min changes (ie. BEGIN TRANSACTION): report if more. * Optionally add "final" at the end (ie. COMMIT). */
db/utils.c:230
↓ 4 callers
Function
decryptWithAD
(k, n, ad, ciphertext)
contrib/pyln-proto/pyln/proto/wire.py:56
↓ 4 callers
Function
default_locktime
lightningd/chaintopology.c:1262
↓ 4 callers
Function
del_flow_from_arr
Remove and free the flow */
plugins/askrene/child/refine.c:366
↓ 4 callers
Function
derive_channel_id_v2
common/channel_id.c:26
↓ 4 callers
Function
derive_seed_hash
Helper function to derive seed hash from mnemonic + passphrase */
common/hsm_secret.c:145
↓ 4 callers
Function
derive_tmp_channel_id
common/channel_id.c:57
↓ 4 callers
Function
desired_channel_type
lightningd/channel.c:265
↓ 4 callers
Function
detect_hsm_secret_type
common/hsm_secret.c:95
↓ 4 callers
Function
dijkstra_maxsize
plugins/renepay/dijkstra.c:85
↓ 4 callers
Function
dijkstra_top
plugins/renepay/dijkstra.c:155
↓ 4 callers
Function
dns_finish
Stop everything and schedule the callback. Safe from timer or normal * loop context; from inside an io callback on lookup->conn, detach the conn *
connectd/dns.c:114
↓ 4 callers
Function
do_i_sign_first
channeld/channeld.c:3131
↓ 4 callers
Function
encode_ord
ccan/ccan/utf8/test/run-decode.c:61
↓ 4 callers
Function
encoding_start
BOLT #7: * * There are several messages which contain a long array of * `short_channel_id`s (called `encoded_short_ids`) so we include an encoding
gossipd/queries.c:18
↓ 4 callers
Function
encryptWithAD
(k, n, ad, plaintext)
contrib/pyln-proto/pyln/proto/wire.py:51
↓ 4 callers
Function
encrypt_tlv_encrypted_data
common/blindedpath.c:111
↓ 4 callers
Function
escape
ccan/ccan/json_escape/json_escape.c:44
↓ 4 callers
Function
expected_node_features
Return the expected node features hexstring for this configuration
tests/utils.py:56
↓ 4 callers
Function
extract_channel_id
Extract channel_id from various packets, return true if possible. */
wire/peer_wire.c:162
↓ 4 callers
Function
extract_hsm_secret
If hsm_secret_needs_passphrase, passphrase must not be NULL. * Returns NULL on failure. */
common/hsm_secret.c:334
↓ 4 callers
Function
fail_destination_msg
plugins/spender/multifundchannel.c:74
↓ 4 callers
Function
feature_set_sub
common/features.c:245
↓ 4 callers
Function
feed_set
common/test/run-jsonrpc_io.c:133
↓ 4 callers
Function
feerate_for_deadline
lightningd/chaintopology.c:433
↓ 4 callers
Function
first_fee_state
If we're the finder, it's like an HTLC we added, if they are, it's like * a HTLC they added. */
common/fee_states.c:10
↓ 4 callers
Function
first_name
Returns string after first '-'. */
ccan/ccan/opt/opt.c:20
↓ 4 callers
Function
first_scidd
(n1, n2)
tests/utils.py:457
↓ 4 callers
Function
first_sv
Iterator helpers */
plugins/autoclean.c:144
↓ 4 callers
Function
fmt_propname
Pretty-print format a property name
tools/fromschema.py:125
↓ 4 callers
Function
fmt_routekey
plugins/renepay/route.h:88
↓ 4 callers
Function
fmt_wally_tx
bitcoin/tx.c:736
↓ 4 callers
Function
freefn
ccan/ccan/opt/test/run-set_alloc.c:59
↓ 4 callers
Method
from_str
(cls, s: str)
contrib/pyln-client/pyln/client/gossmap.py:169
↓ 4 callers
Function
fromwire_channel_id
common/channel_id.c:96
↓ 4 callers
Function
fromwire_hmac
common/hmac.c:52
↓ 4 callers
Function
fromwire_pad
Generated stub for fromwire_pad */
common/test/run-bolt12_decode.c:66
↓ 4 callers
Function
fromwire_s8
wire/fromwire.c:95
↓ 4 callers
Function
fromwire_short_channel_id_dir
plugins/askrene/datastore_wire.c:20
↓ 4 callers
Function
fromwire_tlv_invoice
Generated stub for fromwire_tlv_invoice */
common/test/run-tlv_span.c:54
↓ 4 callers
Function
fromwire_u8_array
wire/fromwire.c:227
↓ 4 callers
Function
fromwire_wireaddr_array
common/wireaddr.c:880
↓ 4 callers
Function
fulfill_htlc
lightningd/peer_htlcs.c:429
↓ 4 callers
Function
funding_queue_done
Our utxos are reserved (or we're not funding): let the next one go. */
plugins/funder.c:451
↓ 4 callers
Method
get_address_type
I know this can be more sophisticated, but works
contrib/pyln-client/pyln/client/gossmap.py:337
↓ 4 callers
Function
get_chan_extra_half_by_chan
Helper if we have a gossmap_chan */
plugins/renepay/chan_extra.c:524
↓ 4 callers
Function
get_chan_extra_half_by_scid
Returns either NULL, or an entry from the hash */
plugins/renepay/chan_extra.c:510
↓ 4 callers
Method
get_channel
Resolves a channel by its short channel id
contrib/pyln-client/pyln/client/gossmap.py:449
↓ 4 callers
Function
get_channel_basepoints
lightningd/channel.c:154
↓ 4 callers
Function
get_destroying_bit
ccan/ccan/tal/tal.c:98
↓ 4 callers
Function
get_dijkstra
common/dijkstra.c:47
↓ 4 callers
Function
get_file_data
plugins/chanbackup.c:248
↓ 4 callers
Function
get_gossmap
We load this on demand, since we can start before gossipd. */
plugins/topology.c:23
↓ 4 callers
Function
get_per_commitment_point
Fetch the requested point. The secret is no longer returned, use * revoke_commitment instead. It is legal to call this on any * commitment (includi
channeld/channeld.c:1650
↓ 4 callers
Function
get_run_id
Get or generate the run ID for this test session.
contrib/pytest-trackflaky/pytest_trackflaky/plugin.py:182
↓ 4 callers
Function
get_schema_bundle
Load the schema bundle from the combined schema file. The combined schema is generated by `combine_schemas`.
contrib/msggen/msggen/utils/utils.py:268
↓ 4 callers
Function
get_scidd
Get the scidd for the i'th hop in flow */
plugins/askrene/child/refine.c:19
↓ 4 callers
Function
get_subsystem_ops
plugins/autoclean.c:226
↓ 4 callers
Method
get_tlvtype
(self, name: str)
contrib/pyln-proto/pyln/proto/message/message.py:91
↓ 4 callers
Function
gossip_store_del
gossipd/gossip_store.c:622
↓ 4 callers
Function
gossip_store_readhdr
common/gossip_store.c:6
↓ 4 callers
Function
gossipd_notify_spends
We save these so we always tell gossipd about new blockheight first. */
lightningd/gossip_control.c:339
↓ 4 callers
Function
gossmap_chan_get_announce
Get the announcement msg which created this chan */
common/gossmap.c:1619
↓ 4 callers
Function
gossmap_chan_get_update
Return the channel_update (or NULL if !gossmap_chan_set) */
common/gossmap.c:1700
↓ 4 callers
Function
gossmap_chan_htlc_min
common/gossmap.h:263
↓ 4 callers
Function
gossmap_remove_chan
common/gossmap.c:420
↓ 4 callers
Function
hash_bucket
ccan/ccan/htable/htable.c:164
↓ 4 callers
Function
hkdf_two_keys
(ikm, salt)
contrib/pyln-proto/pyln/proto/wire.py:39
↓ 4 callers
Function
hmac_sha256_done
ccan/ccan/crypto/hmac_sha256/hmac_sha256.c:76
↓ 4 callers
Function
hmac_sha256_init
ccan/ccan/crypto/hmac_sha256/hmac_sha256.c:18
↓ 4 callers
Function
hmac_sha256_update
ccan/ccan/crypto/hmac_sha256/hmac_sha256.c:65
↓ 4 callers
Function
hook_extract_psbt
lightningd/dual_open_control.c:415
↓ 4 callers
Function
hsmd_wire_name
Generated stub for hsmd_wire_name */
wallet/test/run-wallet.c:384
↓ 4 callers
Function
ht_add
This does not expand the hash table, that's up to caller. */
ccan/ccan/htable/htable.c:300
↓ 4 callers
Function
htable_count
* htable_count - count number of entries in a hash table. * @ht: the hash table */
ccan/ccan/htable/htable.h:82
↓ 4 callers
Function
htable_init_sized
ccan/ccan/htable/htable.c:107
↓ 4 callers
Function
htable_set_allocator
ccan/ccan/htable/htable.c:30
↓ 4 callers
Function
htlc_max_possible_send
* The maximum msat that this node could possibly accept for an htlc. * It's the default htlc_maximum_msat in channel_updates, if none is * explicitl
lightningd/channel.c:470
↓ 4 callers
Function
htlc_state_in_db
DB wrapper to check htlc_state */
wallet/wallet.h:160
↓ 4 callers
Function
htlc_tx
Low-level tx creator: used when onchaind has done most of the work! */
common/htlc_tx.c:8
↓ 4 callers
Function
ignore_idle_channel
lightningd/peer_control.c:1447
↓ 4 callers
Function
ilog32_nz
ccan/ccan/ilog/ilog.c:68
↓ 4 callers
Function
in_txout_failures
gossipd/txout_failures.c:47
↓ 4 callers
Function
incoming_message_blinded_path
common/onion_message.c:134
↓ 4 callers
Function
init_if_needed
common/pseudorand.c:13
↓ 4 callers
Function
input_wallet
plugins/spender/splice.c:251
↓ 4 callers
Method
into_request
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:20
↓ 4 callers
Function
invoice_index_inc
wallet/invoices.c:761
↓ 4 callers
Function
invoice_recurrence
common/bolt12.c:1197
↓ 4 callers
Function
io_conn_exclusive
ccan/ccan/io/io.c:128
↓ 4 callers
Function
io_plan_in_started
ccan/ccan/io/io.c:581
↓ 4 callers
Function
is_oversized_gossip_msg
wire/peer_wire.c:65
↓ 4 callers
Function
is_peer_warning
common/wire_error.c:165
↓ 4 callers
Function
is_scid_depth_announceable
Subtly, at block N, depth is 1, hence the -1 here. eg. 103x1x0 is announceable * when height is 108. */
bitcoin/short_channel_id.h:81
↓ 4 callers
Method
is_tor_only
Checks if a node has only TOR and no addresses announced
contrib/pyln-client/pyln/client/gossmap.py:368
↓ 4 callers
Function
is_unknown_msg_discardable
Return true if it's an unknown ODD message. cursor is a tal ptr. */
wire/peer_wire.c:141
↓ 4 callers
Function
isaac64_init
ccan/ccan/isaac/isaac64.c:93
← previous
next →
1,601–1,700 of 16,782, ranked by callers