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
↓ 2 callers
Function
db_rune_insert
wallet/wallet.c:6752
↓ 2 callers
Function
db_scids
Turns "SELECT blockheight, txindex, outnum" into scids */
wallet/wallet.c:5125
↓ 2 callers
Function
db_set_utxo
wallet/wallet.c:727
↓ 2 callers
Function
db_setup
wallet/db.c:103
↓ 2 callers
Function
db_sqlite3_fmt_error
db/db_sqlite3.c:93
↓ 2 callers
Function
debugging
lightningd/plugin.c:1961
↓ 2 callers
Function
decode_bigsize
(input: &[u8])
plugins/lsps-plugin/src/core/tlv.rs:261
↓ 2 callers
Function
decode_fail
common/bolt11.c:118
↓ 2 callers
Function
decode_scriptpubkey_from_addr
common/addr.c:54
↓ 2 callers
Function
decode_with_privkey
devtools/onion.c:110
↓ 2 callers
Function
decrypt_encmsg_raw
common/blindedpath.c:159
↓ 2 callers
Function
decrypt_scb
Returns decrypted SCB in form of a u8 array */
plugins/chanbackup.c:257
↓ 2 callers
Function
dedupe_moves
(moves)
tests/utils.py:325
↓ 2 callers
Function
deep_enough
wallet/wallet.c:801
↓ 2 callers
Function
default_funder_policy
plugins/funder_policy.c:97
↓ 2 callers
Function
default_ln_port
(network: str)
tests/utils.py:19
↓ 2 callers
Function
del_fd
ccan/ccan/io/poll.c:75
↓ 2 callers
Function
del_front_log
lightningd/log.c:249
↓ 2 callers
Function
del_tree_inner
Free t's children, properties and t itself. The destroying bit is * already set (by del_tree() or tal_free()). */
ccan/ccan/tal/tal.c:430
↓ 2 callers
Method
deldatastore
Remove an existing entry from the datastore. {key} can be a single string, or a sequence of strings. {generation} means delet
contrib/pyln-client/pyln/client/lightning.py:587
↓ 2 callers
Function
deprecated_to_deleted
We promise a 6 month minumum deprecation period, and versions are every 3 months
tools/fromschema.py:135
↓ 2 callers
Function
deprecation
common/deprecation.c:55
↓ 2 callers
Function
derive_bip86_base_key
BIP86 key derivation functions moved from hsmd.c */
hsmd/libhsmd.c:2363
↓ 2 callers
Function
derive_channel_state
lightningd/channel_gossip.c:444
↓ 2 callers
Function
derive_funding_key
devtools/checkchannels.c:70
↓ 2 callers
Function
derive_revocation_basepoint
common/derive_basepoints.c:198
↓ 2 callers
Function
derive_revocation_privkey
BOLT #3: * * The corresponding private key can be derived once the `per_commitment_secret` * is known: * * revocationprivkey = revocation_bas
common/key_derive.c:194
↓ 2 callers
Function
describe_failcode
plugins/libplugin-pay.c:1272
↓ 2 callers
Method
deserialize
(self, deserializer: D)
plugins/rest-plugin/src/yaml.rs:84
↓ 2 callers
Function
destroy_conn
ccan/ccan/io/poll.c:232
↓ 2 callers
Function
dev_disconnect_in
common/dev_disconnect.c:77
↓ 2 callers
Function
dev_disconnect_out
common/dev_disconnect.c:50
↓ 2 callers
Function
dev_disconnect_permanent
If test specified that this disconnection should cause permanent failure */
lightningd/subd.c:948
↓ 2 callers
Method
dev_forget_channel
Forget the channel with id=peerid.
contrib/pyln-client/pyln/client/lightning.py:628
↓ 2 callers
Method
dev_memleak
Show unreferenced memory objects.
contrib/pyln-client/pyln/client/lightning.py:642
↓ 2 callers
Function
dev_override_randbytes
We want different seeds for each plugin (hence argv0), and for each * lightmingd instance, (hence seed from environment) */
common/randbytes.c:52
↓ 2 callers
Function
dev_restore_seed
lightningd/dual_open_control.c:4509
↓ 2 callers
Function
dev_save_plugin_io
lightningd/plugin.c:2633
↓ 2 callers
Function
dev_save_plugin_io_out
lightningd/plugin.c:2675
↓ 2 callers
Function
dev_setup_dualopend_seed
This is a hack for CLN_DEV_ENTROPY_SEED. We cannot actually use * the same seed for each dualopend, or they choose the same ids, and we * clash whe
lightningd/dual_open_control.c:4489
↓ 2 callers
Function
dijkstra_distance_data
plugins/renepay/dijkstra.c:183
↓ 2 callers
Function
dijkstra_maxsize
plugins/askrene/child/dijkstra.c:85
↓ 2 callers
Function
dijkstra_path
plugins/askrene/child/algorithm.c:74
↓ 2 callers
Function
disable_gossip_stream
gossipd/seeker.c:218
↓ 2 callers
Function
disabledmap_add_node
FIXME: check success
plugins/renepay/disabledmap.c:79
↓ 2 callers
Function
disabledmap_reset
FIXME: check success
plugins/renepay/disabledmap.c:27
↓ 2 callers
Function
disconnect_peer
connectd/multiplex.c:132
↓ 2 callers
Function
dns_start
Hand the lookup its pipe and child: called directly if a slot is free, * else from dns_pump_queue when one exits. */
connectd/dns.c:154
↓ 2 callers
Function
do_clean
plugins/autoclean.c:595
↓ 2 callers
Function
do_enqueue
common/msg_queue.c:48
↓ 2 callers
Function
do_getroutes
plugins/askrene/askrene.c:594
↓ 2 callers
Function
do_inject
plugins/xpay/xpay.c:1456
↓ 2 callers
Function
do_sign_delayed_payment_to_us
~ When we send a commitment transaction onchain (unilateral close), there's * a delay before we can spend it. onchaind does an explicit transaction
hsmd/libhsmd.c:2098
↓ 2 callers
Function
do_sign_penalty_to_us
~ This is used when the remote peer's commitment transaction is revoked; * we can use the revocation secret to spend the outputs. For simplicity, *
hsmd/libhsmd.c:1703
↓ 2 callers
Function
do_sign_remote_htlc_to_us
~ This is used when a commitment transaction is onchain, and has an HTLC * output paying to us (because we have the preimage); this signs that * tra
hsmd/libhsmd.c:2019
↓ 2 callers
Function
do_swap
Replace the indirect call with a serie of if statements. It should help the branch predictor. */
ccan/ccan/asort/asort.c:115
↓ 2 callers
Function
do_vfmt
ccan/ccan/tal/str/str.c:43
↓ 2 callers
Function
downgrade_cmdline
(node)
tests/test_downgrade.py:17
↓ 2 callers
Method
drain
(self, peer)
contrib/pyln-testing/pyln/testing/utils.py:1439
↓ 2 callers
Function
dummy_hash
If we've failed to parse but need to produce a hash */
common/bolt12_proof.c:49
↓ 2 callers
Function
dump_htlcs
channeld/full_channel.c:143
↓ 2 callers
Function
dump_token_shallow
common/splice_script.c:139
↓ 2 callers
Function
dump_tx
bitcoin/signature.c:29
↓ 2 callers
Function
dup_fee_states
common/fee_states.c:41
↓ 2 callers
Function
dup_height_states
common/blockheight_states.c:93
↓ 2 callers
Function
early_parse
ccan/ccan/opt/opt.c:235
↓ 2 callers
Function
ecdh
We don't actually use this, but common/onion needs it */
devtools/onion.c:17
↓ 2 callers
Function
ecdh_maybe_blinding
Apply tweak to ephemeral key if path_key is non-NULL, then do ECDH */
lightningd/peer_htlcs.c:1363
↓ 2 callers
Function
elements_psbt_output_is_fee
bitcoin/psbt.c:1102
↓ 2 callers
Function
elements_tx_output_is_fee
bitcoin/tx.c:114
↓ 2 callers
Function
enable_gossip_stream
gossipd/seeker.c:232
↓ 2 callers
Method
enableoffer
Enable an offer, after it has been disabled.
contrib/pyln-client/pyln/client/lightning.py:732
↓ 2 callers
Method
encode
(&mut self, line: T, buf: &mut BytesMut)
cln-rpc/src/codec.rs:59
↓ 2 callers
Method
encode
(&mut self, line: T, buf: &mut BytesMut)
plugins/src/codec.rs:59
↓ 2 callers
Function
encode_tu64
Encode a BOLT #1 `tu64`: big-endian, minimal length (no leading 0x00). Value 0 is encoded as zero-length.
plugins/lsps-plugin/src/core/tlv.rs:304
↓ 2 callers
Function
encoding_add_query_flag
Marshal a single query flag (we don't query, so not currently used) */
gossipd/queries.c:37
↓ 2 callers
Function
encoding_add_short_channel_id
Marshal a single short_channel_id */
gossipd/queries.c:30
↓ 2 callers
Function
encrypt_append
Close the connection if this fails */
connectd/multiplex.c:521
↓ 2 callers
Function
encrypt_legacy_hsm_secret
common/hsm_secret.c:362
↓ 2 callers
Function
end_test
ccan/tools/configurator/configurator.c:576
↓ 2 callers
Function
ensure_hsm_secret_exists
tools/lightning-hsmtool.c:65
↓ 2 callers
Function
estimatefees_null_response
plugins/bcli.c:280
↓ 2 callers
Function
example2
common/test/run-bolt12-format-string-test.c:87
↓ 2 callers
Function
example_key
common/test/run-htable.c:119
↓ 2 callers
Function
excluded
wallet/wallet.c:791
↓ 2 callers
Function
execute_bitcoin_cli
Execute bitcoin-cli with pre-built command and optional stdin args. * Returns result with output and exit status. */
plugins/bcli.c:160
↓ 2 callers
Method
executemany
Batch execute with bound params. Placeholders: '?
contrib/pyln-testing/pyln/testing/db.py:60
↓ 2 callers
Function
expect_ok
common/test/run-tx_signatures_witness.c:85
↓ 2 callers
Function
expect_reject
common/test/run-tx_signatures_witness.c:71
↓ 2 callers
Function
expected_channel_features
Return the expected channel features hexstring for this configuration
tests/utils.py:68
↓ 2 callers
Function
exposesecret_data
plugins/exposesecret.c:23
↓ 2 callers
Function
extract_fd
common/msg_queue.c:15
↓ 2 callers
Function
extract_msg_key
connectd/gossip_rcvd_filter.c:104
↓ 2 callers
Function
extract_price_from_response
( resp: &Value, reply_members: &[String], name: &str, currency: &str, )
plugins/currencyrate-plugin/src/oracle.rs:126
↓ 2 callers
Function
extract_revocation_basepoint
Only works for open_channel2 and accept_channel2 */
connectd/multiplex.c:1108
↓ 2 callers
Function
f1
ccan/ccan/crypto/ripemd160/ripemd160.c:52
↓ 2 callers
Function
f2
ccan/ccan/crypto/ripemd160/ripemd160.c:53
↓ 2 callers
Function
f3
ccan/ccan/crypto/ripemd160/ripemd160.c:54
↓ 2 callers
Function
f4
ccan/ccan/crypto/ripemd160/ripemd160.c:55
↓ 2 callers
Function
f5
ccan/ccan/crypto/ripemd160/ripemd160.c:56
← previous
next →
2,901–3,000 of 16,782, ranked by callers