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
hash160
Bitcoin's OP_HASH160 is RIPEMD(SHA256()) */
bitcoin/script.c:30
↓ 2 callers
Function
hash_djb2
Matches the hash function used in devtools/sql-rewrite.py */
db/utils.c:10
↓ 2 callers
Function
hash_djb2
(string)
devtools/sql-rewrite.py:95
↓ 2 callers
Function
hash_from_base
Given a base secret, an easy one-way function is SHA(base || input) */
common/bolt12_id.c:7
↓ 2 callers
Function
have_anchor_channel
lightningd/channel.c:953
↓ 2 callers
Function
have_full_encrypted_queue
Do we have enough bytes without padding? */
connectd/multiplex.c:473
↓ 2 callers
Function
have_i_signed_inflight
This checks if local has signed the funding input only */
channeld/channeld.c:1857
↓ 2 callers
Function
have_layer
plugins/askrene/askrene.c:58
↓ 2 callers
Function
hmac_done
common/hmac.c:21
↓ 2 callers
Function
hmac_start
common/hmac.c:9
↓ 2 callers
Function
hmac_update
common/hmac.c:15
↓ 2 callers
Function
hook_done
lightningd/plugin_hook.c:227
↓ 2 callers
Function
hook_extract_amount
The field is *always* assumed msats, as that's the unit * amount we're transitioning our API over to. A 'xxxsat' * unit will be interpreted correctl
lightningd/dual_open_control.c:465
↓ 2 callers
Function
hsm_get_fd
lightningd/hsm_control.c:22
↓ 2 callers
Function
hsm_secret_arg
lightningd/options.c:1314
↓ 2 callers
Function
hsm_secret_needs_passphrase
common/hsm_secret.c:81
↓ 2 callers
Function
hsm_sign_b12
lightningd/offer.c:65
↓ 2 callers
Function
hsm_unilateral_close_privkey
~ For almost every wallet tx we use the BIP32 seed, but not for onchain * unilateral closes from a peer: they (may) have an output to us using a * p
hsmd/libhsmd.c:461
↓ 2 callers
Function
hsmd_check_client_capabilities
~ This routine checks that a client is allowed to call the handler. */
hsmd/libhsmd.c:84
↓ 2 callers
Function
hsmd_init
hsmd/libhsmd.c:2427
↓ 2 callers
Function
hsmd_send_init_reply_failure
Send an init reply failure message to lightningd and then call status_failed */
hsmd/hsmd.c:297
↓ 2 callers
Function
htable_val
ccan/ccan/htable/htable.c:169
↓ 2 callers
Function
htlc_dust
channeld/full_channel.c:514
↓ 2 callers
Function
htlc_dust_ok
channeld/full_channel.c:1329
↓ 2 callers
Function
htlc_incoming_deadline
We want to mine a success tx before they can timeout */
lightningd/onchain_control.c:1378
↓ 2 callers
Function
htlc_is_dead
channeld/channeld_htlc.h:79
↓ 2 callers
Function
htlc_offered_wscript
common/htlc_tx.c:190
↓ 2 callers
Function
htlc_outgoing_incoming_deadline
If there's a corresponding incoming HTLC, we want this mined in time so * we can fail incoming before incoming peer closes on us! */
lightningd/onchain_control.c:1394
↓ 2 callers
Function
htlc_received_wscript
common/htlc_tx.c:205
↓ 2 callers
Function
htlc_success_tx
common/htlc_tx.c:71
↓ 2 callers
Function
htlc_timeout_tx
common/htlc_tx.c:133
↓ 2 callers
Function
htlcs_index_created
Generated stub for htlcs_index_created */
wallet/test/run-db.c:135
↓ 2 callers
Function
htlcs_index_inc
lightningd/peer_htlcs.c:3179
↓ 2 callers
Function
htlcs_resubmit
lightningd/peer_htlcs.c:3241
↓ 2 callers
Function
http_upgrade
connectd/websocketd.c:186
↓ 2 callers
Function
human_readable
Returns number of tokens digested */
cli/lightning-cli.c:31
↓ 2 callers
Function
ignore_column
plugins/sql.c:1451
↓ 2 callers
Function
ilog32
ccan/ccan/ilog/ilog.c:31
↓ 2 callers
Function
implied_peer_splice_locked
channeld/channeld.c:543
↓ 2 callers
Function
in_bounds
ccan/ccan/tal/tal.c:149
↓ 2 callers
Function
increase_flows
It increases the flows to meet the deliver target. It does not increase any * flow beyond the tolerance fraction (unless negative). * Returns true i
plugins/askrene/child/refine.c:447
↓ 2 callers
Function
infinite_block_deadline
If we don't care / don't know */
lightningd/onchain_control.c:792
↓ 2 callers
Function
inflight_remote_fundingkey
The peer may use a new funding key for a splice: that inflight's * commitment spends the splice output, not the current funding. */
lightningd/peer_control.c:283
↓ 2 callers
Function
inflight_set_last_tx
Generated stub for inflight_set_last_tx */
wallet/test/run-db.c:160
↓ 2 callers
Function
inflights_new
channeld/channeld.c:4253
↓ 2 callers
Function
init
The init function used by all fuzz-wire-* targets. */
tests/fuzz/wire.h:24
↓ 2 callers
Function
init
plugins/xpay/xpay.c:3383
↓ 2 callers
Function
init_chan_arr
common/gossmap.c:351
↓ 2 callers
Function
init_log_hdr
lightningd/log.c:634
↓ 2 callers
Function
init_map_structs
common/gossmap.c:715
↓ 2 callers
Function
init_node_arr
common/gossmap.c:282
↓ 2 callers
Function
init_set_feerate
lightningd/dual_open_control.c:3310
↓ 2 callers
Function
init_span
common/trace.c:107
↓ 2 callers
Function
init_tablemap
plugin is NULL if we're just doing --print-docs */
plugins/sql.c:2036
↓ 2 callers
Function
initial_config_opts
common/configdir.c:316
↓ 2 callers
Function
input_data_str
Helper to input data strong of codex32 into the checksum engine. */
common/codex32.c:148
↓ 2 callers
Function
input_for_script
common/test/run-tx_signatures_witness.c:56
↓ 2 callers
Function
input_hrp
Helper to input the HRP of codex32 string into the checksum engine */
common/codex32.c:134
↓ 2 callers
Function
insert_chain_fees_diff
plugins/bkpr/onchain_fee.c:274
↓ 2 callers
Function
insert_chain_mvt
wallet/wallet.c:7004
↓ 2 callers
Function
insert_channel_mvt
wallet/wallet.c:6950
↓ 2 callers
Function
insert_local_space
Create space at end of local map, return offset it was added at. */
common/gossmap.c:1035
↓ 2 callers
Function
install_expiration_timer
wallet/invoices.c:211
↓ 2 callers
Function
interactive_send_commitments
The question of "who signs splice commitments first" is the same order as the * splice `tx_signature`s are. This function handles sending & receiving
channeld/channeld.c:3213
↓ 2 callers
Function
interp_feerate
lightningd/chaintopology.c:394
↓ 2 callers
Function
intmap_after_
ccan/ccan/intmap/intmap.c:177
↓ 2 callers
Function
intmap_init_
ccan/ccan/intmap/intmap.h:91
↓ 2 callers
Function
intmap_last_
ccan/ccan/intmap/intmap.c:291
↓ 2 callers
Method
into_response
(self)
plugins/rest-plugin/src/structs.rs:39
↓ 2 callers
Function
invoice_check_payment
lightningd/invoice.c:332
↓ 2 callers
Function
invoice_complete
lightningd/invoice.c:837
↓ 2 callers
Function
invoice_expiry
common/bolt12.c:907
↓ 2 callers
Function
invoice_for_invreq
* Prepare a new invoice based on an invoice_request. */
common/bolt12.c:1101
↓ 2 callers
Function
invoice_get_status
wallet/invoices.c:551
↓ 2 callers
Function
invoice_index_update_status
FIXME: We allow missing label here! :( */
wallet/invoices.c:810
↓ 2 callers
Function
invoice_invreq_id
common/bolt12.c:1069
↓ 2 callers
Function
invoice_request_for_offer
BOLT #12: * ## Requirements for Invoice Requests * * The writer: * - if it is responding to an offer: * - MUST copy all fields from the off
common/bolt12.c:1085
↓ 2 callers
Function
invoice_request_status_update
If we make an invoice_request inactive */
wallet/wallet.c:6336
↓ 2 callers
Function
invoice_try_pay
lightningd/invoice.c:444
↓ 2 callers
Function
invoices_create
Generated stub for invoices_create */
lightningd/test/run-invoice-select-inchan.c:349
↓ 2 callers
Function
invoices_resolve
Generated stub for invoices_resolve */
lightningd/test/run-invoice-select-inchan.c:417
↓ 2 callers
Function
invreq_amount_by_quantity
plugins/offers_invreq_hook.c:666
↓ 2 callers
Function
invreq_check_recurrence_policy
common/bolt12.c:108
↓ 2 callers
Function
io_always_dir
ccan/ccan/io/io.c:169
↓ 2 callers
Function
io_close_taken_fd
ccan/ccan/io/io.c:518
↓ 2 callers
Function
io_flush_sync
ccan/ccan/io/io.c:605
↓ 2 callers
Function
io_get_extended_errors
ccan/ccan/io/io.c:646
↓ 2 callers
Function
io_read_header
ccan/ccan/io/benchmarks/run-length-prefix.c:36
↓ 2 callers
Function
is_anchor_witness_script
bitcoin/script.c:965
↓ 2 callers
Function
is_announced_dead
lightningd/channel_gossip.c:272
↓ 2 callers
Function
is_announced_dying
lightningd/channel_gossip.c:264
↓ 2 callers
Method
is_array
(self)
tools/generate-wire.py:79
↓ 2 callers
Function
is_asterix_notification
common/plugin.c:5
↓ 2 callers
Method
is_channel_active
Does gossip show this channel as enabled both ways?
contrib/pyln-testing/pyln/testing/utils.py:1346
↓ 2 callers
Function
is_dead
Truly dead once we've seen spend onchain */
lightningd/channel_gossip.c:251
↓ 2 callers
Method
is_implicit_len
(self)
tools/generate-wire.py:85
↓ 2 callers
Function
is_initiators_serial
channeld/channeld.c:3090
↓ 2 callers
Function
is_ipaddr
common/wireaddr.c:355
↓ 2 callers
Function
is_known_scripttype
bitcoin/script.c:552
↓ 2 callers
Function
is_maxhops
plugins/askrene/askrene.c:96
← previous
next →
3,201–3,300 of 16,782, ranked by callers