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
handle_init
plugins/libplugin.c:1532
↓ 1 callers
Method
handle_init
(&mut self, call: messages::InitCall)
plugins/src/lib.rs:500
↓ 1 callers
Function
handle_init_cupdate
lightningd/gossip_control.c:117
↓ 1 callers
Function
handle_init_nannounce
lightningd/gossip_control.c:143
↓ 1 callers
Function
handle_intermediate_failure
plugins/libplugin-pay.c:1410
↓ 1 callers
Function
handle_invoice
plugins/offers_inv_hook.c:216
↓ 1 callers
Function
handle_invoice_onion_message
plugins/fetchinvoice.c:404
↓ 1 callers
Function
handle_invoice_request
plugins/offers_invreq_hook.c:1126
↓ 1 callers
Function
handle_invreq_response
plugins/fetchinvoice.c:159
↓ 1 callers
Function
handle_irrevocably_resolved
lightningd/onchain_control.c:648
↓ 1 callers
Function
handle_local_anchors
lightningd/channel_control.c:1544
↓ 1 callers
Function
handle_localpay
lightningd/peer_htlcs.c:479
↓ 1 callers
Function
handle_lock_outpoint
~This stub implementation is overriden by fully validating signers to * change their funding/splice state to locked */
hsmd/libhsmd.c:439
↓ 1 callers
Function
handle_master_in
Standard lightningd-fd-is-ready-to-read demux code. Again, we could hang * here, but if we can't trust our parent, who can we trust? */
openingd/openingd.c:1360
↓ 1 callers
Function
handle_master_in
Standard lightningd-fd-is-ready-to-read demux code. Again, we could hang * here, but if we can't trust our parent, who can we trust? */
openingd/dualopend.c:4257
↓ 1 callers
Function
handle_master_request_later
Returns true if we queued this for later handling (steals if true) */
channeld/channeld.c:397
↓ 1 callers
Function
handle_memleak
hsmd/hsmd.c:657
↓ 1 callers
Function
handle_message_locally
We handle pings and gossip messages. */
connectd/multiplex.c:1057
↓ 1 callers
Function
handle_missing_htlc_output
lightningd/onchain_control.c:587
↓ 1 callers
Function
handle_mutual_close
onchaind/onchaind.c:1929
↓ 1 callers
Function
handle_new_channel
~This stub implementation is overriden by fully validating signers * that need to manage per-channel state. */
hsmd/libhsmd.c:357
↓ 1 callers
Function
handle_notify
cli/lightning-cli.c:461
↓ 1 callers
Function
handle_offer_htlc
channeld/channeld.c:6561
↓ 1 callers
Function
handle_offer_htlc
tests/plugins/channeld_fakenet.c:868
↓ 1 callers
Function
handle_onchain_htlc_timeout
lightningd/onchain_control.c:621
↓ 1 callers
Function
handle_onchain_init_reply
lightningd/onchain_control.c:213
↓ 1 callers
Function
handle_onchain_log_coin_move
lightningd/onchain_control.c:427
↓ 1 callers
Function
handle_onchain_log_penalty_adj
lightningd/onchain_control.c:447
↓ 1 callers
Function
handle_onchaind_depth
onchaind/onchaind.c:1721
↓ 1 callers
Function
handle_onchaind_known_preimage
onchaind/onchaind.c:1748
↓ 1 callers
Function
handle_onchaind_spend_fulfill
lightningd/onchain_control.c:1563
↓ 1 callers
Function
handle_onchaind_spend_htlc_expired
lightningd/onchain_control.c:1750
↓ 1 callers
Function
handle_onchaind_spend_htlc_success
lightningd/onchain_control.c:1601
↓ 1 callers
Function
handle_onchaind_spend_htlc_timeout
lightningd/onchain_control.c:1674
↓ 1 callers
Function
handle_onchaind_spend_penalty
lightningd/onchain_control.c:1529
↓ 1 callers
Function
handle_onchaind_spend_to_us
BOLT #5: * * - if `option_anchors` applies: * - MAY use a single transaction to *resolve* all the outputs. * - if confirmation doesn't happ
lightningd/onchain_control.c:1476
↓ 1 callers
Function
handle_onchaind_spent
onchaind/onchaind.c:1732
↓ 1 callers
Function
handle_onionmsg_forward_fail
lightningd/connect_control.c:441
↓ 1 callers
Function
handle_onionmsg_to_us
lightningd/onion_message.c:106
↓ 1 callers
Function
handle_opts
lightningd/options.c:1925
↓ 1 callers
Function
handle_our_shutdown
openingd/dualopend.c:589
↓ 1 callers
Function
handle_our_unilateral
onchaind/onchaind.c:2331
↓ 1 callers
Function
handle_outpoints_spent
~ This is where lightningd tells us that a channel's funding transaction has * been spent. */ BOLT #7: * ## Pruning the Network View *... * ### Re
gossipd/gossipd.c:512
↓ 1 callers
Function
handle_peer_add_htlc
channeld/channeld.c:672
↓ 1 callers
Function
handle_peer_announcement_signatures
channeld/channeld.c:650
↓ 1 callers
Function
handle_peer_blockheight_change
channeld/channeld.c:838
↓ 1 callers
Function
handle_peer_channel_ready
channeld/channeld.c:603
↓ 1 callers
Function
handle_peer_connected
Connectd tells us a peer has connected/reconnected: it never hands us duplicates, since * it holds them until we say peer_disconnected. */
lightningd/peer_control.c:1878
↓ 1 callers
Function
handle_peer_disconnected
lightningd/peer_control.c:2438
↓ 1 callers
Function
handle_peer_error
lightningd/subd.c:423
↓ 1 callers
Function
handle_peer_fail_htlc
channeld/channeld.c:2817
↓ 1 callers
Function
handle_peer_fail_malformed_htlc
channeld/channeld.c:2856
↓ 1 callers
Function
handle_peer_feechange
channeld/channeld.c:777
↓ 1 callers
Function
handle_peer_fulfill_htlc
channeld/channeld.c:2782
↓ 1 callers
Function
handle_peer_in
~ Standard "peer sent a message, handle it" demuxer. Though it really only * handles one message, we use the standard form as principle of least *
openingd/openingd.c:1308
↓ 1 callers
Function
handle_peer_in
~ Standard "peer sent a message, handle it" demuxer. Though it really only * handles a few messages, we use the standard form as principle of least
openingd/dualopend.c:4347
↓ 1 callers
Function
handle_peer_locked
lightningd/dual_open_control.c:2117
↓ 1 callers
Function
handle_peer_revoke_and_ack
channeld/channeld.c:2697
↓ 1 callers
Function
handle_peer_shutdown
channeld/channeld.c:2911
↓ 1 callers
Function
handle_peer_splice_locked
Our peer told us they saw our splice confirm on chain with `splice_locked`. * If we see it to we jump into transitioning to post-splice, otherwise we
channeld/channeld.c:572
↓ 1 callers
Function
handle_peer_splice_locked
lightningd/channel_control.c:1209
↓ 1 callers
Function
handle_peer_spoke
connectd tells us a peer has a message and we've not already attached * a subd. Normally this is a race, but it happens for real when opening * a n
lightningd/peer_control.c:2125
↓ 1 callers
Function
handle_peer_start_batch
channeld/channeld.c:2587
↓ 1 callers
Function
handle_peer_tx_sigs_msg
lightningd/dual_open_control.c:2369
↓ 1 callers
Function
handle_peer_tx_sigs_sent
lightningd/dual_open_control.c:1972
↓ 1 callers
Function
handle_peer_update_data
lightningd/gossip_control.c:156
↓ 1 callers
Function
handle_peer_wants_to_close
lightningd/dual_open_control.c:1722
↓ 1 callers
Function
handle_ping_done
lightningd/ping.c:33
↓ 1 callers
Function
handle_ping_in
connectd/multiplex.c:850
↓ 1 callers
Function
handle_ping_latency
lightningd/connect_control.c:568
↓ 1 callers
Function
handle_ping_reply
connectd/multiplex.c:863
↓ 1 callers
Function
handle_pong_in
connectd/multiplex.c:886
↓ 1 callers
Function
handle_preapprove_invoice
~ lightningd asks us to approve an invoice. This stub implementation * is overriden by fully validating signers that need to track invoice * payment
hsmd/libhsmd.c:955
↓ 1 callers
Function
handle_preapprove_keysend
~ lightningd asks us to approve a keysend payment. This stub implementation * is overriden by fully validating signers that need to track keysend *
hsmd/libhsmd.c:976
↓ 1 callers
Function
handle_preimage
BOLT #5: * * A local node: * - if it receives (or already possesses) a payment preimage for an unresolved * HTLC output that it has been offer
onchaind/onchaind.c:1584
↓ 1 callers
Function
handle_preimage
channeld/channeld.c:6769
↓ 1 callers
Function
handle_psbt_changed
lightningd/dual_open_control.c:3700
↓ 1 callers
Function
handle_query_channel_range
~ The peer can ask for all channels in a series of blocks. We reply with one * or more messages containing the short_channel_ids. */
connectd/queries.c:757
↓ 1 callers
Function
handle_query_short_channel_ids
The peer can ask about an array of short channel ids: we don't assemble the * reply immediately but process them one at a time in dump_gossip which i
connectd/queries.c:282
↓ 1 callers
Function
handle_recv_gossip
gossipd/gossipd.c:172
↓ 1 callers
Function
handle_reply
plugins/commando.c:479
↓ 1 callers
Function
handle_reply_channel_range
~ This is the reply we get when we send query_channel_range; we keep * expecting them until the entire range we asked for is covered. */
gossipd/queries.c:185
↓ 1 callers
Function
handle_reply_short_channel_ids_end
~ When we ask about an array of short_channel_ids, we get all channel & * node announcements and channel updates which the peer knows. There's an *
gossipd/queries.c:375
↓ 1 callers
Function
handle_revoke_commitment_tx
~This stub implementation is overriden by fully validating signers * that need to independently revoke the old local commitment tx and * release it'
hsmd/libhsmd.c:1963
↓ 1 callers
Function
handle_rpc_reply
plugins/libplugin.c:1051
↓ 1 callers
Function
handle_send_error
channeld/channeld.c:6856
↓ 1 callers
Function
handle_set_billboard
lightningd/subd.c:447
↓ 1 callers
Function
handle_setup_channel
~This stub implementation is overriden by fully validating signers * that need the unchanging channel parameters. */
hsmd/libhsmd.c:372
↓ 1 callers
Function
handle_shutdown_cmd
channeld/channeld.c:6829
↓ 1 callers
Function
handle_sign_anchorspend
~ Called from lightningd */
hsmd/libhsmd.c:1779
↓ 1 callers
Function
handle_sign_any_delayed_payment_to_us
~ When called by lightningd */
hsmd/libhsmd.c:2167
↓ 1 callers
Function
handle_sign_any_local_htlc_tx
~ lightningd asks us to sign our HTLC transaction. */
hsmd/libhsmd.c:1568
↓ 1 callers
Function
handle_sign_any_penalty_to_us
~ Called from lightningd */
hsmd/libhsmd.c:1759
↓ 1 callers
Function
handle_sign_any_remote_htlc_to_us
~ When called by lightningd */
hsmd/libhsmd.c:2073
↓ 1 callers
Function
handle_sign_bolt12
~ lightningd asks us to sign a bolt12 (e.g. offer). */
hsmd/libhsmd.c:839
↓ 1 callers
Function
handle_sign_bolt12_2
~ lightningd asks us to sign a bolt12 (e.g. offer): modern version */
hsmd/libhsmd.c:895
↓ 1 callers
Function
handle_sign_commitment_tx
~ This is another lightningd-only interface; signing a commit transaction. * This is dangerous, since if we sign a revoked commitment tx we'll lose
hsmd/libhsmd.c:1861
↓ 1 callers
Function
handle_sign_delayed_payment_to_us
~ When called by onchaind */
hsmd/libhsmd.c:2149
↓ 1 callers
Function
handle_sign_htlc_tx_mingle
~ Called from lightningd */
hsmd/libhsmd.c:1832
↓ 1 callers
Function
handle_sign_invoice
~ Lightning invoices, defined by BOLT 11, are signed. This has been * surprisingly controversial; it means a node needs to be online to create * in
hsmd/libhsmd.c:1003
← previous
next →
5,701–5,800 of 16,782, ranked by callers