Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,250 in github.com/ElementsProject/lightning
⨍
Functions
16,250
◇
Types & classes
10,838
↳
Endpoints
71
↓ 6 callers
Function
wrap_onionreply
common/sphinx.c:806
↓ 5 callers
Method
__init__
(self, name: str)
contrib/pyln-proto/pyln/proto/message/fundamental_types.py:40
↓ 5 callers
Method
__init__
(self, name: str, typename: str, request: Field, response: Field)
contrib/msggen/msggen/model.py:191
↓ 5 callers
Method
_exec_func
(self, func: Callable[..., Any], request: Request)
contrib/pyln-client/pyln/client/plugin.py:682
↓ 5 callers
Method
_readobj
Read a JSON object, starting with buff; returns object and any buffer left over.
contrib/pyln-client/pyln/client/lightning.py:315
↓ 5 callers
Function
amount_feerate
common/amount.c:709
↓ 5 callers
Function
amount_msat_add_sat
common/amount.c:354
↓ 5 callers
Function
amount_msat_sub_fee
common/amount.c:656
↓ 5 callers
Function
arc_is_dual
Helper function. */
plugins/renepay/mcf.c:382
↓ 5 callers
Function
aux_command
Generated stub for aux_command */
plugins/bkpr/test/run-currencyrate_str.c:62
↓ 5 callers
Function
aux_command
AUTOGENERATED MOCKS START */ Generated stub for aux_command */
plugins/test/run-route-calc.c:18
↓ 5 callers
Function
bad_req_fmt
hsmd/hsmd.c:118
↓ 5 callers
Function
balance_add_htlc
What does adding the HTLC do to the balance for this side (subtracts) */
channeld/full_channel.c:36
↓ 5 callers
Function
balance_ok
channeld/full_channel.c:65
↓ 5 callers
Function
base64_encoded_length
ccan/ccan/base64/base64.c:58
↓ 5 callers
Function
bip32_pubkey
~ There was a nasty LND bug report where the user issued an address which it * couldn't spend, presumably due to a bitflip. We check every address u
lightningd/hsm_control.c:239
↓ 5 callers
Function
bip86_pubkey
Generated stub for bip86_pubkey */
wallet/test/run-db.c:31
↓ 5 callers
Function
bip86_pubkey
Derive BIP86 public key from the base key */
lightningd/hsm_control.c:269
↓ 5 callers
Function
bitcoin_redeem_p2sh_p2wpkh
Create the redeemscript for a P2SH + P2WPKH (for signing tx) */
bitcoin/script.c:214
↓ 5 callers
Function
bitcoin_tx_input_get_txid
FIXME: remove */
bitcoin/tx.c:382
↓ 5 callers
Function
bitmap_fill_range
ccan/ccan/bitmap/bitmap.c:37
↓ 5 callers
Function
bitmap_zero
ccan/ccan/bitmap/bitmap.h:84
↓ 5 callers
Function
bitops_ffs64
* bitops_ffs64: find lowest set bit in a uint64_t * * Returns 1 for least significant bit, 32 for most significant bit, 0 * for no bits set. */
ccan/ccan/bitops/bitops.h:32
↓ 5 callers
Method
bkpr_inspect
( &self, request: tonic::Request<pb::BkprinspectRequest>, )
cln-grpc/src/server.rs:3642
↓ 5 callers
Function
blinding_next_path_key
E(i+1) = H(E(i) || ss(i)) * E(i) */
common/blinding.c:22
↓ 5 callers
Function
bolt12_has_prefix
common/bolt12.c:663
↓ 5 callers
Function
bolt12_payer_proof_merkle
BOLT-payer_proof #12: * - MUST set `proof_signature` as detailed in [Signature Calculation](#signature-calculation) using the `invreq_payer_id` using
common/bolt12_proof.c:172
↓ 5 callers
Function
bwatch_get_watch_type_name
plugins/bwatch/bwatch_store.c:81
↓ 5 callers
Function
bwatch_send_watch_found
Send watch_found notification to lightningd. */
plugins/bwatch/bwatch_interface.c:28
↓ 5 callers
Function
chan_extra_adjust_half
This helper function preserves the uncertainty network invariant after the * knowledge is updated. It assumes that the (channel,!dir) knowledge is *
plugins/renepay/chan_extra.c:239
↓ 5 callers
Function
channel_fail_htlc
channeld/full_channel.c:1048
↓ 5 callers
Function
channel_fulfill_htlc
channeld/full_channel.c:977
↓ 5 callers
Function
channel_get_htlc
channeld/full_channel.c:972
↓ 5 callers
Function
channel_gossip_node_announce
lightningd/channel_gossip.c:1417
↓ 5 callers
Function
channel_should_enable
Using default logic, should this channel be enabled? */
lightningd/channel_gossip.c:559
↓ 5 callers
Function
channel_state_closing
lightningd/channel.h:562
↓ 5 callers
Function
channel_txs
FIXME: We could cache these. */
channeld/full_channel.c:293
↓ 5 callers
Function
channel_type_from
common/channel_type.c:101
↓ 5 callers
Function
channel_update_feerate
channeld/full_channel.c:1432
↓ 5 callers
Function
channel_watch_funding
lightningd/peer_control.c:2542
↓ 5 callers
Function
check_balances
(l1, l2, channel_id, msats_sent_to_2)
tests/test_coinmoves.py:75
↓ 5 callers
Function
check_bind_pos
db/bindings.c:16
↓ 5 callers
Function
check_channel_gossip
lightningd/channel_gossip.c:273
↓ 5 callers
Function
check_route_as_expected
Make sure all fields in paths are match those in routes
tests/test_askrene.py:642
↓ 5 callers
Function
check_signed_hash
bitcoin/signature.c:174
↓ 5 callers
Function
cisdigit
ccan/ccan/str/str.h:132
↓ 5 callers
Function
clear_feature_bit
common/features.c:178
↓ 5 callers
Function
cmd_log
plugins/askrene/askrene.c:300
↓ 5 callers
Function
codex32_decode
Return NULL if the codex32 is invalid */
common/codex32.c:305
↓ 5 callers
Function
command_complete
plugins/libplugin.c:488
↓ 5 callers
Function
command_err
plugins/bcli.c:253
↓ 5 callers
Function
command_logger
lightningd/jsonrpc.c:149
↓ 5 callers
Method
complete
(&self, id: &str, data: Vec<u8>)
plugins/lsps-plugin/src/core/transport.rs:74
↓ 5 callers
Function
compute_opening_fee
Computes the opening fee in millisatoshis as described in LSPS2. Returns None if an arithmetic overflow occurs during calculation. # Arguments `payme
plugins/lsps-plugin/src/proto/lsps2.rs:356
↓ 5 callers
Method
connect
(self, remote_node)
contrib/pyln-testing/pyln/testing/utils.py:1075
↓ 5 callers
Method
contains
Check if a type exists.
plugins/lsps-plugin/src/core/tlv.rs:156
↓ 5 callers
Function
critbit
ccan/ccan/intmap/intmap.c:18
↓ 5 callers
Function
currencyrate_str
plugins/bkpr/bookkeeper.c:73
↓ 5 callers
Function
db_bind_datastore_key
We join key parts with nuls for now. */
wallet/datastore.c:33
↓ 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_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
dynamic
Send true value for "dynamic" field in "getmanifest" response
plugins/src/lib.rs:313
↓ 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:31
↓ 5 callers
Method
fail
(failure_message: Option<String>, failure_onion: Option<Vec<u8>>)
plugins/lsps-plugin/src/cln_adapters/types.rs:102
↓ 5 callers
Function
fail_in_htlc
lightningd/peer_htlcs.c:224
↓ 5 callers
Function
fdpass_recv
ccan/ccan/fdpass/fdpass.c:44
↓ 5 callers
Function
fdpass_send
ccan/ccan/fdpass/fdpass.c:8
↓ 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
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_property
ccan/ccan/tal/tal.c:306
↓ 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_complete
Complete channel establishment with {id}, using {psbt}.
contrib/pyln-client/pyln/client/lightning.py:840
↓ 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:2309
↓ 5 callers
Method
get_msgtype
(self, name: str)
contrib/pyln-proto/pyln/proto/message/message.py:70
← previous
next →
1,201–1,300 of 16,250, ranked by callers