Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,250 in github.com/ElementsProject/lightning
⨍
Functions
16,250
◇
Types & classes
10,838
↳
Endpoints
71
↓ 5 callers
Function
get_type
May allocate a new type if not already found (steals @name) */
ccan/ccan/cdump/cdump.c:212
↓ 5 callers
Method
getroute
Show route to {id} for {amount_msat}, using {riskfactor} and optional {cltv} (default 9). If specified search from {fromid} otherwise
contrib/pyln-client/pyln/client/lightning.py:877
↓ 5 callers
Function
getroutes_for
plugins/xpay/xpay.c:1799
↓ 5 callers
Function
gossip_store_len_written
gossipd/gossip_store.c:672
↓ 5 callers
Function
gossip_store_set_flag
Returns offset of following entry (i.e. after its header). */
gossipd/gossip_store.c:572
↓ 5 callers
Function
gossmap_chan_is_dying
common/gossmap.c:1462
↓ 5 callers
Function
grab_fd_str
ccan/ccan/tal/grab_file/grab_file.c:74
↓ 5 callers
Function
guide_consume_one
common/json_parse.c:239
↓ 5 callers
Function
guide_must_be
common/json_parse.c:246
↓ 5 callers
Method
handle_buy
( &self, peer_id: PublicKey, request: Lsps2BuyRequest, )
plugins/lsps-plugin/src/core/lsps2/handler.rs:350
↓ 5 callers
Method
handle_get_info
( &self, request: Lsps2GetInfoRequest, )
plugins/lsps-plugin/src/core/lsps2/service.rs:69
↓ 5 callers
Function
has_announce_depth
lightningd/channel_gossip.c:234
↓ 5 callers
Function
hash
We use the number divided by two as the hash (for lots of collisions), plus set all the higher bits so we can detect if they don't get masked ou
ccan/ccan/htable/test/run-debug.c:16
↓ 5 callers
Function
hash_u5_done
common/hash_u5.c:40
↓ 5 callers
Function
hash_u5_init
common/hash_u5.c:6
↓ 5 callers
Function
height_states_valid
FIXME: we don't know opener inside fromwire_height_states, so can't do * this there :( */
common/blockheight_states.c:111
↓ 5 callers
Function
hkdf
(ikm, salt=b"", info=b"")
contrib/pyln-proto/pyln/proto/wire.py:28
↓ 5 callers
Function
htlc_has
channeld/channeld_htlc.h:39
↓ 5 callers
Function
htlc_in_update_state
lightningd/peer_htlcs.c:54
↓ 5 callers
Function
init_reply
onchaind/onchaind.c:1721
↓ 5 callers
Function
initial_channel_tx
FIXME: We could cache this. */
common/initial_channel.c:88
↓ 5 callers
Function
invoice_offer_id
common/bolt12.c:731
↓ 5 callers
Function
invoices_find_by_label
Generated stub for invoices_find_by_label */
lightningd/test/run-invoice-select-inchan.c:386
↓ 5 callers
Function
invreq_recurrence
common/bolt12.c:887
↓ 5 callers
Function
io_loop_with_timers
lightningd/io_loop_with_timers.c:8
↓ 5 callers
Function
is_channel_account
common/coin_mvt.h:332
↓ 5 callers
Method
is_local_channel_active
Is the local channel @scid usable?
contrib/pyln-testing/pyln/testing/utils.py:1314
↓ 5 callers
Function
is_p2pkh
(currency, prefix)
contrib/pyln-proto/pyln/proto/invoice.py:130
↓ 5 callers
Function
is_wallet_account
There are three standard accounts: * "wallet" for our internal wallet, * "external" for other bitcoin sources, * <channelid> for lightning channels
common/coin_mvt.h:322
↓ 5 callers
Function
isaac_next_uint32
ccan/ccan/isaac/isaac.c:134
↓ 5 callers
Function
json_add_invoice_fields
lightningd/invoice.c:41
↓ 5 callers
Function
json_add_jsonrpc_errcode
common/json_stream.c:406
↓ 5 callers
Function
json_add_lease_rates
common/json_stream.c:671
↓ 5 callers
Function
json_escape_unescape_len
ccan/ccan/json_escape/json_escape.c:208
↓ 5 callers
Function
json_out_add_splice
ccan/ccan/json_out/json_out.c:325
↓ 5 callers
Function
json_stream_append
common/json_stream.c:86
↓ 5 callers
Function
json_stream_attach_filter
common/json_stream.c:43
↓ 5 callers
Function
json_strfield
common/test/run-onion-message-test.c:78
↓ 5 callers
Function
json_to_outpoint
common/json_parse.c:611
↓ 5 callers
Function
json_to_preimage
common/json_parse.c:658
↓ 5 callers
Function
json_to_s64
Generated stub for json_to_s64 */
common/test/run-bolt11.c:101
↓ 5 callers
Function
jsonrpc_io_new
common/jsonrpc_io.c:22
↓ 5 callers
Function
jsonrpc_stream_fail
plugins/libplugin.c:452
↓ 5 callers
Function
layer_name
plugins/askrene/layer.c:865
↓ 5 callers
Function
lightningd_deprecated_out_ok
Do we output this field? */
lightningd/lightningd.c:1017
↓ 5 callers
Function
list_check_node
ccan/ccan/list/list.c:20
↓ 5 callers
Function
log_level_parse
common/status_levels.c:30
↓ 5 callers
Function
map_u8
common/gossmap.c:130
↓ 5 callers
Function
mlock_tal_memory
common/utils.c:101
↓ 5 callers
Function
msg_queue_new
common/msg_queue.c:37
↓ 5 callers
Function
new_chain_coin_mvt
common/coin_mvt.c:282
↓ 5 callers
Function
new_channel_coin_mvt
common/coin_mvt.c:267
↓ 5 callers
Function
new_channel_open_attempt
lightningd/channel.c:244
↓ 5 callers
Function
new_full_channel
channeld/full_channel.c:74
↓ 5 callers
Function
new_peer_fd
lightningd/peer_fd.c:12
↓ 5 callers
Function
new_per_peer_state
common/per_peer_state.c:15
↓ 5 callers
Function
node_id_valid
It's valid if we can convert to a real pubkey. */
common/node_id.c:30
↓ 5 callers
Function
notification_handled
Generated stub for notification_handled */
plugins/test/run-decode_guess_type.c:173
↓ 5 callers
Function
notify_channel_state_changed
lightningd/notification.c:329
↓ 5 callers
Function
offer_status_used
wallet/wallet.h:1465
↓ 5 callers
Function
onchain_annotate_txin
onchaind/onchaind.c:1170
↓ 5 callers
Function
one_refresh_done
Recursion */
plugins/sql.c:569
↓ 5 callers
Function
onion_nonfinal_hop
common/onion_encode.c:35
↓ 5 callers
Method
openchannel_init
Initiate an openchannel with a peer
contrib/pyln-client/pyln/client/lightning.py:1208
↓ 5 callers
Function
opening_negotiate_msg
~ Handle random messages we might get during opening negotiation, (eg. gossip) * returning the first non-handled one, or NULL if we aborted negotiati
openingd/dualopend.c:1587
↓ 5 callers
Function
opt_register_table
ccan/ccan/opt/opt.c:198
↓ 5 callers
Function
opt_set_alloc
ccan/ccan/opt/opt.c:306
↓ 5 callers
Function
output_title
Add a title to the output
tools/fromschema.py:15
↓ 5 callers
Function
p2tr_for_keyidx
lightningd/peer_control.c:217
↓ 5 callers
Function
parse_keyword
ccan/ccan/graphql/graphql.c:77
↓ 5 callers
Function
payment_fail
plugins/libplugin-pay.c:2424
↓ 5 callers
Function
penalty_feerate
lightningd/chaintopology.c:676
↓ 5 callers
Function
per_peer_state_set_fd
common/per_peer_state.c:24
↓ 5 callers
Function
plugin_notify_message
Convenience wrapper for notify with "message" */
plugins/libplugin.c:1923
↓ 5 callers
Function
plugin_paths_match
lightningd/plugin.c:390
↓ 5 callers
Function
plugin_register
lightningd/plugin.c:326
↓ 5 callers
Function
priorityqueue_empty
plugins/askrene/child/priorityqueue.c:133
↓ 5 callers
Function
priorityqueue_top
plugins/askrene/child/priorityqueue.c:128
↓ 5 callers
Function
process_json_result
Process top-level JSON result object. * If update is true, ignore entries > td->last_created_index, and * delete before insert. * Put the maximum p
plugins/sql.c:926
↓ 5 callers
Function
propose_resolution_to_master
Modern style: we don't create tx outselves, but tell lightningd. */
onchaind/onchaind.c:654
↓ 5 callers
Function
psbt_compute_fee
bitcoin/psbt.c:1009
↓ 5 callers
Function
psbt_elements_normalize_fees
bitcoin/psbt.c:524
↓ 5 callers
Function
psbt_from_bytes
bitcoin/psbt.c:927
↓ 5 callers
Function
psbt_rm_input
bitcoin/psbt.c:254
↓ 5 callers
Function
psbt_rm_output
bitcoin/psbt.c:294
↓ 5 callers
Function
psbt_sort_by_serial_id
common/psbt_open.c:206
↓ 5 callers
Function
pubkey_cmp
bitcoin/pubkey.c:84
↓ 5 callers
Function
pull
Sets *cursor to NULL and returns NULL when a pull fails. */
bitcoin/block.c:10
↓ 5 callers
Function
pull_bitcoin_tx_only
bitcoin/tx.c:632
↓ 5 callers
Function
push_varlen_uint
Helper for pushing a variable-length big-endian int. */
common/bolt11.c:1065
↓ 5 callers
Method
query_gossip
Generate a gossip query, feed it into this node and get responses in hex
contrib/pyln-testing/pyln/testing/utils.py:1583
↓ 5 callers
Function
random_scid
bitcoin/short_channel_id.c:104
↓ 5 callers
Function
rbuf_start
* rbuf_start - helper to get pointert to unconsumed bytes in rbuf * @rbuf: the struct rbuf */
ccan/ccan/rbuf/rbuf.h:109
↓ 5 callers
Function
read_static_chan_backup
Reads WIRE_STATIC_CHAN_BACKUP and converts from legacy_scb_chan to * modern_scb_chan, if required. */
plugins/chanbackup.c:326
↓ 5 callers
Function
read_stdin_pass
common/hsm_secret.c:428
↓ 5 callers
Function
recurse
ccan/ccan/take/test/run.c:23
↓ 5 callers
Method
recv
(self, length: int)
contrib/pyln-client/pyln/client/lightning.py:286
↓ 5 callers
Method
refresh
Catch up with any changes to the gossip store
contrib/pyln-client/pyln/client/gossmap.py:614
↓ 5 callers
Method
register
(&mut self, method: &'static str, handler: F)
plugins/lsps-plugin/src/core/router.rs:58
↓ 5 callers
Function
reserve_unused_port
Get an unused port: avoids handing out the same port unless it's been returned
contrib/pyln-testing/pyln/testing/utils.py:173
← previous
next →
1,301–1,400 of 16,250, ranked by callers