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
capture_premature_msg
Older LND sometimes sends channel_ready before reestablish! */ ... or announcement_signatures. Sigh, let's handle whatever they send. */
channeld/channeld.c:5832
↓ 1 callers
Function
ceil_div
common/onion_decode.c:59
↓ 1 callers
Function
chain_events
plugins/bkpr/sql.c:97
↓ 1 callers
Function
chain_events_eq
plugins/bkpr/test/run-recorder.c:619
↓ 1 callers
Function
chain_to_income
plugins/bkpr/incomestmt.c:29
↓ 1 callers
Function
chaininfo_ack
Watchman acked chaininfo: kick off normal polling. */
plugins/bwatch/bwatch_interface.c:214
↓ 1 callers
Function
chainparams_get_ln_port
Generated stub for chainparams_get_ln_port */
wire/test/run-tlvstream.c:27
↓ 1 callers
Function
chainparams_get_network_names
bitcoin/chainparams.c:247
↓ 1 callers
Function
chan_extra_can_send_
Update the knowledge that this (channel,direction) can send x msat.*/
plugins/renepay/chan_extra.c:259
↓ 1 callers
Function
chan_extra_cannot_send
Update the knowledge that this (channel,direction) cannot send.*/
plugins/renepay/chan_extra.c:305
↓ 1 callers
Function
chan_extra_commit_htlc
plugins/renepay/chan_extra.c:664
↓ 1 callers
Function
chan_extra_relax
Forget a bit about this (channel,direction) state. */
plugins/renepay/chan_extra.c:452
↓ 1 callers
Function
chan_extra_relax_fraction
Forget the channel information by a fraction of the capacity. */
plugins/renepay/chan_extra.c:488
↓ 1 callers
Function
chan_extra_remove_htlc
plugins/renepay/chan_extra.c:646
↓ 1 callers
Function
chan_extra_sent_success
Update the knowledge that this (channel,direction) has sent x msat.*/
plugins/renepay/chan_extra.c:401
↓ 1 callers
Function
chan_extra_set_liquidity
plugins/renepay/chan_extra.c:385
↓ 1 callers
Function
chan_extra_set_liquidity_
Update the knowledge that this (channel,direction) has liquidity x.*/ FIXME for being this low level API, I thinkg it's too much to have verbose error
plugins/renepay/chan_extra.c:352
↓ 1 callers
Function
chan_for_node_index
common/splice_script.c:1463
↓ 1 callers
Function
change_bit
ccan/ccan/crypto/shachain/shachain.c:8
↓ 1 callers
Function
change_serials
Try changing up the serial ids */
common/test/run-psbt_diff.c:115
↓ 1 callers
Function
changed_htlc_arr
channeld/channeld.c:907
↓ 1 callers
Function
chanidx_id
common/gossmap.c:252
↓ 1 callers
Function
channel_add_old_scid
lightningd/channel.c:319
↓ 1 callers
Function
channel_added_their_htlc
lightningd/peer_htlcs.c:2350
↓ 1 callers
Function
channel_announcement_eq
wire/test/run-peer-wire.c:761
↓ 1 callers
Function
channel_apy_sum
plugins/bkpr/channelsapy.c:53
↓ 1 callers
Function
channel_by_dbid
Generated stub for channel_by_dbid */
wallet/test/run-db.c:52
↓ 1 callers
Function
channel_delayed_basepoint_secret
Reproduce hsmd's per-channel delayed_payment_basepoint secret. hsm_secret[:32] -> channel_base -> channel_seed(peer_id||dbid) -> keys, where
tests/test_opening.py:53
↓ 1 callers
Function
channel_err
lightningd/channel.c:1337
↓ 1 callers
Function
channel_err_broken
lightningd/dual_open_control.c:92
↓ 1 callers
Function
channel_errmsg
lightningd/peer_control.c:643
↓ 1 callers
Function
channel_events
plugins/bkpr/sql.c:36
↓ 1 callers
Function
channel_events_eq
plugins/bkpr/test/run-recorder.c:602
↓ 1 callers
Function
channel_exists_by_id
wallet/wallet.c:3022
↓ 1 callers
Function
channel_fail_fallen_behind
lightningd/dual_open_control.c:3685
↓ 1 callers
Function
channel_fail_fallen_behind
lightningd/channel_control.c:1420
↓ 1 callers
Function
channel_get_config
(scid)
tests/test_pay.py:2080
↓ 1 callers
Function
channel_gossip_channel_disconnect
lightningd/channel_gossip.c:1274
↓ 1 callers
Function
channel_gossip_get_remote_update
Generated stub for channel_gossip_get_remote_update */
wallet/test/run-db.c:55
↓ 1 callers
Function
channel_gossip_get_remote_update
lightningd/channel_gossip.c:1441
↓ 1 callers
Function
channel_gossip_init_done
Gossipd init is done: if you expected a channel_update, be * disappointed. */
lightningd/channel_gossip.c:1175
↓ 1 callers
Function
channel_gossip_notify_new_block
lightningd/channel_gossip.c:1077
↓ 1 callers
Function
channel_gossip_scid_changed
Short channel id changed (splice, or reorg). */
lightningd/channel_gossip.c:1029
↓ 1 callers
Function
channel_gossip_set_remote_update
A peer sent gossipd an update_channel message for one of our channels. * Gossipd checked the signature: against the channel_announcement if * source
lightningd/channel_gossip.c:1384
↓ 1 callers
Function
channel_gossip_shutdown
lightningd/channel_gossip.c:1450
↓ 1 callers
Function
channel_gossip_startup_done
We also wait ten seconds *after* connection, for lease registration */
lightningd/channel_gossip.c:1166
↓ 1 callers
Function
channel_gossip_update
Generated stub for channel_gossip_update */
wallet/test/run-db.c:58
↓ 1 callers
Function
channel_gossip_update_for_error
We *could* send channel_updates for private channels, or * unannounced. We do not */
lightningd/channel_gossip.c:1282
↓ 1 callers
Function
channel_gossip_update_from_gossipd
Gossipd told us about a channel update on one of our channels (on loading) */
lightningd/channel_gossip.c:1100
↓ 1 callers
Function
channel_hint_from_json
* Load a channel_hint from its JSON representation. * * @return The initialized `channel_hint` or `NULL` if we encountered a parsing * erro
plugins/channel_hint.c:173
↓ 1 callers
Function
channel_hint_notify
plugins/libplugin-pay.c:397
↓ 1 callers
Function
channel_hint_notify_core
* Notify subscribers of the `channel_hint` topic about a changed hint * * We share the channel_hints across payments, and across plugins, in
plugins/libplugin-pay.c:388
↓ 1 callers
Function
channel_hint_set_update
plugins/channel_hint.c:209
↓ 1 callers
Function
channel_hint_to_json
plugins/channel_hint.c:17
↓ 1 callers
Function
channel_hint_update
* Update the `channel_hint` in place, return whether it should be kept. * * This computes the refill-rate based on the overall capacity, and * the
plugins/channel_hint.c:68
↓ 1 callers
Function
channel_id_is_all
common/wire_error.c:113
↓ 1 callers
Function
channel_important_filter
lightningd/channel.c:1004
↓ 1 callers
Function
channel_inflightseq
wallet/test/run-wallet.c:1219
↓ 1 callers
Function
channel_is_between
common/test/run-route-specific.c:157
↓ 1 callers
Function
channel_is_between
common/test/run-route.c:143
↓ 1 callers
Function
channel_is_connected
lightningd/channel.c:1371
↓ 1 callers
Function
channel_liquidity
Based on the knowledge that we have and HTLCs, returns the greatest * amount that we can send through this channel. */
plugins/renepay/chan_extra.c:120
↓ 1 callers
Function
channel_mvt_index_created
Generated stub for channel_mvt_index_created */
wallet/test/run-db.c:61
↓ 1 callers
Function
channel_notify_new_block
Notify all channels of new blocks. */
lightningd/channel_control.c:2125
↓ 1 callers
Function
channel_open_failed_serialize
lightningd/notification.c:598
↓ 1 callers
Function
channel_opened_notification_serialize
FIXME: Use outpoint here! */
lightningd/notification.c:260
↓ 1 callers
Function
channel_ready_eq
wire/test/run-peer-wire.c:780
↓ 1 callers
Function
channel_record_splice
lightningd/channel_control.c:1059
↓ 1 callers
Function
channel_saved_err_broken_reconn
lightningd/dual_open_control.c:75
↓ 1 callers
Function
channel_state_can_close
lightningd/closing_control.c:702
↓ 1 callers
Function
channel_state_changed_notification_serialize
lightningd/notification.c:294
↓ 1 callers
Function
channel_state_closed
lightningd/channel.h:685
↓ 1 callers
Function
channel_state_failing_onchain
lightningd/channel.h:616
↓ 1 callers
Function
channel_state_fees_can_change
lightningd/channel.h:593
↓ 1 callers
Function
channel_state_opening
Is this a dual-funded open which has not reached the funding transaction * yet? All of these still own a dualopend, and none of them have a funding
lightningd/peer_control.c:2064
↓ 1 callers
Function
channel_state_wants_onchain_fail
Established enough, that we have to fail onto chain */
lightningd/channel.h:757
↓ 1 callers
Function
channel_stats_incr_in_fulfilled
lightningd/peer_htlcs.c:114
↓ 1 callers
Function
channel_stats_incr_in_offered
lightningd/peer_htlcs.c:130
↓ 1 callers
Function
channel_stats_incr_out_fulfilled
lightningd/peer_htlcs.c:122
↓ 1 callers
Function
channel_stats_incr_out_offered
lightningd/peer_htlcs.c:138
↓ 1 callers
Function
channel_unwatch_funding
lightningd/peer_control.c:2840
↓ 1 callers
Function
channel_update_eq
wire/test/run-peer-wire.c:891
↓ 1 callers
Function
channel_update_from_onion_error
Return NULL if the wrapped onion error message has no channel_update field, * or return the embedded channel_update message otherwise. */
plugins/libplugin-pay.c:1575
↓ 1 callers
Function
channel_update_from_onion_error
Return NULL if the wrapped onion error message has no channel_update field, * or return the embedded channel_update message otherwise. */
plugins/renepay/routefail.c:85
↓ 1 callers
Function
channeld_tell_depth
Actually send the depth message to channeld */
lightningd/channel_control.c:2046
↓ 1 callers
Function
channels_refresh
plugins/sql.c:1062
↓ 1 callers
Function
char_to_hex
ccan/ccan/str/hex/hex.c:7
↓ 1 callers
Function
charset_find
common/descriptor_checksum.c:14
↓ 1 callers
Function
check
ccan/ccan/rune/test/run.c:7
↓ 1 callers
Method
check
Checks if a command is valid without running it.
contrib/pyln-client/pyln/client/lightning.py:514
↓ 1 callers
Function
check_act_one
connectd/handshake.c:45
↓ 1 callers
Function
check_act_three
connectd/handshake.c:104
↓ 1 callers
Function
check_act_two
connectd/handshake.c:74
↓ 1 callers
Function
check_against_raw_encoder
The builders can't notice themselves dropping a field: compare against * the raw encoder. */
plugins/xpay/test/run-onion_budget.c:218
↓ 1 callers
Function
check_already_failed
We've had a bug report about not failing incoming HTLCs. This does a sanity * check, if we think we've already failed this HTLC */
lightningd/peer_htlcs.c:1871
↓ 1 callers
Function
check_announce_sigs
lightningd/gossip_generation.c:211
↓ 1 callers
Function
check_batch
ccan/ccan/ptr_valid/test/run.c:7
↓ 1 callers
Function
check_bolt11_condition
lightningd/runes.c:750
↓ 1 callers
Function
check_bolt12_condition
lightningd/runes.c:775
↓ 1 callers
Function
check_bounds
ccan/ccan/tal/tal.c:166
← previous
next →
4,501–4,600 of 16,782, ranked by callers