Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,249 in github.com/ElementsProject/lightning
⨍
Functions
16,249
◇
Types & classes
10,838
↳
Endpoints
71
↓ 9 callers
Function
add_number
bitcoin/script.c:69
↓ 9 callers
Function
add_overflows_u64
common/overflows.h:11
↓ 9 callers
Function
amount_msat_greater_sat
common/amount.c:488
↓ 9 callers
Function
amount_sat_div
common/amount.c:586
↓ 9 callers
Function
b12_string_to_data
common/bolt12.c:112
↓ 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
cdump_extract
Simple LL(1) parser, inspired by Tridge's genstruct.pl. */
ccan/ccan/cdump/cdump.c:648
↓ 9 callers
Function
channel_by_cid
lightningd/channel.c:844
↓ 9 callers
Function
channel_fail_transient
lightningd/channel.c:1289
↓ 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:1284
↓ 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
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
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:1643
↓ 9 callers
Method
dev_sign_last_tx
Sign and show the last commitment transaction with peer {id}.
contrib/pyln-client/pyln/client/lightning.py:694
↓ 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
Function
feerate_max
lightningd/chaintopology.c:1188
↓ 9 callers
Method
feerates
Supply feerate estimates manually.
contrib/pyln-client/pyln/client/lightning.py:741
↓ 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
fromwire_bool
wire/fromwire.c:168
↓ 9 callers
Function
get_blockheight
common/blockheight_states.c:26
↓ 9 callers
Function
gossmap_local_updatechan
Insert a local-only channel_update: false if can't represent. */
common/gossmap.c:1130
↓ 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
htlc_state_owner
common/htlc.h:51
↓ 9 callers
Function
ignore_output
onchaind/onchaind.c:612
↓ 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:408
↓ 9 callers
Function
invrequest_encode
common/bolt12.c:316
↓ 9 callers
Function
io_fd_block
ccan/ccan/io/io.c:73
↓ 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:87
↓ 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
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:720
↓ 9 callers
Function
make_bkpr
plugins/bkpr/test/run-currencyrate_str.c:413
↓ 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:575
↓ 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
Function
opening_feerate
lightningd/chaintopology.c:612
↓ 9 callers
Function
opt_usage_exit_fail
ccan/ccan/opt/usage.c:238
↓ 9 callers
Function
parse_wireaddr_internal
common/wireaddr.c:616
↓ 9 callers
Function
payment_log
Logging: both to the command itself and the log file */
plugins/xpay/xpay.c:247
↓ 9 callers
Function
payments_next
wallet/wallet.c:4719
↓ 9 callers
Function
per_commit_point
common/derive_basepoints.c:107
↓ 9 callers
Function
plugin_feature_set
Generated stub for plugin_feature_set */
plugins/test/run-decode_guess_type.c:180
↓ 9 callers
Function
plugin_set_memleak_handler
plugins/libplugin.c:2043
↓ 9 callers
Function
psbt_add_serials
Adds serials to inputs + outputs that don't have one yet */
common/psbt_open.c:494
↓ 9 callers
Function
psbt_append_input
bitcoin/psbt.c:198
↓ 9 callers
Function
psbt_from_b64
bitcoin/psbt.c:868
↓ 9 callers
Function
pubkey_to_hash160
bitcoin/pubkey.c:92
↓ 9 callers
Function
sciddir_or_pubkey_from_pubkey
common/sciddir_or_pubkey.c:43
↓ 9 callers
Method
search_stdout
return the matching regex line from reckless output.
tests/test_reckless.py:105
↓ 9 callers
Method
send
(self, data)
tests/test_connection.py:3951
↓ 9 callers
Function
shachain_init
ccan/ccan/crypto/shachain/shachain.c:74
↓ 9 callers
Function
sign_hash
bitcoin/signature.c:97
↓ 9 callers
Function
status_setup_sync
common/status.c:50
↓ 9 callers
Function
subprocess_run
(args)
tests/test_mkfunding.py:28
↓ 9 callers
Function
taken_any
ccan/ccan/take/take.c:95
↓ 9 callers
Function
test_opening_fee_params
(secret: &[u8; 32])
plugins/lsps-plugin/src/core/lsps2/service.rs:175
↓ 9 callers
Function
towire_amount_msat
common/amount.c:778
↓ 9 callers
Function
towire_tlvstream_raw
wire/tlvstream.c:23
↓ 9 callers
Function
wait_bwatch_caught_up
Wait until bwatch has caught up to the chain tip and is idle. After restart, height replayed from the datastore skips the "First poll" debug
tests/test_plugin.py:39
↓ 9 callers
Method
wait_local_channel_active
(self, scid)
contrib/pyln-testing/pyln/testing/utils.py:1336
↓ 9 callers
Function
wallet_inflight_save
wallet/wallet.c:1588
↓ 8 callers
Function
IsIPv4
Is this an IPv4 address, or an IPv6-wrapped IPv4 */
connectd/netaddress.c:59
↓ 8 callers
Function
add_push_key
bitcoin/script.c:92
↓ 8 callers
Function
add_rate
plugins/bkpr/test/run-currencyrate_str.c:427
↓ 8 callers
Function
amount_msat_deduct_sat
common/amount.c:291
↓ 8 callers
Function
amount_msat_eq
Generated stub for amount_msat_eq */
common/test/run-sphinx.c:25
↓ 8 callers
Function
amount_msat_scale
common/amount.c:366
↓ 8 callers
Function
amount_sat_less_eq
common/amount.c:478
← previous
next →
701–800 of 16,249, ranked by callers