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
↓ 4 callers
Function
xor_cipher_stream
xor cipher stream into dst */
common/sphinx.c:244
↓ 3 callers
Function
HTABLE_DEFINE_NODUPS_TYPE
plugins/channel_hint.h:48
↓ 3 callers
Function
IsLocal
connectd/netaddress.c:141
↓ 3 callers
Function
LLVMFuzzerMutate
tests/fuzz/libfuzz.c:190
↓ 3 callers
Function
RawEq
connectd/netaddress.c:69
↓ 3 callers
Method
__hash__
(self)
contrib/pyln-client/pyln/client/gossmap.py:275
↓ 3 callers
Method
__init__
(self, bitcoin_dir="/tmp/bitcoind-test", rpcport=None)
contrib/pyln-testing/pyln/testing/utils.py:460
↓ 3 callers
Method
_bind_pos
Positional binding of parameters
contrib/pyln-client/pyln/client/plugin.py:640
↓ 3 callers
Method
_check_unique
Raise an exception if name already used
contrib/pyln-proto/pyln/proto/message/message.py:38
↓ 3 callers
Method
_field_from_csv
Takes msgdata/subtypedata after first two fields e.g. [...]timestamp_node_id_1,u32,
contrib/pyln-proto/pyln/proto/message/message.py:194
↓ 3 callers
Method
_notify
Send a notification to the caller. Can contain a variety of things, but is usually used to report progress or command status.
contrib/pyln-client/pyln/client/plugin.py:175
↓ 3 callers
Method
_parse_request
(self, jsrequest: Dict[str, JSONType])
contrib/pyln-client/pyln/client/plugin.py:814
↓ 3 callers
Method
_write_result
(self, result: dict)
contrib/pyln-client/pyln/client/plugin.py:172
↓ 3 callers
Function
abs_locktime_to_blocks
bitcoin/locktime.c:29
↓ 3 callers
Function
account_get_chain_fees
Get all onchain_fee for this account */
plugins/bkpr/onchain_fee.c:212
↓ 3 callers
Function
add_errors_to_error_list
add errors to error list */
connectd/connectd.c:994
↓ 3 callers
Method
add_field
(self, field: MessageTypeField)
contrib/pyln-proto/pyln/proto/message/message.py:170
↓ 3 callers
Function
add_hintchan
plugins/renepay/mods.c:467
↓ 3 callers
Function
add_level
ccan/ccan/timer/timer.c:165
↓ 3 callers
Method
add_method
Add a plugin method to the dispatch table. The function will be expected at call time (see `_dispatch`) and the parameters from the J
contrib/pyln-client/pyln/client/plugin.py:365
↓ 3 callers
Function
add_notifier_property
ccan/ccan/tal/tal.c:327
↓ 3 callers
Function
add_payment_hash_description
plugins/bkpr/descriptions.c:135
↓ 3 callers
Function
add_plugin_dir
lightningd/plugin.c:1896
↓ 3 callers
Function
add_to_debug_log
plugins/spender/splice.c:46
↓ 3 callers
Function
add_varint
bitcoin/psbt.c:684
↓ 3 callers
Function
adjust_size
ccan/ccan/tal/tal.c:509
↓ 3 callers
Function
all_node_channels_dying
Are all channels associated with this node dying? (Perhaps ignoring one)*/
gossipd/gossmap_manage.c:297
↓ 3 callers
Function
amount_sat
common/amount.c:550
↓ 3 callers
Function
amount_sat_scale
common/amount.c:383
↓ 3 callers
Function
append_msg
gossipd/gossip_store.c:49
↓ 3 callers
Function
append_to_file
lightningd/configs.c:341
↓ 3 callers
Function
arc_enabled
We use an arc array but not all arcs in that array do exist in the graph. */
plugins/askrene/child/graph.h:101
↓ 3 callers
Function
arc_head
Helper function. * Given an arc idx, return the node that this arc is pointing to in the residual network. */
plugins/renepay/mcf.c:410
↓ 3 callers
Function
arc_tail
Helper function. * Given an arc idx, return the node from which this arc emanates in the residual network. */
plugins/renepay/mcf.c:402
↓ 3 callers
Function
arc_to_parts
plugins/askrene/child/mcf.c:253
↓ 3 callers
Function
arc_to_parts
plugins/renepay/mcf.c:280
↓ 3 callers
Function
args_string
For printing: simple string of args (no secrets!) */
plugins/bcli.c:136
↓ 3 callers
Method
as_i64
If the `Value` is an integer, represent it as i64. Returns None otherwise.
plugins/src/options.rs:518
↓ 3 callers
Method
as_result
(&self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:135
↓ 3 callers
Method
as_str_arr
If the `Value` is a Vec<String>, returns the associated Vec<String>. Returns None otherwise.
plugins/src/options.rs:552
↓ 3 callers
Function
attempt_log
plugins/xpay/xpay.c:276
↓ 3 callers
Method
autoclean_status
Print status of autocleaning (optionally, just for {subsystem}).
contrib/pyln-client/pyln/client/lightning.py:505
↓ 3 callers
Function
backend_set_exclusive
ccan/ccan/io/poll.c:325
↓ 3 callers
Function
base32_data_size
ccan/ccan/str/base32/base32.c:54
↓ 3 callers
Function
base32_decode
ccan/ccan/str/base32/base32.c:100
↓ 3 callers
Function
base64_decode_quartet_using_maps
ccan/ccan/base64/base64.c:121
↓ 3 callers
Function
base64_encode_triplet_using_maps
ccan/ccan/base64/base64.c:63
↓ 3 callers
Function
batch_done
Runs finalcb immediately if batch is empty. */
plugins/libplugin.c:1237
↓ 3 callers
Function
batch_one_complete
plugins/libplugin.c:1183
↓ 3 callers
Function
bech32_decode
Validate a Bech32 string, and determine HRP and data.
contrib/pyln-proto/pyln/proto/bech32.py:63
↓ 3 callers
Function
bech32_encode
Compute a Bech32 string given HRP and data values.
contrib/pyln-proto/pyln/proto/bech32.py:57
↓ 3 callers
Function
bip86_key
~ Get the BIP86 keys for this given index: if privkey is NULL, we * don't fill it in. This derives the full path: m/86'/0'/0'/0/index */
hsmd/libhsmd.c:2394
↓ 3 callers
Function
bitcoin_block_from_hex
Encoding is <blockhdr> <varint-num-txs> <tx>... */
bitcoin/block.c:138
↓ 3 callers
Function
bitcoin_key
~ Get the keys for this given BIP32 index: if privkey is NULL, we * don't fill it in. */
hsmd/libhsmd.c:500
↓ 3 callers
Function
bitcoin_tx_hash_for_sig
bitcoin/signature.c:120
↓ 3 callers
Function
bitcoin_tx_input_sig_weight
We grind signatures to get them down to 71 bytes */
bitcoin/tx.c:890
↓ 3 callers
Function
bitcoin_tx_output_get_amount_sat
bitcoin/tx.c:329
↓ 3 callers
Function
bitcoin_tx_output_get_witscript
bitcoin/tx.c:305
↓ 3 callers
Function
bitcoin_tx_set_locktime
bitcoin/tx.c:190
↓ 3 callers
Function
bitcoin_witness_htlc_success_tx
bitcoin/script.c:889
↓ 3 callers
Function
bitcoin_witness_htlc_timeout_tx
BOLT #3: * * ## HTLC-Timeout and HTLC-Success Transactions * *... * * `txin[0]` witness stack: `0 <remotehtlcsig> <localhtlcsig> <payment_prei
bitcoin/script.c:873
↓ 3 callers
Function
bitcoin_wscript_anchor
bitcoin/script.c:940
↓ 3 callers
Function
bitcoin_wscript_to_local
BOLT #3: * * This output sends funds back to the owner of this commitment transaction and * thus must be timelocked using `OP_CHECKSEQUENCEVERIFY`.
bitcoin/script.c:620
↓ 3 callers
Function
bitmap_alloc
* Allocation functions */
ccan/ccan/bitmap/bitmap.h:198
↓ 3 callers
Function
bitmap_bswap
ccan/ccan/bitmap/bitmap.h:36
↓ 3 callers
Function
bitmap_empty
ccan/ccan/bitmap/bitmap.h:179
↓ 3 callers
Function
bitmap_fill
ccan/ccan/bitmap/bitmap.h:89
↓ 3 callers
Function
bitmap_full
ccan/ccan/bitmap/bitmap.h:164
↓ 3 callers
Function
bitmap_zero_range
ccan/ccan/bitmap/bitmap.c:12
↓ 3 callers
Function
bitops_ctz32
* bitops_ctz32: count trailing zeros in a uint32_t (must not be 0) * * Returns 0 if least significant bit is set, 31 if only most * significant bit
ccan/ccan/bitops/bitops.h:85
↓ 3 callers
Function
bitops_ctz64
* bitops_ctz64: count trailing zeros in a uint64_t (must not be 0) * * Returns 0 if least significant bit is set, 63 if only most * significant bit
ccan/ccan/bitops/bitops.h:97
↓ 3 callers
Function
bitops_hs64
* bitops_hs64: find highest set bit in a uint64_t (must not be zero) * * Returns 0 for least significant bit, 63 for most significant bit. */
ccan/ccan/bitops/bitops.h:149
↓ 3 callers
Function
bitops_ls64
* bitops_ls64: find lowest set bit in a uint64_t (must not be zero) * * Returns 0 for least significant bit, 63 for most significant bit. */
ccan/ccan/bitops/bitops.h:127
↓ 3 callers
Method
bkpr_report
( &self, request: tonic::Request<pb::BkprreportRequest>, )
cln-grpc/src/server.rs:3834
↓ 3 callers
Function
blinded_path_from_encdata_tlvs
Stage 1: tlv_encrypted_data_tlv[] -> struct blinded_path. * Optional array of node_ids, consulted iff tlv uses scid in one entry. */
common/onion_message.c:56
↓ 3 callers
Function
blindedpath_get_alias
common/blindedpath.c:220
↓ 3 callers
Function
blindedpath_next_path_key
common/blindedpath.c:240
↓ 3 callers
Function
bolt12_bip353_valid_string
common/bolt12.c:1165
↓ 3 callers
Function
bolt12_calc_nonce
Use h_lnnonce_ctx to create nonce */
common/bolt12_merkle.c:78
↓ 3 callers
Function
bolt12_lnnonce_ctx
Create a sha256_ctx which has the tag part done. */
common/bolt12_merkle.c:62
↓ 3 callers
Function
bolt12_path_id
common/bolt12_id.c:30
↓ 3 callers
Method
build
(self)
plugins/src/lib.rs:609
↓ 3 callers
Function
bwatch_last_block
plugins/bwatch/bwatch_store.c:248
↓ 3 callers
Function
calc_lease_fee
(amt, feerate, rates)
tests/utils.py:99
↓ 3 callers
Function
calc_offer
common/bolt12.c:1000
↓ 3 callers
Function
call_rpc
( plugin: &Plugin<PluginState>, method: &str, params: serde_json::Value, )
plugins/rest-plugin/src/shared.rs:74
↓ 3 callers
Function
can_derive
ccan/ccan/crypto/shachain/shachain.c:28
↓ 3 callers
Function
chacha20_stream
(key: bytes, dest: Union[bytearray, memoryview])
contrib/pyln-proto/pyln/proto/onion.py:480
↓ 3 callers
Function
chainparams_by_chainhash
bitcoin/chainparams.c:227
↓ 3 callers
Function
change_weight
bitcoin/tx.c:962
↓ 3 callers
Function
changed_htlc
lightningd/peer_htlcs.c:2193
↓ 3 callers
Function
channel_add_err_name
channeld/full_channel.c:1697
↓ 3 callers
Function
channel_disconnect
lightningd/dual_open_control.c:45
↓ 3 callers
Function
channel_events_from_sql
plugins/bkpr/sql.c:167
↓ 3 callers
Function
channel_id_in_use
lightningd/channel.c:881
↓ 3 callers
Function
channel_is_available
Helper to check whether a channel is available */
plugins/askrene/child/mcf.c:329
↓ 3 callers
Function
channel_last_funding_feerate
lightningd/channel.c:1252
↓ 3 callers
Function
channel_record_open
lightningd/channel_control.c:1082
↓ 3 callers
Function
channel_scid_or_local_alias
Generated stub for channel_scid_or_local_alias */
wallet/test/run-db.c:68
↓ 3 callers
Function
channel_set_billboard
lightningd/channel.c:1321
← previous
next →
1,901–2,000 of 16,782, ranked by callers