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
↓ 10 callers
Function
psbt_append_input
bitcoin/psbt.c:198
↓ 10 callers
Function
psbt_final_tx
bitcoin/psbt.c:851
↓ 10 callers
Function
psbt_input_set_wit_utxo
bitcoin/psbt.c:415
↓ 10 callers
Function
psbt_output_set_serial_id
common/psbt_open.c:380
↓ 10 callers
Method
recv
(self, maxlen)
tests/test_opening.py:3720
↓ 10 callers
Function
route_from_dijkstra
common/route.c:121
↓ 10 callers
Function
rpc_scan
Synchronous routine to send command and extract fields from response */
plugins/libplugin.c:843
↓ 10 callers
Function
scriptpubkey_p2wpkh
Create an output script for a 20-byte witness. */
bitcoin/script.c:281
↓ 10 callers
Function
secret_eq_consttime
bitcoin/privkey.c:21
↓ 10 callers
Function
serialize_payload_final_tlv
Encode TLV onion payload for final hop, returns bytes
tests/utils.py:648
↓ 10 callers
Function
shachain_init
ccan/ccan/crypto/shachain/shachain.c:74
↓ 10 callers
Function
sighash_from_merkle
BOLT #12: * All signatures are created as per * [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) * and tagged as recommend
common/bolt12_merkle.c:308
↓ 10 callers
Method
sort
(self)
contrib/msggen/msggen/model.py:334
↓ 10 callers
Function
sphinx_path_new
common/sphinx.c:56
↓ 10 callers
Function
taken_any
ccan/ccan/take/take.c:99
↓ 10 callers
Function
time_from_msec
* time_from_msec - convert milliseconds to a relative time * @msec: time in milliseconds * * Example: * // 1/2 second timeout * #define TIMEOUT t
ccan/ccan/time/time.h:690
↓ 10 callers
Function
timemono_since
* timemono_since - elapsed monotonic time since @old * @old: a monotonic time from the past. */
ccan/ccan/time/time.h:412
↓ 10 callers
Function
towire_amount_msat
common/amount.c:778
↓ 10 callers
Function
towire_u64
Generated stub for towire_u64 */
common/test/run-base64.c:101
↓ 10 callers
Function
unlink_noerr
ccan/ccan/noerr/noerr.c:33
↓ 10 callers
Function
wallet_save_chain_mvt
wallet/wallet.c:7170
↓ 10 callers
Method
write
(self, data)
contrib/pyln-testing/pyln/testing/utils.py:2035
↓ 9 callers
Function
GetByte
The bitcoin code packs addresses backwards, so we map it here. */
connectd/netaddress.c:78
↓ 9 callers
Function
NON_NULL_ARGS
(1, 2, 4, 5)
lightningd/peer_control.c:991
↓ 9 callers
Function
add_number
bitcoin/script.c:69
↓ 9 callers
Function
amount_msat_greater_sat
common/amount.c:488
↓ 9 callers
Function
amount_sat_div
common/amount.c:586
↓ 9 callers
Function
assign_overflow_u32
common/overflows.h:38
↓ 9 callers
Function
b12_string_to_data
common/bolt12.c:323
↓ 9 callers
Function
bip32_pubkey
AUTOGENERATED MOCKS START */ Generated stub for bip32_pubkey */
wallet/test/run-db.c:28
↓ 9 callers
Function
bitcoin_tx_finalize
bitcoin/tx.c:543
↓ 9 callers
Method
call_raw
Low-level API to call the rpc. An interesting choice of `R` and `P` is [`serde_json::Value`] because it allows ad-hoc calls to custom RPC-methods If
cln-rpc/src/lib.rs:171
↓ 9 callers
Function
channel_by_cid
lightningd/channel.c:855
↓ 9 callers
Function
channel_fail_transient
lightningd/channel.c:1362
↓ 9 callers
Method
channel_state
Return the state of the channel to the other node. Returns None if there is no such peer, or a channel hasn't been funded yet.
contrib/pyln-testing/pyln/testing/utils.py:1291
↓ 9 callers
Function
channel_state_in_db
DB wrapper to check channel_state */
wallet/wallet.h:231
↓ 9 callers
Function
check_schnorr_sig
bitcoin/signature.c:408
↓ 9 callers
Function
check_tx_sig
bitcoin/signature.c:194
↓ 9 callers
Function
cisspace
ccan/ccan/str/str.h:152
↓ 9 callers
Function
closefrom
ccan/ccan/closefrom/closefrom.c:28
↓ 9 callers
Function
command_check_done
Generated stub for command_check_done */
wallet/test/run-wallet.c:145
↓ 9 callers
Function
command_check_only
Generated stub for command_check_only */
wallet/test/run-wallet.c:149
↓ 9 callers
Function
command_failed
lightningd/jsonrpc.c:558
↓ 9 callers
Function
command_finished
Generated stub for command_finished */
plugins/bkpr/test/run-format_event.c:42
↓ 9 callers
Function
commit_tx_base_fee
Helper to calculate the base fee if we have this many htlc outputs */
common/initial_commit_tx.h:62
↓ 9 callers
Function
complain
ccan/ccan/cdump/cdump.c:260
↓ 9 callers
Function
create_test_datastore_entry
( peer_id: PublicKey, expected_payment_size: Option<Msat>, )
plugins/lsps-plugin/src/core/lsps2/handler.rs:866
↓ 9 callers
Function
cryptomsg_encrypt_msg
common/cryptomsg.c:154
↓ 9 callers
Function
currencyrate_str
Generated stub for currencyrate_str */
plugins/bkpr/test/run-format_event.c:57
↓ 9 callers
Function
decode
tests/fuzz/fuzz-wire-ping.c:17
↓ 9 callers
Function
derive_basepoints
common/derive_basepoints.c:49
↓ 9 callers
Function
derive_simple_privkey
BOLT #3: * * The corresponding private keys can be similarly derived, if the basepoint * secrets are known (i.e. the private keys corresponding to
common/key_derive.c:73
↓ 9 callers
Method
dev_invoice
Wrapper for rpc.invoice() with dev-routes option
contrib/pyln-testing/pyln/testing/utils.py:1650
↓ 9 callers
Function
encode_scriptpubkey_to_addr
common/addr.c:8
↓ 9 callers
Function
entry_is_valid
ccan/ccan/htable/htable.c:59
↓ 9 callers
Method
filter_nodes
Filter nodes using an arbitrary function or lamda predicate.
contrib/pyln-client/pyln/client/gossmapstats.py:13
↓ 9 callers
Method
find_field
(self, fieldname: str)
contrib/pyln-proto/pyln/proto/message/message.py:164
↓ 9 callers
Function
format_event
plugins/bkpr/report.c:432
↓ 9 callers
Method
from_bytes
(cls, typenum, b, description=None)
contrib/pyln-proto/pyln/proto/onion.py:232
↓ 9 callers
Function
from_tal_hdr
ccan/ccan/tal/tal.c:196
↓ 9 callers
Function
get_blockheight
common/blockheight_states.c:26
↓ 9 callers
Function
get_feerate
Get a single feerate from estimatesmartfee. * Returns NULL on success (feerate stored in *perkb), or error response. */
plugins/bcli.c:564
↓ 9 callers
Function
gossmap_local_updatechan
Insert a local-only channel_update: false if can't represent. */
common/gossmap.c:1135
↓ 9 callers
Function
gossmap_node_announced
Do we have a node_announcement for this onde ? */
common/gossmap.h:186
↓ 9 callers
Function
graph_add_arc
plugins/askrene/child/graph.c:22
↓ 9 callers
Function
graph_new
plugins/askrene/child/graph.c:39
↓ 9 callers
Function
handle_peer_error_or_warning
common/read_peer_msg.c:9
↓ 9 callers
Function
htable_clear
ccan/ccan/htable/htable.c:132
↓ 9 callers
Function
htlc_state_owner
common/htlc.h:51
↓ 9 callers
Function
ignore_output
onchaind/onchaind.c:643
↓ 9 callers
Function
intmap_empty_
ccan/ccan/intmap/intmap.h:117
↓ 9 callers
Function
invoices_get_details
Generated stub for invoices_get_details */
lightningd/test/run-invoice-select-inchan.c:407
↓ 9 callers
Function
invrequest_encode
common/bolt12.c:534
↓ 9 callers
Function
is_prop_hdr
We carefully start all real properties with a zero byte. */
ccan/ccan/tal/tal.c:128
↓ 9 callers
Function
is_taken
ccan/ccan/take/take.c:91
↓ 9 callers
Function
json_add_channel_type
common/json_channel_type.c:34
↓ 9 callers
Function
json_add_jsonstr
common/json_stream.c:223
↓ 9 callers
Function
json_out_obj
plugins/bkpr/test/run-recorder.c:113
↓ 9 callers
Function
json_to_address_scriptpubkey
common/json_param.c:822
↓ 9 callers
Function
json_to_pubkey
common/json_parse.c:543
↓ 9 callers
Function
json_tok_is_null
Generated stub for json_tok_is_null */
common/test/run-bolt11.c:135
↓ 9 callers
Function
jsonrpc_stream_success
Generated stub for jsonrpc_stream_success */
plugins/bkpr/test/run-format_event.c:63
↓ 9 callers
Function
list_check
ccan/ccan/list/list.c:38
↓ 9 callers
Function
log_
lightningd/log.c:733
↓ 9 callers
Function
make_bkpr
plugins/bkpr/test/run-currencyrate_str.c:413
↓ 9 callers
Function
memeqstr
* memeqstr - Is a byte array equal to a NUL terminated string? * @data: byte array * @length: length of @data in bytes * @string: NUL terminated st
ccan/ccan/mem/mem.h:146
↓ 9 callers
Function
merkle_tlv
common/bolt12_merkle.c:284
↓ 9 callers
Function
new_chain_coin_mvt_sat
common/coin_mvt.c:330
↓ 9 callers
Function
new_tracked_output
onchaind/onchaind.c:605
↓ 9 callers
Function
node_adjacency_begin
Used to loop over the arcs that exit a node. * * for example: * * void show(struct graph *graph, struct node node) { * printf("Showing node %" P
plugins/askrene/child/graph.h:122
↓ 9 callers
Function
node_adjacency_next
plugins/askrene/child/graph.h:132
↓ 9 callers
Method
openchannel_abort
Abort a channel open
contrib/pyln-client/pyln/client/lightning.py:1250
↓ 9 callers
Function
opening_feerate
lightningd/chaintopology.c:617
↓ 9 callers
Function
opt_usage_exit_fail
ccan/ccan/opt/usage.c:238
↓ 9 callers
Function
parse_wireaddr
common/wireaddr.c:530
↓ 9 callers
Function
parse_wireaddr_internal
common/wireaddr.c:638
↓ 9 callers
Function
path_dirname
ccan/ccan/tal/path/path.c:494
↓ 9 callers
Function
payments_next
wallet/wallet.c:4761
↓ 9 callers
Function
per_commit_point
common/derive_basepoints.c:107
↓ 9 callers
Function
plugin_set_memleak_handler
plugins/libplugin.c:2053
← previous
next →
701–800 of 16,782, ranked by callers