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
bitcoin_tx
bitcoin/tx.c:517
↓ 1 callers
Function
bitcoin_tx_compute_fee_w_inputs
bitcoin/tx.c:119
↓ 1 callers
Function
bitcoin_tx_input_set_outpoint
bitcoin/tx.c:397
↓ 1 callers
Function
bitcoin_tx_input_set_script
bitcoin/tx.c:365
↓ 1 callers
Function
bitcoin_txid
We used to have beautiful, optimal code which fed the tx parts directly * into sha256_update(). But that was before libwally; but now we don't have
bitcoin/tx.c:506
↓ 1 callers
Function
bitcoin_witness_p2wpkh
bitcoin/script.c:252
↓ 1 callers
Function
bitcoind_check_commands
lightningd/bitcoind.c:76
↓ 1 callers
Function
bitcoind_failure
plugins/bcli.c:736
↓ 1 callers
Function
bitmap_clear_bit
ccan/ccan/bitmap/bitmap.h:66
↓ 1 callers
Function
bitmap_clz
ccan/ccan/bitmap/bitmap.c:62
↓ 1 callers
Function
bitmap_realloc0
ccan/ccan/bitmap/bitmap.h:223
↓ 1 callers
Function
bitmap_realloc1
ccan/ccan/bitmap/bitmap.h:234
↓ 1 callers
Function
bitmap_to_blacklist
lightningd/runes.c:193
↓ 1 callers
Function
bitops_ffs32
ccan/ccan/bitops/bitops.c:8
↓ 1 callers
Function
bitops_ffs64
ccan/ccan/bitops/bitops.c:17
↓ 1 callers
Function
bitops_hc32
* bitops_hc32: find highest clear bit in a uint32_t (must not be 0xFFFFFFFF) * * Returns 0 for least significant bit, 31 for most significant bit.
ccan/ccan/bitops/bitops.h:180
↓ 1 callers
Function
bitops_hc64
* bitops_hc64: find highest clear bit in a uint64_t (must not be 0xFFFFFFFFFFFFFFFF) * * Returns 0 for least significant bit, 63 for most significan
ccan/ccan/bitops/bitops.h:190
↓ 1 callers
Function
bitops_hs32
* bitops_hs32: find highest 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:138
↓ 1 callers
Function
bitops_lc32
* bitops_lc32: find lowest clear bit in a uint32_t (must not be 0xFFFFFFFF) * * Returns 0 for least significant bit, 31 for most significant bit. *
ccan/ccan/bitops/bitops.h:160
↓ 1 callers
Function
bitops_lc64
* bitops_lc64: find lowest clear bit in a uint64_t (must not be 0xFFFFFFFFFFFFFFFF) * * Returns 0 for least significant bit, 63 for most significant
ccan/ccan/bitops/bitops.h:170
↓ 1 callers
Function
bkpr_channelsapy_channels_apy2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2750
↓ 1 callers
Function
bkpr_editdescriptionbyoutpoint_updated2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2922
↓ 1 callers
Function
bkpr_editdescriptionbypaymentid_updated2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2895
↓ 1 callers
Function
bkpr_inspect_txs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2806
↓ 1 callers
Function
bkpr_inspect_txs_outputs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2790
↓ 1 callers
Function
bkpr_listaccountevents_events2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2821
↓ 1 callers
Function
bkpr_listbalances_accounts2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2856
↓ 1 callers
Function
bkpr_listbalances_accounts_balances2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2849
↓ 1 callers
Function
bkpr_listincome_income_events2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2874
↓ 1 callers
Function
blacklist_to_bitmap
lightningd/runes.c:183
↓ 1 callers
Function
blacklistrune_blacklist2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2955
↓ 1 callers
Function
blind_node
Blinds node_id and calculates next blinding factor. */
common/blindedpath.c:17
↓ 1 callers
Function
blinded_path_dup
plugins/offers.c:224
↓ 1 callers
Function
blinding_next_path_privkey
e(i+1) = H(E(i) || ss(i)) * e(i) */
common/blinding.c:33
↓ 1 callers
Function
block_added_notification_serialize
lightningd/notification.c:558
↓ 1 callers
Function
block_reading
ccan/ccan/io/test/run-40-wakeup-mutual.c:10
↓ 1 callers
Function
blockheight_incstate
channeld/full_channel.c:1159
↓ 1 callers
Function
blocknum_reduce
Subtract, but floored at 0 */
lightningd/chaintopology.c:1455
↓ 1 callers
Function
bolt12_chain_matches
common/bolt12.c:259
↓ 1 callers
Function
bolt12_has_invoice_prefix
common/bolt12.c:931
↓ 1 callers
Function
bolt12_has_request_prefix
common/bolt12.c:936
↓ 1 callers
Function
bool_jsonfmt
plugins/libplugin.c:1727
↓ 1 callers
Function
bounded_datum_len
Iteratively count the tokens in the first datum of toks[], rejecting * anything nested deeper than JSON_MAX_NESTING. On success sets *len to the *
common/json_parse_simple.c:215
↓ 1 callers
Function
brute_force_first
FIXME: Suboptimal */
ccan/ccan/timer/timer.c:227
↓ 1 callers
Function
bswap_16
* bswap_16 - reverse bytes in a uint16_t value. * @val: value whose bytes to swap. * * Example: * // Output contains "1024 is 4 as two bytes rever
ccan/ccan/endian/endian.h:71
↓ 1 callers
Function
bswap_32
* bswap_32 - reverse bytes in a uint32_t value. * @val: value whose bytes to swap. * * Example: * // Output contains "1024 is 262144 as four bytes
ccan/ccan/endian/endian.h:84
↓ 1 callers
Function
bswap_64
* bswap_64 - reverse bytes in a uint64_t value. * @val: value whose bytes to swap. * * Example: * // Output contains "1024 is 1125899906842624 as
ccan/ccan/endian/endian.h:100
↓ 1 callers
Function
budget_of
(line)
tests/test_xpay.py:1624
↓ 1 callers
Function
build_filter
Recursively populate filter. NULL on success. * * Example for listtransactions to include output type, amount_msat, * {"transactions": [{"output
common/json_filter.c:200
↓ 1 callers
Function
build_path
Build an onion like create_onion() does: n forwarding payloads (amounts * and cltvs at or below the bounds, or exactly at them if worst), then the *
plugins/xpay/test/run-onion_budget.c:89
↓ 1 callers
Function
build_utxopsbt_request
plugins/funder.c:577
↓ 1 callers
Function
bump_psbt
()
tests/test_opening.py:1802
↓ 1 callers
Method
buy
( &self, peer: &PublicKey, opening_fee_params: OpeningFeeParams, payment_size_
plugins/lsps-plugin/src/core/client.rs:49
↓ 1 callers
Function
bwatch_add_block_to_datastore
plugins/bwatch/bwatch_store.c:191
↓ 1 callers
Function
bwatch_add_block_to_history
plugins/bwatch/bwatch_store.c:214
↓ 1 callers
Function
bwatch_check_blockdepth_watches
Fire depth notifications for every active blockdepth watch. * A watch with start_block > new_height is stale: its confirming block * was reorged awa
plugins/bwatch/bwatch_scanner.c:249
↓ 1 callers
Function
bwatch_check_scid_watches
plugins/bwatch/bwatch_scanner.c:204
↓ 1 callers
Function
bwatch_delete_block_from_datastore
plugins/bwatch/bwatch_store.c:230
↓ 1 callers
Function
bwatch_delete_watch_from_datastore
plugins/bwatch/bwatch_store.c:465
↓ 1 callers
Function
bwatch_load_block_history
plugins/bwatch/bwatch_store.c:256
↓ 1 callers
Function
bwatch_load_watches_from_datastore
plugins/bwatch/bwatch_store.c:485
↓ 1 callers
Function
bwatch_notify_reorg_watches
Send watch_revert for every owner affected by losing @removed_height. */
plugins/bwatch/bwatch.c:83
↓ 1 callers
Function
bwatch_remove_watch_from_hash
plugins/bwatch/bwatch_store.c:140
↓ 1 callers
Function
bwatch_send_blockdepth_found
Send a blockdepth depth notification to lightningd: same watch_found * RPC shape but with depth + blockheight only (no tx). */
plugins/bwatch/bwatch_interface.c:65
↓ 1 callers
Function
bwatch_send_revert_block_processed
Notify watchman that a block was rolled back so it can update and persist * its tip. Fire-and-forget via aux_command — the poll timer doesn't depend
plugins/bwatch/bwatch_interface.c:187
↓ 1 callers
Function
bwatch_send_watch_revert
Tell one owner that a previously-reported watch_found was rolled back. */
plugins/bwatch/bwatch_interface.c:91
↓ 1 callers
Function
bwatch_start_rescan
plugins/bwatch/bwatch.c:404
↓ 1 callers
Function
cache_param
lightningd/runes.c:713
↓ 1 callers
Function
calc_apy
plugins/bkpr/channelsapy.c:238
↓ 1 callers
Function
calc_balance
channeld/channeld.c:3440
↓ 1 callers
Function
calc_capacity
We determine capacity for one side, then we derive the other side. * Reservations, however, do *not* credit the other side, since * they're htlcs in
tests/plugins/channeld_fakenet.c:628
↓ 1 callers
Function
calc_channel_state_max
common/test/run-channel_type.c:121
↓ 1 callers
Function
calc_commitsigs
Returns HTLC sigs, sets commit_sig. Also used for making commitsigs for each * splice awaiting on-chain confirmation. */
channeld/channeld.c:1061
↓ 1 callers
Function
calc_fee
channeld/test/run-commit_tx.c:421
↓ 1 callers
Function
calc_fee_bounds
Get the minimum and desired fees */
closingd/closingd.c:610
↓ 1 callers
Function
calc_feerate
wallet/wallet.c:627
↓ 1 callers
Function
calc_forwarding_channel
Figures out how to fwd, allocating return off hp */
lightningd/peer_htlcs.c:1398
↓ 1 callers
Function
calc_in_ppm_and_fee
Because wallets increase the fee paying for the fee (due to inputs * increasing transaction size), this process must be inherently recursive. *
plugins/spender/splice.c:337
↓ 1 callers
Function
calc_leaf_pair
Compute the leaf-pair hash for a TLV field: merkle_pair(H("LnLeaf",f), nonce) */
common/bolt12_merkle.c:120
↓ 1 callers
Function
calc_maxfee
xpay doesn't have maxfeepercent or exemptfee, so we convert them to * an absolute restriction here. If we can't, fail and let pay handle * it. */
plugins/xpay/xpay.c:3481
↓ 1 callers
Function
calc_tx_fee
lightningd/closing_control.c:173
↓ 1 callers
Function
calc_weight
plugins/spender/splice.c:864
↓ 1 callers
Function
calculate_amounts
common/splice_script.c:2274
↓ 1 callers
Function
calculate_checksum
common/codex32.c:178
↓ 1 callers
Function
calculate_onchain_fee_sums
plugins/bkpr/onchain_fee.c:388
↓ 1 callers
Function
calculate_reserve
lightningd/dual_open_control.c:1291
↓ 1 callers
Method
call_enum
Performs an rpc-call
cln-rpc/src/lib.rs:279
↓ 1 callers
Function
call_memleak_helpers
Handle allocations marked with helpers or notleak() */
common/memleak.c:322
↓ 1 callers
Function
call_plugin_timer
plugins/libplugin.c:1778
↓ 1 callers
Function
camel_to_snake
(camel_case: str)
contrib/msggen/msggen/gen/grpc/util.py:80
↓ 1 callers
Function
can_close_range
Linux >= 5.9 */
ccan/ccan/closefrom/closefrom.c:65
↓ 1 callers
Function
can_get_maxfd
ccan/ccan/closefrom/closefrom.c:51
↓ 1 callers
Function
can_open_dev_fd
On FreeBSD and MacOS. */
ccan/ccan/closefrom/closefrom.c:92
↓ 1 callers
Function
can_open_proc_pid_fd
On Linux, Solaris, AIX, Cygwin, and NetBSD. */
ccan/ccan/closefrom/closefrom.c:78
↓ 1 callers
Function
cancel_after_fundchannel_complete_success
cancel_after_fundchannel_complete_success * * @brief Called to cancel a `fundchannel` after * a `fundchannel_complete` succeeds. * * @desc Specif
lightningd/opening_control.c:277
↓ 1 callers
Function
cancel_invoice
plugins/offers_invreq_hook.c:413
↓ 1 callers
Function
cancelrecurringinvoice_done
plugins/fetchinvoice.c:455
↓ 1 callers
Function
canonical_method
invokerune and destroyrune are aliases - a rune must see the command that actually runs, or "method/createrune" is bypassed by the alias */
lightningd/runes.c:1004
↓ 1 callers
Function
capacity_bias
common/test/run-route-infloop.c:55
↓ 1 callers
Function
capacity_bias
Rene Pickhardt: * * Btw the linear term of the Taylor series of -log((c+1-x)/(c+1)) is 1/(c+1) * meaning that another suitable Weight for Dijkstra
plugins/libplugin-pay.c:743
← previous
next →
4,401–4,500 of 16,782, ranked by callers