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
make_rune
tools/lightning-hsmtool.c:614
↓ 1 callers
Function
make_segments
common/splice_script.c:1793
↓ 1 callers
Function
make_v0_hop
common/sphinx.c:130
↓ 1 callers
Function
make_wallet
plugins/spender/splice.c:619
↓ 1 callers
Function
map_init
Helpers to keep counters in sync with maps! */
gossipd/gossmap_manage.c:213
↓ 1 callers
Function
map_node_error
(nodes, f, msg)
contrib/pyln-testing/pyln/testing/fixtures.py:580
↓ 1 callers
Method
mark_tlv
(self, tlv)
tools/generate-wire.py:372
↓ 1 callers
Function
marshall_htlc_info
Convert changed htlcs into parts which lightningd expects. */
channeld/channeld.c:1704
↓ 1 callers
Function
match
(node, query, invoice)
tests/test_invoices.py:645
↓ 1 callers
Function
match_inv_condition
Returns the parameter name and set *invf, or NULL */
lightningd/runes.c:727
↓ 1 callers
Function
match_psbt_outputs_to_wallet
wallet/walletrpc.c:748
↓ 1 callers
Function
matches_cltv
wscript for *received* htlcs (ie. our htlcs in their commit tx, or their * htlcs in our commit tx) includes cltv, so they must be the same for all *
onchaind/onchaind.c:2091
↓ 1 callers
Function
matchup_events
(u_set, evs, chans, tag_list)
tests/utils.py:257
↓ 1 callers
Function
max_cltv
plugins/xpay/test/run-onion_budget.c:80
↓ 1 callers
Function
max_out
The upper bounds onion_budget() promises to cover (saturating, like it). */
plugins/xpay/test/run-onion_budget.c:72
↓ 1 callers
Function
maybe_chain_income
plugins/bkpr/incomestmt.c:114
↓ 1 callers
Function
maybe_channel_income
plugins/bkpr/incomestmt.c:220
↓ 1 callers
Function
maybe_cleanup_last_inflight
lightningd/channel.c:132
↓ 1 callers
Function
maybe_closeout_external_deposits
plugins/bkpr/recorder.c:582
↓ 1 callers
Function
maybe_create_new_hsm
~ We store our root secret in a "hsm_secret" file (like all of Core Lightning, * we run in the user's .lightning directory). * * NOTE: This functio
hsmd/hsmd.c:389
↓ 1 callers
Function
maybe_create_new_scb
checks if the SCB file exists, creates a new one in case it doesn't. */
plugins/chanbackup.c:189
↓ 1 callers
Function
maybe_create_query_responses
We are fairly careful to avoid the peer DoSing us with channel queries: * this routine creates messages about a single short_channel_id, unless * it
connectd/queries.c:126
↓ 1 callers
Function
maybe_create_range_response
~ When we need to send an array of channels, it might go over our 64k packet * size. But because we use compression, we can't actually tell how much
connectd/queries.c:672
↓ 1 callers
Function
maybe_encode_9
common/bolt11.c:1227
↓ 1 callers
Function
maybe_fire_scid_watch
Fire watch_found for a scid watch anchored to this block. */
plugins/bwatch/bwatch_scanner.c:163
↓ 1 callers
Function
maybe_gossip_msg
Gossip response or something from gossip store */
connectd/multiplex.c:698
↓ 1 callers
Function
maybe_mark_offer_used
If there's an associated offer, mark it used. */
wallet/invoices.c:571
↓ 1 callers
Function
maybe_notify_log
lightningd/log.c:622
↓ 1 callers
Function
maybe_notify_new_external_send
wallet/walletrpc.c:991
↓ 1 callers
Method
maybe_parse
(cls, msg: bytes)
contrib/pyln-testing/pyln/testing/gossip.py:39
↓ 1 callers
Function
maybe_print
lightningd/log.c:606
↓ 1 callers
Function
maybe_record_rebalance
plugins/bkpr/recorder.c:536
↓ 1 callers
Function
maybe_record_rebalance
Generated stub for maybe_record_rebalance */
plugins/bkpr/test/run-currencyrate_str.c:326
↓ 1 callers
Function
maybe_rotate_gossipers
gossipd/seeker.c:977
↓ 1 callers
Function
maybe_subd_child
lightningd/subd.c:24
↓ 1 callers
Function
maybe_update_account
plugins/bkpr/account.c:165
↓ 1 callers
Function
maybe_update_onchain_fees
plugins/bkpr/onchain_fee.c:512
↓ 1 callers
Function
measure_least_cost
devtools/topology.c:157
↓ 1 callers
Function
median_conversion
(amount, rateslist)
tests/test_currencyrate.py:35
↓ 1 callers
Function
median_rate
(rateslist)
tests/test_currencyrate.py:42
↓ 1 callers
Function
mem_under_valgrind
ccan/ccan/mem/mem.c:10
↓ 1 callers
Function
membuf_added_
ccan/ccan/membuf/membuf.h:148
↓ 1 callers
Function
membuf_prepare_space_
ccan/ccan/membuf/membuf.c:19
↓ 1 callers
Function
membuf_space_
ccan/ccan/membuf/membuf.h:133
↓ 1 callers
Function
memcount
devtools/topology.c:90
↓ 1 callers
Function
memleak_get
common/memleak.c:231
↓ 1 callers
Function
memleak_init
common/memleak.c:364
↓ 1 callers
Function
memleak_remove_globals
onchaind/onchaind.c:1690
↓ 1 callers
Function
mempbrk
* mempbrk - locates the first occurrence in @data of any bytes in @accept * @data: where we search * @len: length of data in bytes * @accept: NUL t
ccan/ccan/mem/mem.h:64
↓ 1 callers
Function
memswap
ccan/ccan/mem/mem.c:84
↓ 1 callers
Function
merge_intervals
Merge overlapping/adjacent [start, end) intervals.
devtools/bolt-coverage.py:131
↓ 1 callers
Function
merge_maps_disjoint
( base: &mut serde_json::Map<String, serde_json::Value>, other: serde_json::Map<String, serde_json::Va
plugins/rest-plugin/src/handlers.rs:446
↓ 1 callers
Function
merkle_n1
common/test/run-bolt12_merkle.c:120
↓ 1 callers
Function
merkle_recurse
common/bolt12_merkle.c:163
↓ 1 callers
Method
method
(&self)
cln-rpc/src/model.rs:452
↓ 1 callers
Function
mfc_cleanup_fc
Cleans up a `fundchannel_start` by doing `fundchannel_cancel` on the node. */
plugins/spender/multifundchannel.c:223
↓ 1 callers
Function
mfc_cleanup_oc
Cleans up a `openchannel_init` by doing `openchannel_abort` for the channel*/
plugins/spender/multifundchannel.c:206
↓ 1 callers
Function
mfc_cleanup_psbt
Cleans up a txid by doing `txdiscard` on it. */
plugins/spender/multifundchannel.c:197
↓ 1 callers
Function
mfc_err_raw
Use this instead of command_err_raw. */
plugins/spender/multifundchannel.c:388
↓ 1 callers
Function
mfc_psbt_acquired
plugins/spender/multifundchannel.c:1192
↓ 1 callers
Function
midpoint
()
tests/test_currencyrate.py:158
↓ 1 callers
Function
migrate_initialize_forwards_wait_indexes
wallet/db.c:833
↓ 1 callers
Function
migrate_remove_chain_moves_duplicates
When we imported from accounts.db, we always used a reference into * the move_accounts table (via account_nonchannel_id). But (on * replay) if a ch
wallet/wallet.c:7887
↓ 1 callers
Function
migrate_setup_coinmoves
An existing node without accounting. Fill in what we have so far. */
wallet/wallet.c:7749
↓ 1 callers
Function
missing_field
(field: &str)
cln-grpc/src/convert.rs:7466
↓ 1 callers
Function
mkgossip
connectd/test/run-gossip_rcvd_filter.c:11
↓ 1 callers
Function
mkheap
common/dijkstra.c:72
↓ 1 callers
Function
mnemonic_from_seed
(seed)
contrib/pyln-testing/pyln/testing/utils.py:702
↓ 1 callers
Function
mock_getblockfrompeer
(error=False, release_after=0)
tests/test_misc.py:211
↓ 1 callers
Function
monkey_patch
Monkey patch stderr and stdout so we use notifications instead. A plugin commonly communicates with lightningd over its stdout and stdin file
contrib/pyln-client/pyln/client/plugin.py:1086
↓ 1 callers
Function
most_recent_filteredblock_call
Find the pending call for the highest block height: we prefer to * satisfy the most recent request first, since it's usually the most * urgent (e.g.
lightningd/bitcoind.c:784
↓ 1 callers
Function
move_fd
Carefully move fd *@from to @to: on success *from set to to */
lightningd/subd.c:35
↓ 1 callers
Function
move_matches
(exp, mv)
tests/utils.py:80
↓ 1 callers
Function
move_prerecover_files
We cannot --recover unless these files are not in place. */
lightningd/jsonrpc.c:261
↓ 1 callers
Method
msat
(&self)
cln-rpc/src/primitives.rs:191
↓ 1 callers
Function
msat_or_any
plugins/offers_offer.c:16
↓ 1 callers
Function
msg_key
We stash raw integers into ptrs, but leave two bits for htable code to use. */
connectd/gossip_rcvd_filter.c:8
↓ 1 callers
Function
msg_map_remove
htable is fast, but it's also horribly manual. */
connectd/gossip_rcvd_filter.c:127
↓ 1 callers
Function
msg_out_dev_disconnect
--dev-disconnect can do magic things: if this returns non-NULL, free msg and do that */
connectd/multiplex.c:438
↓ 1 callers
Function
msg_send_next
lightningd/subd.c:672
↓ 1 callers
Method
msgfield_from_csv
e.g msgdata,open_channel,temporary_channel_id,byte,32[,opt]
contrib/pyln-proto/pyln/proto/message/message.py:388
↓ 1 callers
Method
msgtype_from_csv
e.g msgtype,open_channel,32,option_foo
contrib/pyln-proto/pyln/proto/message/message.py:377
↓ 1 callers
Function
multifundchannel_channel_ids2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1764
↓ 1 callers
Function
multifundchannel_failed2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1780
↓ 1 callers
Function
multiplex_peer_setup
connectd/multiplex.c:1779
↓ 1 callers
Function
multiply_gf32
common/codex32.c:104
↓ 1 callers
Function
mvt_tag_is_primary
common/test/run-coin_mvt.c:135
↓ 1 callers
Function
mvt_tag_strs
common/coin_mvt.c:634
↓ 1 callers
Function
mw_get_change_addr
plugins/spender/multiwithdraw.c:500
↓ 1 callers
Function
mw_sign_and_send
plugins/spender/multiwithdraw.c:630
↓ 1 callers
Function
my_alloc
ccan/ccan/tal/test/run-count.c:8
↓ 1 callers
Function
my_command_finish
plugins/renepay/payment.c:290
↓ 1 callers
Function
my_free
ccan/ccan/tal/test/run-count.c:15
↓ 1 callers
Function
my_read
connectd/test/run-websocket.c:19
↓ 1 callers
Function
my_write
connectd/test/run-websocket.c:33
↓ 1 callers
Function
myscanf
plugins/askrene/test/run-mcf-large.c:19
↓ 1 callers
Function
naive_can_derive
As per design.txt */
ccan/ccan/crypto/shachain/test/run-can_derive.c:16
↓ 1 callers
Method
name_and_val
This is overridden by LengthFieldType to return nothing
contrib/pyln-proto/pyln/proto/message/message.py:589
↓ 1 callers
Function
namelen
Random string of required length */
ccan/ccan/tal/benchmark/samba-allocs.c:78
↓ 1 callers
Function
negotiated_close_fee
The fee closingd negotiated is what it took off our output (we only * bound the fee when we are the opener, and the opener pays it). The * transact
lightningd/closing_control.c:228
← previous
next →
6,401–6,500 of 16,782, ranked by callers