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
↓ 13 callers
Function
psbt_append_output
bitcoin/psbt.c:274
↓ 13 callers
Function
pubkey_from_der
bitcoin/pubkey.c:14
↓ 13 callers
Function
ripemd160_update
ccan/ccan/crypto/ripemd160/ripemd160.c:40
↓ 13 callers
Function
side_to_str
common/htlc.h:66
↓ 13 callers
Method
sub
(self, rhs: Self)
cln-rpc/src/primitives.rs:209
↓ 13 callers
Function
timer_init
ccan/ccan/timer/timer.c:95
↓ 13 callers
Function
timers_cleanup
ccan/ccan/timer/timer.c:543
↓ 13 callers
Function
towire_u8
Generated stub for towire_u8 */
common/test/run-base64.c:104
↓ 13 callers
Function
trace_span_end
common/trace.c:366
↓ 13 callers
Method
utxopsbt
Create a PSBT with given inputs, to give an output of satoshi.
contrib/pyln-client/pyln/client/lightning.py:1627
↓ 13 callers
Function
version
common/version.c:9
↓ 12 callers
Method
addpsbtoutput
Create a PSBT with an output of amount satoshi leading to the on-chain wallet
contrib/pyln-client/pyln/client/lightning.py:1615
↓ 12 callers
Function
amount_msat_fee
common/amount.c:622
↓ 12 callers
Function
amount_msat_less_eq
common/amount.c:483
↓ 12 callers
Function
arg_bad
ccan/ccan/opt/helpers.c:17
↓ 12 callers
Function
bitcoin_tx_add_output
bitcoin/tx.c:62
↓ 12 callers
Function
bitcoin_tx_output_weight
bitcoin/tx.c:872
↓ 12 callers
Function
bitmap_set_bit
ccan/ccan/bitmap/bitmap.h:61
↓ 12 callers
Function
bitmap_test_bit
ccan/ccan/bitmap/bitmap.h:76
↓ 12 callers
Function
check_utxos_channel
(n, chans, expected, exp_tag_list=None, filter_channel=None)
tests/utils.py:410
↓ 12 callers
Function
command_success
plugins/libplugin.c:582
↓ 12 callers
Function
create_valid_opening_fee_params
Helper function to create valid opening fee params
plugins/lsps-plugin/src/proto/lsps2.rs:382
↓ 12 callers
Function
db_col_amount_sat
db/bindings.c:559
↓ 12 callers
Function
db_count_changes
db/utils.c:206
↓ 12 callers
Function
delete_channel
lightningd/channel.c:88
↓ 12 callers
Method
dev_fail
Fail with peer {peer_id}.
contrib/pyln-client/pyln/client/lightning.py:619
↓ 12 callers
Method
digest
(self)
contrib/pyln-proto/pyln/proto/wire.py:71
↓ 12 callers
Function
fmt_wireaddr
common/wireaddr.c:286
↓ 12 callers
Function
gossmap_remove_localmods
common/gossmap.c:1331
↓ 12 callers
Function
grab_file_raw
ccan/ccan/tal/grab_file/grab_file.c:84
↓ 12 callers
Function
graph_max_num_nodes
plugins/askrene/child/graph.h:65
↓ 12 callers
Function
io_duplex
ccan/ccan/io/io.c:530
↓ 12 callers
Function
is_p2wsh
bitcoin/script.c:512
↓ 12 callers
Function
json_add_primitive_fmt
common/json_stream.c:162
↓ 12 callers
Function
json_add_short_channel_id_dir
common/json_stream.c:487
↓ 12 callers
Function
json_parse
common/test/run-param.c:147
↓ 12 callers
Function
json_tok_remove
common/json_parse_simple.c:573
↓ 12 callers
Function
mk_short_channel_id
bitcoin/short_channel_id.c:27
↓ 12 callers
Function
mul_overflows_u64
common/overflows.h:16
↓ 12 callers
Function
node_obj
plugins/askrene/child/graph.h:32
↓ 12 callers
Method
openchannel
(self, remote_node, capacity=FUNDAMOUNT, addrtype="bech32", confirm=True, wait_for_announce=True, connect=True
contrib/pyln-testing/pyln/testing/utils.py:1081
↓ 12 callers
Method
openchannel_update
Update an openchannel with a peer
contrib/pyln-client/pyln/client/lightning.py:1232
↓ 12 callers
Function
output
Add this line to the final output
tools/fromschema.py:46
↓ 12 callers
Function
plugin_err
Generated stub for plugin_err */
plugins/bkpr/test/run-recorder.c:76
↓ 12 callers
Function
plugin_request_send
lightningd/plugin.c:2507
↓ 12 callers
Function
ptr2int
ccan/ccan/ptrint/ptrint.h:19
↓ 12 callers
Method
serializeCompressed
(self)
contrib/pyln-proto/pyln/proto/primitives.py:143
↓ 12 callers
Function
serialize_payload_tlv
Encode TLV onion payload for non-final hops, returns bytes
tests/utils.py:625
↓ 12 callers
Function
sign_tx_input
bitcoin/signature.c:153
↓ 12 callers
Method
sort
(self)
contrib/msggen/msggen/model.py:334
↓ 12 callers
Function
tal_name
ccan/ccan/tal/tal.c:676
↓ 12 callers
Function
test_secret
()
plugins/lsps-plugin/src/core/lsps2/service.rs:159
↓ 12 callers
Function
to_tal_hdr
ccan/ccan/tal/tal.c:172
↓ 12 callers
Function
topology_synced
lightningd/chaintopology.h:261
↓ 12 callers
Function
towire_short_channel_id
bitcoin/short_channel_id.c:90
↓ 12 callers
Function
towire_u64
wire/towire.c:36
↓ 12 callers
Function
tx_type_name
onchaind/onchaind.c:123
↓ 12 callers
Method
txprepare
Prepare a Bitcoin transaction which sends to [outputs]. The format of output is like [{address1: amount1}, {address2: amount2
contrib/pyln-client/pyln/client/lightning.py:1541
↓ 12 callers
Function
wallet_can_spend
wallet/wallet.c:1026
↓ 12 callers
Method
write
(self, payload: str)
contrib/pyln-client/pyln/client/plugin.py:1063
↓ 12 callers
Function
write_all
ccan/ccan/read_write_all/read_write_all.c:6
↓ 11 callers
Function
PRINTF_FMT
(2,3)
ccan/ccan/compiler/test/compile_fail-printf.c:3
↓ 11 callers
Function
account_datastore_set
plugins/bkpr/account.c:153
↓ 11 callers
Method
add
(self, rh: RouteHint)
contrib/pyln-proto/pyln/proto/invoice.py:472
↓ 11 callers
Function
amount_msat_div
common/amount.c:573
↓ 11 callers
Function
arc_dual
Give me the dual of an arc. */
plugins/askrene/child/graph.h:71
↓ 11 callers
Function
arc_tail
Give me the node at the tail of an arc. */
plugins/askrene/child/graph.h:84
↓ 11 callers
Function
channel_state_can_add_htlc
Can this channel send an HTLC? */
lightningd/channel.h:515
↓ 11 callers
Function
command_check_only
plugins/libplugin.c:675
↓ 11 callers
Function
cpu_to_le64
* cpu_to_le64 - convert a uint64_t value to little-endian * @native: value to convert */
ccan/ccan/endian/endian.h:243
↓ 11 callers
Function
create_onionpacket
common/sphinx.c:526
↓ 11 callers
Function
create_test_htlc_request
( scid: Option<ShortChannelId>, amount_msat: u64, )
plugins/lsps-plugin/src/core/lsps2/handler.rs:836
↓ 11 callers
Function
db_bind_amount_sat
db/bindings.c:241
↓ 11 callers
Function
db_bind_node_id
db/bindings.c:159
↓ 11 callers
Function
db_bind_short_channel_id
db/bindings.c:187
↓ 11 callers
Function
db_col_node_id
db/bindings.c:368
↓ 11 callers
Function
db_commit_transaction
Generated stub for db_commit_transaction */
lightningd/test/run-jsonrpc.c:15
↓ 11 callers
Function
db_get_intvar
db/exec.c:79
↓ 11 callers
Function
find_next_feerate
(node, peer)
tests/test_opening.py:16
↓ 11 callers
Function
fp16_to_u64
common/fp16.h:9
↓ 11 callers
Function
fromwire_amount_msat
common/amount.c:762
↓ 11 callers
Function
fromwire_amount_sat
common/amount.c:770
↓ 11 callers
Function
fromwire_hsmd_sign_tx_reply
Generated stub for fromwire_hsmd_sign_tx_reply */
onchaind/test/run-grind_feerate-bug.c:237
↓ 11 callers
Function
fromwire_pubkey
bitcoin/pubkey.c:102
↓ 11 callers
Function
get_block_height
Can actually be called by new_channel */
wallet/test/run-wallet.c:865
↓ 11 callers
Function
get_feerate_floor
lightningd/chaintopology.c:684
↓ 11 callers
Method
handle
(&self, req: HtlcAcceptedRequest)
plugins/lsps-plugin/src/core/lsps2/handler.rs:420
↓ 11 callers
Method
handle_buy
( &self, peer_id: PublicKey, request: Lsps2BuyRequest, )
plugins/lsps-plugin/src/core/lsps2/service.rs:96
↓ 11 callers
Method
help
Show available commands, or just {command} if supplied.
contrib/pyln-client/pyln/client/lightning.py:917
↓ 11 callers
Function
htable_get
* htable_get - find an entry in the hash table * @ht: the hashtable * @h: the hash value of the entry * @cmp: the comparison function * @ptr: the
ccan/ccan/htable/htable.h:224
↓ 11 callers
Function
htable_init
ccan/ccan/htable/htable.c:79
↓ 11 callers
Function
int2ptr
ccan/ccan/ptrint/ptrint.h:30
↓ 11 callers
Method
json
(self)
contrib/pyln-client/pyln/client/plugin.py:237
↓ 11 callers
Function
json_add_escaped_string
common/json_stream.c:335
↓ 11 callers
Function
json_add_secret
common/json_stream.c:653
↓ 11 callers
Function
json_out_member_direct
ccan/ccan/json_out/json_out.c:153
↓ 11 callers
Function
local_fail_in_htlc
This is used for cases where we can immediately fail the HTLC. */
lightningd/peer_htlcs.c:274
↓ 11 callers
Function
notification_handled
plugins/libplugin.c:2677
↓ 11 callers
Function
offer_decode
common/bolt12.c:168
↓ 11 callers
Function
offer_status_in_db
wallet/wallet.h:1427
← previous
next →
501–600 of 16,249, ranked by callers