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
↓ 6 callers
Function
set_mvt_account_id
common/coin_mvt.c:190
↓ 6 callers
Function
setup_channel
Set up a balanced l1->l2 channel, return: l1's expected channel moves l2's expected channel moves l1's expected chain moves l2's expe
tests/test_coinmoves.py:401
↓ 6 callers
Function
setup_gossip_store_test
(node_factory, bitcoind, opts=None)
tests/test_gossip.py:1597
↓ 6 callers
Function
sha256_double_done
bitcoin/shadouble.c:13
↓ 6 callers
Function
shachain_add_hash
ccan/ccan/crypto/shachain/shachain.c:81
↓ 6 callers
Method
shake
(self)
contrib/pyln-proto/pyln/proto/wire.py:280
↓ 6 callers
Function
show_llong_with_suffix
static helpers for showing values with kMGTPE suffixes. In this case there are separate but essentially identical functions for signed and unsigned
ccan/ccan/opt/helpers.c:460
↓ 6 callers
Function
show_ullong_with_suffix
ccan/ccan/opt/helpers.c:482
↓ 6 callers
Function
signature_to_der
bitcoin/signature.c:295
↓ 6 callers
Function
smoothed_feerate_for_deadline
lightningd/chaintopology.c:443
↓ 6 callers
Function
sql_req
plugins/bkpr/sql.c:10
↓ 6 callers
Function
strset_clear
ccan/ccan/strset/strset.c:407
↓ 6 callers
Method
subscribe
Subscribe to notifications for the given `topic`. The handler is an async function that takes a `Plugin<S>` and the notification as a `serde_json::Val
plugins/src/lib.rs:182
↓ 6 callers
Function
tal_resize_
ccan/ccan/tal/tal.c:789
↓ 6 callers
Function
test_channel_id
()
plugins/lsps-plugin/src/core/lsps2/htlc.rs:265
↓ 6 callers
Function
test_context
()
plugins/lsps-plugin/src/core/router.rs:209
↓ 6 callers
Function
timeabs_add
* timeabs_add - add a relative to an absolute time * @a: the absolute time. * @b: a relative time. * * The times must not overflow, or the results
ccan/ccan/time/time.h:491
↓ 6 callers
Function
timer_del
FIXME: inline */
ccan/ccan/timer/timer.c:137
↓ 6 callers
Function
timer_expired
common/timeout.c:56
↓ 6 callers
Function
to_string
ccan/ccan/rune/coding.c:326
↓ 6 callers
Function
towire_amount_sat
common/amount.c:783
↓ 6 callers
Function
towire_pubkey
bitcoin/pubkey.c:115
↓ 6 callers
Function
trace_cleanup
common/trace.c:482
↓ 6 callers
Function
trace_span_find
common/trace.c:244
↓ 6 callers
Function
tu64_encode
Encode a tu64 (or tu32 etc) value
tests/utils.py:617
↓ 6 callers
Function
u64_to_fp16
common/fp16.c:6
↓ 6 callers
Function
use_bip86_derivation
common/hsm_secret.c:507
↓ 6 callers
Function
utxo_is_reserved
We lazy-evaluate whether a utxo is really still reserved. */
common/utxo.h:64
↓ 6 callers
Function
varint_encode
(i, w)
contrib/pyln-proto/pyln/proto/primitives.py:36
↓ 6 callers
Function
wait_for_restart
(l1, l2)
tests/test_splicing_insane.py:45
↓ 6 callers
Function
wallet_addrtype_in_db
wallet/wallet.h:289
↓ 6 callers
Function
wallet_htlc_update
input htlcs use failcode & failonion & we_filled, output htlcs use failmsg & failonion */
wallet/wallet.c:3544
↓ 6 callers
Function
wally_tx_output_scripteq
helper to compare output script with our tal'd script */
onchaind/onchaind.c:177
↓ 6 callers
Function
wireaddr_eq
common/wireaddr.c:14
↓ 6 callers
Function
wireaddr_to_addrinfo
common/wireaddr.c:848
↓ 6 callers
Method
with_channel_ready
(self, ready: bool)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:369
↓ 6 callers
Method
with_fund_result
(self, channel_id: Sha256, txid: &str)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:359
↓ 6 callers
Function
wrap_onionreply
common/sphinx.c:832
↓ 6 callers
Method
write
(self, text: str, cleanup: bool = True)
contrib/msggen/msggen/gen/grpc/proto.py:34
↓ 5 callers
Method
Getinfo
(request, target, options=(), channel_credentials=None, call_c
contrib/pyln-grpc-proto/pyln/grpc/node_pb2_grpc.py:2889
↓ 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
_dispatch_request
(self, request: Request)
contrib/pyln-client/pyln/client/plugin.py:709
↓ 5 callers
Method
_exec_func
(self, func: Callable[..., Any], request: Request)
contrib/pyln-client/pyln/client/plugin.py:687
↓ 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_add_sat_s64
common/amount.c:400
↓ 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
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:241
↓ 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:271
↓ 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, 64 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:946
↓ 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
breakpoint
* breakpoint - stop if running under the debugger. * * The first call detects the debugger via a SIGTRAP probe. This is * not thread-safe: either
ccan/ccan/breakpoint/breakpoint.h:23
↓ 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:1492
↓ 5 callers
Function
channel_should_enable
Using default logic, should this channel be enabled? */
lightningd/channel_gossip.c:565
↓ 5 callers
Function
channel_state_closing
lightningd/channel.h:570
↓ 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:2816
↓ 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:279
↓ 5 callers
Function
check_route_as_expected
Make sure all fields in paths are match those in routes
tests/test_askrene.py:689
↓ 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:349
↓ 5 callers
Function
codex32_decode
Return NULL if the codex32 is invalid */
common/codex32.c:305
↓ 5 callers
Function
command_complete
plugins/libplugin.c:498
↓ 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:1082
↓ 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
← previous
next →
1,201–1,300 of 16,782, ranked by callers