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
bitcoin_wscript_htlc_receive
bitcoin/script.c:847
↓ 2 callers
Function
bitcoin_wscript_htlc_receive_ripemd
BOLT #3: * * #### Received HTLC Outputs * * This output sends funds to either the remote node after the HTLC-timeout or * using the revocation ke
bitcoin/script.c:795
↓ 2 callers
Function
bitmap_alloc0
ccan/ccan/bitmap/bitmap.h:203
↓ 2 callers
Function
bitmap_alloc1
ccan/ccan/bitmap/bitmap.h:213
↓ 2 callers
Function
bitmap_ffs
ccan/ccan/bitmap/bitmap.c:79
↓ 2 callers
Function
bitops_ls32
* bitops_ls32: find lowest set bit in a uint32_t (must not be zero) * * Returns 0 for least significant bit, 31 for most significant bit. */
ccan/ccan/bitops/bitops.h:116
↓ 2 callers
Function
bitops_weight32
* bitops_weight32: count number of bits set in a uint32_t * * Returns 0 to 32. */
ccan/ccan/bitops/bitops.h:201
↓ 2 callers
Function
bitops_weight64
* bitops_weight64: count number of bits set in a uint64_t * * Returns 0 to 64. */
ccan/ccan/bitops/bitops.h:211
↓ 2 callers
Function
blind
(pubkey, sharedsecret)
contrib/pyln-proto/pyln/proto/onion.py:467
↓ 2 callers
Function
blind_error_return
BOLT #4: * - if `path_key` is set in the incoming `update_add_htlc`: * - MUST return an `invalid_onion_blinding` error. * - if `current_pat
lightningd/peer_htlcs.c:153
↓ 2 callers
Function
blind_group_element
(pubkey, blind: Secret)
contrib/pyln-proto/pyln/proto/onion.py:474
↓ 2 callers
Function
blind_group_element
common/sphinx.c:387
↓ 2 callers
Function
blinded_onion_hops
common/blindedpay.c:7
↓ 2 callers
Function
block_from_response
Parse the bitcoin block out of a getrawblockbyheight response. */
plugins/bwatch/bwatch.c:39
↓ 2 callers
Function
blockheight_changes_done
Are blockheights all agreed by both sides? */
common/blockheight_states.c:63
↓ 2 callers
Function
blocks_to_abs_locktime
bitcoin/locktime.c:24
↓ 2 callers
Function
bolt11_with_metadata
Re-encode inv (made by l2) with payment metadata attached.
tests/test_xpay.py:1495
↓ 2 callers
Function
bolt12_chains_match
If chains is NULL, max_num_chains is ignored */
common/bolt12.c:225
↓ 2 callers
Function
bolt12_check_signature
common/bolt12.c:291
↓ 2 callers
Function
bolt12_has_offer_prefix
common/bolt12.c:941
↓ 2 callers
Function
bool_setting
Sets *ret to false if it doesn't appear, otherwise, sets to value */
lightningd/plugin.c:964
↓ 2 callers
Function
breakpoint_init
ccan/ccan/breakpoint/breakpoint.c:20
↓ 2 callers
Function
breakup
common/amount.c:104
↓ 2 callers
Function
build_bytes
(type_: u64, value: &[u8])
plugins/lsps-plugin/src/core/tlv.rs:343
↓ 2 callers
Function
build_commit_response
lightningd/dual_open_control.c:3193
↓ 2 callers
Function
bwatch_add_watch_to_hash
plugins/bwatch/bwatch_store.c:96
↓ 2 callers
Function
bwatch_get_watch
plugins/bwatch/bwatch_store.c:115
↓ 2 callers
Function
bwatch_list_datastore
List all datastore entries under a key prefix (up to 2 components). */
plugins/bwatch/bwatch_store.c:160
↓ 2 callers
Function
bwatch_process_block_txs
plugins/bwatch/bwatch_scanner.c:226
↓ 2 callers
Function
bwatch_remove_tip
Remove tip block on reorg */
plugins/bwatch/bwatch.c:140
↓ 2 callers
Function
bwatch_save_watch_to_datastore
plugins/bwatch/bwatch_store.c:442
↓ 2 callers
Function
calc_invreq
common/bolt12.c:1042
↓ 2 callers
Function
calc_lnleaf
common/bolt12_merkle.c:90
↓ 2 callers
Function
calc_max_close_feerate
lightningd/closing_control.c:205
↓ 2 callers
Function
calc_weight
channeld/channeld.c:3373
↓ 2 callers
Method
call
(self, method, payload=None, cmdprefix=None, filter=None)
contrib/pyln-testing/pyln/testing/utils.py:850
↓ 2 callers
Function
call_createinvoicerequest
plugins/offers_offer.c:669
↓ 2 callers
Method
call_raw_request
A low level method to call raw requests This method is private by intention. The caller is (implicitly) providing the `id` of the JsonRpcRequest. Thi
cln-rpc/src/lib.rs:224
↓ 2 callers
Function
can_opener_afford_feerate
channeld/full_channel.c:1342
↓ 2 callers
Function
can_upgrade
v9 added the GOSSIP_STORE_LEN_RATELIMIT_BIT. * v10 removed any remaining non-htlc-max channel_update. * v11 mandated channel_updates use the htlc_ma
gossipd/gossip_store.c:94
↓ 2 callers
Function
cancel_channel_before_broadcast
lightningd/channel_control.c:2242
↓ 2 callers
Function
cap_header
We truncate genuinely giant messages */
lightningd/log.c:267
↓ 2 callers
Function
chain_event_description
plugins/bkpr/descriptions.c:300
↓ 2 callers
Function
chain_mvt_index_created
Generated stub for chain_mvt_index_created */
wallet/test/run-db.c:45
↓ 2 callers
Function
chainparams_by_lightning_hrp
bitcoin/chainparams.c:237
↓ 2 callers
Function
chan
(n)
tests/test_opening.py:1799
↓ 2 callers
Function
chan2ptrint
common/gossmap.c:237
↓ 2 callers
Function
chan_extra_can_send
plugins/renepay/chan_extra.c:291
↓ 2 callers
Function
chan_iter
common/gossmap.c:1585
↓ 2 callers
Function
change_fee
bitcoin/tx.c:967
↓ 2 callers
Function
change_for_emergency
Returns false if it needed to create change, but couldn't afford. */
wallet/reservation.c:443
↓ 2 callers
Function
change_scid
You must call scid_updated after this! */
lightningd/channel_control.c:832
↓ 2 callers
Function
chanmap_remove
lightningd/channel.c:275
↓ 2 callers
Function
channel_already_dying
gossipd/gossmap_manage.c:407
↓ 2 callers
Function
channel_amount_receivable
lightningd/peer_control.c:948
↓ 2 callers
Function
channel_amount_spendable
lightningd/peer_control.c:908
↓ 2 callers
Function
channel_apply_scid
lightningd/channel_control.c:848
↓ 2 callers
Function
channel_blockheight
common/initial_channel.c:190
↓ 2 callers
Function
channel_event_description
plugins/bkpr/descriptions.c:313
↓ 2 callers
Function
channel_fail_forget
lightningd/channel.c:1204
↓ 2 callers
Function
channel_fail_perm
lightningd/channel.c:1106
↓ 2 callers
Function
channel_fail_saw_onchain
lightningd/channel.c:1183
↓ 2 callers
Function
channel_fallen_behind
lightningd/channel_control.c:1414
↓ 2 callers
Function
channel_for_splice
lightningd/channel_control.c:2315
↓ 2 callers
Function
channel_force_htlcs
channeld/full_channel.c:1624
↓ 2 callers
Function
channel_gossip_channel_reestablished
Peer has connected and successfully reestablished channel. */
lightningd/channel_gossip.c:1220
↓ 2 callers
Function
channel_gossip_got_announcement_sigs
lightningd/channel_gossip.c:982
↓ 2 callers
Function
channel_gossip_init
Initialize channel->channel_gossip state */
lightningd/channel_gossip.c:934
↓ 2 callers
Function
channel_has_anchors
common/initial_channel.c:225
↓ 2 callers
Function
channel_hint_set_add
See header */
plugins/channel_hint.c:120
↓ 2 callers
Function
channel_is_available
plugins/renepay/mcf.c:446
↓ 2 callers
Function
channel_maximum_forward
Let `recv` be the maximum amount this channel can receive, this function * computes the maximum amount this channel can forward `send`. * From BOLT7
plugins/renepay/chan_extra.c:193
↓ 2 callers
Function
channel_on_channel_ready
lightningd/channel_control.c:1185
↓ 2 callers
Function
channel_range
Return deterministic value >= min < max for this channel */
tests/plugins/channeld_fakenet.c:131
↓ 2 callers
Function
channel_state_can_remove_htlc
Can this channel remove an HTLC? */
lightningd/channel.h:547
↓ 2 callers
Function
channel_state_can_setchannel
lightningd/peer_control.c:3797
↓ 2 callers
Function
channel_state_name
Generated stub for channel_state_name */
wallet/test/run-db.c:71
↓ 2 callers
Function
channel_state_pre_open
lightningd/channel.h:662
↓ 2 callers
Function
channel_type_anchor_outputs_obsolete
common/channel_type.c:42
↓ 2 callers
Function
channel_type_name
Return an array of feature strings indicating channel type. */
common/channel_type.c:171
↓ 2 callers
Function
channel_type_none_obsolete
These can still exist in the database */
common/channel_type.c:15
↓ 2 callers
Function
channel_type_set_scid_alias
common/channel_type.c:59
↓ 2 callers
Function
channel_type_set_zeroconf
common/channel_type.c:53
↓ 2 callers
Function
channel_update_feerates
lightningd/channel_control.c:79
↓ 2 callers
Function
channel_update_reserve
lightningd/dual_open_control.c:1315
↓ 2 callers
Function
channel_update_same
lightningd/gossip_generation.c:169
↓ 2 callers
Function
channel_watch_depth
lightningd/peer_control.c:2641
↓ 2 callers
Function
channel_watch_funding_out
lightningd/peer_control.c:2793
↓ 2 callers
Function
channel_watch_wrong_funding
lightningd/peer_control.c:2783
↓ 2 callers
Function
channelseq
wallet/test/run-wallet.c:1253
↓ 2 callers
Function
check_balances
Returns the total channel funding output amount if all checks pass. * Otherwise, exits via peer_failed_warn. * Note: Should only be called before ad
channeld/channeld.c:3497
↓ 2 callers
Function
check_balances
openingd/dualopend.c:748
↓ 2 callers
Function
check_cltv
BOLT #4: * * - if it is not the final node: * - MUST return an error if: * ... * - `cltv_expiry` - `cltv_expiry_delta` < `outgoing_c
lightningd/peer_htlcs.c:418
↓ 2 callers
Function
check_distinct
* Make sure 2 sequential items in @params are not equal (based on * provided comparator). */
common/json_param.c:221
↓ 2 callers
Function
check_duplicate_inflight
lightningd keys inflights by funding txid, so a splice tx which * reuses the txid of one we already have (e.g. an RBF that rebuilt an * identical tx
channeld/channeld.c:2070
↓ 2 callers
Function
check_fail
common/test/run-param.c:30
↓ 2 callers
Function
check_fee_inequality
Checks BOLT 7 HTLC fee condition: * recv >= base_fee + (send*proportional_fee)/1000000 */
plugins/renepay/chan_extra.c:139
↓ 2 callers
Function
check_funding_feerate
openingd/dualopend.c:3507
↓ 2 callers
Function
check_graceful_shutdown_progress
lightningd/peer_control.c:3331
↓ 2 callers
Function
check_invoice_request_usage
lightningd/pay.c:795
← previous
next →
2,701–2,800 of 16,782, ranked by callers