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
↓ 5 callers
Function
db_bind_json_escape
db/bindings.c:247
↓ 5 callers
Function
db_bind_preimage
db/bindings.c:103
↓ 5 callers
Function
db_col_blob
db/bindings.c:316
↓ 5 callers
Function
db_col_bytes
db/bindings.c:306
↓ 5 callers
Function
db_col_psbt
db/bindings.c:492
↓ 5 callers
Function
db_col_strdup_optional
db/bindings.c:338
↓ 5 callers
Function
db_col_tx
db/bindings.c:470
↓ 5 callers
Function
db_last_insert_id_v2
db/utils.c:217
↓ 5 callers
Function
db_query_prepared_canfail
db/utils.c:139
↓ 5 callers
Function
decode
Decode a segwit address.
contrib/pyln-proto/pyln/proto/bech32.py:107
↓ 5 callers
Function
decode_frame
Decode an LSPS0 frame and return the raw payload bytes. Validates that the header matches the LSPS0 message type (37913).
plugins/lsps-plugin/src/proto/lsps0.rs:55
↓ 5 callers
Function
discard_result
Hack to suppress warnings when we finish a different command */
plugins/fetchinvoice.c:69
↓ 5 callers
Method
dispatch_one
Dispatch one server-side event and then return. Just so we have a nicer looking `select` statement in `run` :-)
plugins/src/lib.rs:935
↓ 5 callers
Function
dummy_configuration
()
plugins/src/lib.rs:1271
↓ 5 callers
Method
dynamic
Send true value for "dynamic" field in "getmanifest" response
plugins/src/lib.rs:314
↓ 5 callers
Function
encode
ccan/ccan/strset/test/run-hibit.c:8
↓ 5 callers
Method
eq
(&self, other: &Self)
plugins/currencyrate-plugin/src/oracle.rs:28
↓ 5 callers
Function
fail_in_htlc
lightningd/peer_htlcs.c:261
↓ 5 callers
Function
fdpass_send
ccan/ccan/fdpass/fdpass.c:9
↓ 5 callers
Function
fee_states_valid
FIXME: we don't know opener inside fromwire_fee_states, so can't do * this there :( */
common/fee_states.c:154
↓ 5 callers
Method
filter
(self, record)
contrib/pyln-testing/pyln/testing/utils.py:1978
↓ 5 callers
Function
find_chain_event_by_id
plugins/bkpr/recorder.c:353
↓ 5 callers
Method
find_field
(self, fieldname: str)
contrib/pyln-proto/pyln/proto/message/message.py:428
↓ 5 callers
Function
find_htlc_in
lightningd/htlc_end.c:21
↓ 5 callers
Function
find_property
ccan/ccan/tal/tal.c:309
↓ 5 callers
Function
find_rebalance
plugins/bkpr/rebalances.c:92
↓ 5 callers
Function
find_tags
(evs, tag)
tests/test_bookkeeper.py:20
↓ 5 callers
Function
flow_fee
plugins/renepay/flow.c:374
↓ 5 callers
Function
fmt_privkey
bitcoin/privkey.c:7
↓ 5 callers
Function
fmt_sha256_double
bitcoin/shadouble.c:19
↓ 5 callers
Method
from_bytes
(cls, b: io.BytesIO)
contrib/pyln-testing/pyln/testing/gossip.py:180
↓ 5 callers
Method
from_int
(cls, i)
contrib/pyln-proto/pyln/proto/primitives.py:57
↓ 5 callers
Function
fromwire_bigsize
AUTOGENERATED MOCKS START */ Generated stub for fromwire_bigsize */
common/test/run-route.c:21
↓ 5 callers
Function
fromwire_hsmd_get_per_commitment_point_reply
AUTOGENERATED MOCKS START */ Generated stub for fromwire_hsmd_get_per_commitment_point_reply */
onchaind/test/run-grind_feerate.c:19
↓ 5 callers
Function
fromwire_sha256
Generated stub for fromwire_sha256 */
common/test/run-base64.c:63
↓ 5 callers
Function
fromwire_tal_arrn
wire/fromwire.c:239
↓ 5 callers
Method
fundchannel_cancel
Cancel a 'started' fundchannel with node {id}.
contrib/pyln-client/pyln/client/lightning.py:831
↓ 5 callers
Function
gather_htlcs
Returns up to three arrays: * committed: HTLCs currently committed. * pending_removal: HTLCs pending removal (subset of committed) * pending_additi
channeld/full_channel.c:164
↓ 5 callers
Function
gather_subfields
(field: Field)
contrib/msggen/msggen/gen/grpc/proto.py:260
↓ 5 callers
Function
gen_composite
(c, meta, override=None)
contrib/msggen/msggen/gen/rpc/rust.py:273
↓ 5 callers
Function
get_bench_line_graph
(node_factory, num_nodes, wait_for_announce=False)
tests/benchmark.py:34
↓ 5 callers
Function
get_bitcoin_result
Check response for error (fatal if found) and return result token (fatal if not found). */
lightningd/bitcoind.c:116
↓ 5 callers
Function
get_gossmap
connectd/connectd.c:2364
↓ 5 callers
Method
get_msgtype
(self, name: str)
contrib/pyln-proto/pyln/proto/message/message.py:70
↓ 5 callers
Function
get_type
May allocate a new type if not already found (steals @name) */
ccan/ccan/cdump/cdump.c:218
↓ 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:1864
↓ 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
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:240
↓ 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
hkdf_sha256
ccan/ccan/crypto/hkdf_sha256/hkdf_sha256.c:7
↓ 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:1875
↓ 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:1034
↓ 5 callers
Function
invoices_find_by_rhash
Generated stub for invoices_find_by_rhash */
lightningd/test/run-invoice-select-inchan.c:390
↓ 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:1321
↓ 5 callers
Function
is_p2pkh
(currency, prefix)
contrib/pyln-proto/pyln/proto/invoice.py:130
↓ 5 callers
Function
is_private
lightningd/channel_gossip.c:207
↓ 5 callers
Function
is_stfu_active
We're in STFU mode now: must not send messages. */
channeld/channeld.c:239
↓ 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:210
↓ 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
jsonrpc_io_new
common/jsonrpc_io.c:22
↓ 5 callers
Function
jsonrpc_stream_fail
plugins/libplugin.c:462
↓ 5 callers
Function
layer_name
plugins/askrene/layer.c:878
↓ 5 callers
Function
lightningd_deprecated_out_ok
Do we output this field? */
lightningd/lightningd.c:1020
↓ 5 callers
Function
list_check_node
ccan/ccan/list/list.c:20
↓ 5 callers
Function
list_node_init
* list_node_init - initialize a list_node * @n: the list_node to link to itself. * * You don't need to use this normally! But it lets you list_del
ccan/ccan/list/list.h:155
↓ 5 callers
Function
log_level_parse
common/status_levels.c:30
↓ 5 callers
Function
map_u8
common/gossmap.c:133
↓ 5 callers
Function
max_channel_funding
The largest channel we're prepared to talk about. */
openingd/common.c:270
↓ 5 callers
Function
mlock_tal_memory
common/utils.c:101
↓ 5 callers
Function
msg_queue_new
common/msg_queue.c:37
↓ 5 callers
Function
negotiation_failed
~ For negotiation failures: we tell them the parameter we didn't like. */
openingd/dualopend.c:422
↓ 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_full_channel
channeld/full_channel.c:74
↓ 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
← previous
next →
1,301–1,400 of 16,782, ranked by callers