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
↓ 7 callers
Function
bitmap_sizeof
ccan/ccan/bitmap/bitmap.h:31
↓ 7 callers
Function
bkpr_account_balance
(node, acct_id)
tests/utils.py:74
↓ 7 callers
Method
build
(self)
plugins/lsps-plugin/src/core/router.rs:97
↓ 7 callers
Function
call_error
ccan/ccan/tal/tal.c:93
↓ 7 callers
Function
chain_events_from_sql
plugins/bkpr/sql.c:183
↓ 7 callers
Function
channel_rcvd_commit
FIXME: We can actually merge these two... */
channeld/full_channel.c:1515
↓ 7 callers
Function
channel_rcvd_revoke_and_ack
channeld/full_channel.c:1497
↓ 7 callers
Function
channel_sending_commit
channeld/full_channel.c:1479
↓ 7 callers
Function
channel_sending_revoke_and_ack
channeld/full_channel.c:1531
↓ 7 callers
Function
channel_state_wants_peercomms
Established enough, that we could reach out to peer to discuss */
lightningd/channel.h:725
↓ 7 callers
Function
channel_type_anchors_zero_fee_htlc
common/channel_type.c:65
↓ 7 callers
Function
check_overgrind
hsmd/libhsmd.c:630
↓ 7 callers
Function
codex32_secret_encode
Returns Codex32 encoded secret of the seed provided. */
common/codex32.c:390
↓ 7 callers
Function
command_done_err
plugins/libplugin.c:593
↓ 7 callers
Function
cpu_to_le32
* cpu_to_le32 - convert a uint32_t value to little-endian * @native: value to convert */
ccan/ccan/endian/endian.h:252
↓ 7 callers
Function
create_test_wallet
wallet/test/run-wallet.c:910
↓ 7 callers
Function
cryptomsg_decrypt_header
common/cryptomsg.c:123
↓ 7 callers
Function
daemon_conn_read_next
common/daemon_conn.c:38
↓ 7 callers
Function
db_bind_sha256d
db/bindings.c:113
↓ 7 callers
Function
db_column_null_warn
Returns true (and warns) if it's nul */
db/bindings.c:31
↓ 7 callers
Function
derive_keys
common/derive_basepoints.c:33
↓ 7 callers
Function
derive_simple_key
The old BOLT defined what happened prior to option_static_remotekey, * which we still support for existing channels: * * If `option_static_remoteke
common/key_derive.c:33
↓ 7 callers
Function
dijkstra_distance
Returns UINT_MAX if unreachable. */
common/dijkstra.c:36
↓ 7 callers
Function
elements_tx_overhead
Attempt to compute the elements overhead given a base bitcoin size. * * The overhead consists of 2 empty proofs for the transaction, 6 bytes of * p
bitcoin/tx.h:255
↓ 7 callers
Function
encode
devtools/bolt11-cli.c:105
↓ 7 callers
Function
feature_set_or
common/features.c:218
↓ 7 callers
Function
features_unsupported
common/features.c:397
↓ 7 callers
Function
find_account
plugins/bkpr/account.c:257
↓ 7 callers
Function
find_htlc_out
lightningd/htlc_end.c:56
↓ 7 callers
Function
fmt_sciddir_or_pubkey
common/sciddir_or_pubkey.c:65
↓ 7 callers
Function
fmt_secp256k1_ecdsa_signature
bitcoin/signature.c:325
↓ 7 callers
Method
from_js
(cls, js, path)
contrib/msggen/msggen/model.py:372
↓ 7 callers
Method
from_str
Decode a string to a Message within that namespace. Format is msgname [ field=...]*.
contrib/pyln-proto/pyln/proto/message/message.py:659
↓ 7 callers
Function
fromwire_bitcoin_txid
bitcoin/tx.c:754
↓ 7 callers
Function
fromwire_bool
Generated stub for fromwire_bool */
common/test/run-base64.c:53
↓ 7 callers
Function
fromwire_node_id
common/node_id.c:54
↓ 7 callers
Function
fromwire_short_channel_id
bitcoin/short_channel_id.c:96
↓ 7 callers
Function
get_bench_node
Get a node which is optimized for benchmarking
tests/benchmark.py:20
↓ 7 callers
Function
get_gossmap
plugins/offers.c:54
↓ 7 callers
Function
gossip_store_add
gossipd/gossip_store.c:481
↓ 7 callers
Function
gossmap_chan_is_localmod
common/gossmap.c:1456
↓ 7 callers
Function
gossmap_localmods_new
common/gossmap.c:1018
↓ 7 callers
Method
handle
(&self, ctx: &RequestContext, request: &[u8])
plugins/lsps-plugin/src/core/server.rs:19
↓ 7 callers
Function
hkdf_two_keys
out1, out2 = HKDF(in1, in2)` */
connectd/handshake.c:232
↓ 7 callers
Function
hsm_secret_error_str
Helper function to convert error codes to human-readable messages */
common/hsm_secret.c:184
↓ 7 callers
Function
htable_clear
ccan/ccan/htable/htable.c:122
↓ 7 callers
Function
htlc_in_check
lightningd/htlc_end.c:92
↓ 7 callers
Function
htlc_out_check
lightningd/htlc_end.c:167
↓ 7 callers
Function
ignore_destroying_bit
ccan/ccan/tal/tal.c:108
↓ 7 callers
Function
is_stub_scid
bitcoin/short_channel_id.h:62
↓ 7 callers
Function
is_valid_op_return
BOLT #2: * 4. if (and only if) `option_simple_close` is negotiated: * * `OP_RETURN` followed by one of: * * `6` to `75` inclusive followed
common/shutdown_scriptpubkey.c:13
↓ 7 callers
Function
isaac64_next_uint64
ccan/ccan/isaac/isaac64.c:136
↓ 7 callers
Function
json_add_id
common/json_stream.c:685
↓ 7 callers
Function
json_add_invstring
common/json_stream.c:412
↓ 7 callers
Function
json_add_payment_fields
Outputs fields, not a separate object*/
lightningd/pay.c:138
↓ 7 callers
Function
json_notify_fmt
lightningd/jsonrpc.c:652
↓ 7 callers
Function
json_out_add
ccan/ccan/json_out/json_out.c:279
↓ 7 callers
Function
json_out_direct
ccan/ccan/json_out/json_out.c:339
↓ 7 callers
Function
json_to_sha256
common/json_parse.c:130
↓ 7 callers
Function
json_to_txid
common/json_parse.c:597
↓ 7 callers
Method
listtransactions
Show wallet history.
contrib/pyln-client/pyln/client/lightning.py:1000
↓ 7 callers
Function
log_io
lightningd/log.c:693
↓ 7 callers
Function
log_level_name
common/status_levels.c:15
↓ 7 callers
Function
map_be64
common/gossmap.c:151
↓ 7 callers
Function
memleak_scan_htable
memleak can't see inside hash tables, so do them manually */
common/memleak.c:176
↓ 7 callers
Function
memleak_start
common/memleak.c:348
↓ 7 callers
Function
notifications_received_via_websocket
Return the list of notifications received by the websocket client. We try to connect to the websocket server running at `base_url` with `http
tests/test_clnrest.py:266
↓ 7 callers
Function
opt_early_parse
ccan/ccan/opt/opt.c:257
↓ 7 callers
Function
path_basename
ccan/ccan/tal/path/path.c:425
↓ 7 callers
Function
payment_command
plugins/renepay/payment.c:211
↓ 7 callers
Function
payment_fail
plugins/renepay/payment.c:253
↓ 7 callers
Function
payment_set_step
plugins/libplugin-pay.c:2334
↓ 7 callers
Function
peer_any_channel_bystate
lightningd/channel.c:790
↓ 7 callers
Function
peer_billboard
common/peer_billboard.c:7
↓ 7 callers
Function
per_commit_secret
common/derive_basepoints.c:92
↓ 7 callers
Function
psbt_find_serial_input
common/psbt_open.c:389
↓ 7 callers
Function
psbt_find_serial_output
common/psbt_open.c:401
↓ 7 callers
Function
psbt_has_required_fields
common/psbt_open.c:442
↓ 7 callers
Function
psbt_make_key
bitcoin/psbt.c:694
↓ 7 callers
Function
random_seeker
Get a random peer, but try our preferred peer first, if any. This * biasses us to the peer that told us of unexpected gossip. */
gossipd/seeker.c:177
↓ 7 callers
Function
rbuf_init
* rbuf_init - set up a buffer. * @rbuf: the struct rbuf. * @fd: the file descriptor. * @buf: the buffer to use. * @buf_max: the size of the buffer
ccan/ccan/rbuf/rbuf.h:23
↓ 7 callers
Method
read_message
(self)
contrib/pyln-proto/pyln/proto/wire.py:227
↓ 7 callers
Function
report_subd_memleak
Yep, found a leak in this subd. */
lightningd/memdump.c:191
↓ 7 callers
Method
reserveinputs
Reserve any inputs in this psbt.
contrib/pyln-client/pyln/client/lightning.py:1578
↓ 7 callers
Function
resolved_by_other
Otherwise, we figure out what happened and then call this. */
onchaind/onchaind.c:782
↓ 7 callers
Function
ringbuf_used
lightningd/log.c:161
↓ 7 callers
Function
route_delivers
plugins/renepay/route.h:147
↓ 7 callers
Function
run_bitcoin_cli
plugins/bcli.c:229
↓ 7 callers
Function
scriptpubkey_addr
(scriptpubkey)
tests/utils.py:478
↓ 7 callers
Function
segwit_addr_encode
common/bech32.c:179
↓ 7 callers
Function
send_coin_mvt
onchaind/onchaind.c:213
↓ 7 callers
Method
send_message
(self, m)
contrib/pyln-proto/pyln/proto/wire.py:261
↓ 7 callers
Method
sendpsbt
Finalize extract and broadcast a PSBT
contrib/pyln-client/pyln/client/lightning.py:1654
↓ 7 callers
Function
set_llong_with_suffix
ccan/ccan/opt/helpers.c:265
↓ 7 callers
Method
set_tu64
Insert or override a `tu64` value for `type_` (keeps canonical TLV order).
plugins/lsps-plugin/src/core/tlv.rs:161
↓ 7 callers
Function
split_field
Helper to split string into first part and remainder
contrib/pyln-proto/pyln/proto/message/fundamental_types.py:23
↓ 7 callers
Function
split_tok
common/json_parse.c:636
↓ 7 callers
Function
sql_string
plugins/bkpr/sql.c:200
↓ 7 callers
Function
status_io
common/status.c:132
↓ 7 callers
Function
status_send
common/status.c:80
← previous
next →
901–1,000 of 16,249, ranked by callers