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
↓ 11 callers
Function
db_bind_node_id
db/bindings.c:159
↓ 11 callers
Function
db_bind_short_channel_id
db/bindings.c:187
↓ 11 callers
Function
db_col_node_id
db/bindings.c:368
↓ 11 callers
Function
db_get_intvar
db/exec.c:79
↓ 11 callers
Function
fp16_to_u64
common/fp16.h:9
↓ 11 callers
Function
fromwire_amount_sat
common/amount.c:770
↓ 11 callers
Function
fromwire_pubkey
bitcoin/pubkey.c:102
↓ 11 callers
Method
fundchannel_start
Start channel funding with {id} for {amount} satoshis with feerate of {feerate} (uses default feerate if unset). If {announce
contrib/pyln-client/pyln/client/lightning.py:809
↓ 11 callers
Function
get_block_height
Can actually be called by new_channel */
wallet/test/run-wallet.c:867
↓ 11 callers
Function
get_feerate_floor
lightningd/chaintopology.c:699
↓ 11 callers
Method
handle
(&self, req: HtlcAcceptedRequest)
plugins/lsps-plugin/src/core/lsps2/handler.rs:420
↓ 11 callers
Method
handle_buy
( &self, peer_id: PublicKey, request: Lsps2BuyRequest, )
plugins/lsps-plugin/src/core/lsps2/service.rs:96
↓ 11 callers
Method
help
Show available commands, or just {command} if supplied.
contrib/pyln-client/pyln/client/lightning.py:917
↓ 11 callers
Function
htable_init
ccan/ccan/htable/htable.c:79
↓ 11 callers
Function
int2ptr
ccan/ccan/ptrint/ptrint.h:30
↓ 11 callers
Function
io_fd_block
ccan/ccan/io/io.c:78
↓ 11 callers
Function
is_p2tr
bitcoin/script.c:538
↓ 11 callers
Function
is_p2wpkh
bitcoin/script.c:525
↓ 11 callers
Function
json_add_escaped_string
common/json_stream.c:335
↓ 11 callers
Function
json_add_secret
common/json_stream.c:653
↓ 11 callers
Function
local_fail_in_htlc
This is used for cases where we can immediately fail the HTLC. */
lightningd/peer_htlcs.c:311
↓ 11 callers
Method
mine_txid_or_rbf
Wait for a txid to be broadcast, or an rbf. Return the one actually mined
contrib/pyln-testing/pyln/testing/utils.py:1545
↓ 11 callers
Function
offer_decode
common/bolt12.c:379
↓ 11 callers
Function
offer_status_in_db
wallet/wallet.h:1446
↓ 11 callers
Function
open_abort
Softer version of 'warning' (we don't disconnect) * Only valid iff *we* haven't sent tx-sigs for a in-progress * negotiation */
openingd/dualopend.c:359
↓ 11 callers
Method
openchannel_signed
Send the funding transaction signatures to the peer, finish the channel open
contrib/pyln-client/pyln/client/lightning.py:1223
↓ 11 callers
Function
parse_onionpacket
common/sphinx.c:196
↓ 11 callers
Function
parse_report_format
alt_term is a secondary loop terminator (in addition to term); '\0' means none. */
plugins/bkpr/report.c:243
↓ 11 callers
Function
payment_log
Logging: both to the command itself and the log file */
plugins/xpay/xpay.c:252
↓ 11 callers
Function
psbt_input_get_amount
bitcoin/psbt.c:597
↓ 11 callers
Method
public_key
(self)
contrib/pyln-proto/pyln/proto/primitives.py:121
↓ 11 callers
Function
read_all
ccan/ccan/read_write_all/read_write_all.c:23
↓ 11 callers
Function
reckless
Call the reckless executable, optionally with a directory.
tests/test_reckless.py:130
↓ 11 callers
Function
setup_bip86_node
Helper function to set up a node with BIP86 support using a mnemonic-based HSM secret
tests/test_wallet.py:1751
↓ 11 callers
Function
short_channel_id_dir_eq
bitcoin/short_channel_id.h:45
↓ 11 callers
Method
start
Build and start the plugin loop. This performs the handshake and spawns a new task that accepts incoming messages from Core Lightning and dispatches t
plugins/src/lib.rs:447
↓ 11 callers
Function
status_peer_io
common/status.c:120
↓ 11 callers
Function
tal_strdup_or_null
common/utils.c:206
↓ 11 callers
Function
test_peer_id
()
plugins/lsps-plugin/src/core/lsps2/service.rs:153
↓ 11 callers
Function
time_to_usec
* time_to_usec - return number of microseconds * @t: a relative time * * It's often more convenient to deal with time values as * microseconds. N
ccan/ccan/time/time.h:635
↓ 11 callers
Method
to_bytes
(self)
contrib/pyln-proto/pyln/proto/onion.py:242
↓ 11 callers
Method
to_str
Encode a Message into a string
contrib/pyln-proto/pyln/proto/message/message.py:709
↓ 11 callers
Function
towire_u16
Generated stub for towire_u16 */
common/test/run-features.c:95
↓ 11 callers
Function
towire_u32
Generated stub for towire_u32 */
common/test/run-base64.c:98
↓ 11 callers
Function
towire_u8_array
wire/towire.c:138
↓ 11 callers
Method
wait_for_htlcs
(self, scids=None)
contrib/pyln-testing/pyln/testing/utils.py:1382
↓ 11 callers
Function
wally_psbt_input_get_outpoint
bitcoin/psbt.c:1047
↓ 10 callers
Function
Round
ccan/ccan/crypto/ripemd160/ripemd160.c:60
↓ 10 callers
Function
bitcoin_tx_core_weight
Various weights of transaction parts. */
bitcoin/tx.c:849
↓ 10 callers
Function
bitcoin_tx_weight
bitcoin/tx.c:467
↓ 10 callers
Function
bitcoin_txid_from_hex
bitcoin/tx.c:695
↓ 10 callers
Function
channel_has
lightningd/channel.h:961
↓ 10 callers
Function
channel_state_can_add_htlc
Can this channel send an HTLC? */
lightningd/channel.h:523
↓ 10 callers
Function
channel_state_str
lightningd/channel.c:752
↓ 10 callers
Function
channel_watch_inflight_outs
lightningd/peer_control.c:2801
↓ 10 callers
Function
check_chain_moves
(node, expected)
tests/test_coinmoves.py:49
↓ 10 callers
Function
check_channel_moves
(node, expected)
tests/test_coinmoves.py:39
↓ 10 callers
Function
check_coin_moves
(n, account_id, expected_moves, chainparams)
tests/utils.py:119
↓ 10 callers
Function
clone_bitcoin_tx
bitcoin/tx.c:581
↓ 10 callers
Function
command_check_only
Generated stub for command_check_only */
plugins/test/run-route-calc.c:22
↓ 10 callers
Method
config
(self, config_name)
contrib/pyln-testing/pyln/testing/utils.py:1623
↓ 10 callers
Function
create_onionreply
common/sphinx.c:768
↓ 10 callers
Function
db_column_is_null
Local helpers once you have column number */
db/bindings.c:25
↓ 10 callers
Function
derive_channel_id
BOLT #2: * ### The `funding_signed` Message *... * #### Requirements *... * The sender MUST set: * - `channel_id` by exclusive-OR of the `fundin
common/channel_id.c:18
↓ 10 callers
Function
do_fail
plugins/spender/splice.c:174
↓ 10 callers
Function
esc_underscores
Backslash-escape underscores outside of backtick-enclosed spans
tools/fromschema.py:23
↓ 10 callers
Method
expect
(self, msg: &str)
plugins/lsps-plugin/src/proto/jsonrpc.rs:161
↓ 10 callers
Function
feerate_max
lightningd/chaintopology.c:1212
↓ 10 callers
Function
fmt_amount_msat_btc
Different formatting by amounts: btc, sat and msat */
common/amount.c:50
↓ 10 callers
Function
fmt_bitcoin_signature
bitcoin/signature.c:336
↓ 10 callers
Function
fromwire_bool
wire/fromwire.c:168
↓ 10 callers
Function
fromwire_fail
Generated stub for fromwire_fail */
common/test/run-base64.c:56
↓ 10 callers
Function
fromwire_hsmd_sign_tx_reply
Generated stub for fromwire_hsmd_sign_tx_reply */
onchaind/test/run-grind_feerate-bug.c:237
↓ 10 callers
Function
fromwire_u32
Generated stub for fromwire_u32 */
common/test/run-base64.c:70
↓ 10 callers
Function
fromwire_u64
Generated stub for fromwire_u64 */
common/test/run-base64.c:73
↓ 10 callers
Method
get_option
(self, name: str)
contrib/pyln-client/pyln/client/plugin.py:510
↓ 10 callers
Function
get_raw_ptr
ccan/ccan/htable/htable.c:48
↓ 10 callers
Function
get_reckless_node
This may be unnecessary, but a preconfigured lightning dir is useful for reckless testing.
tests/test_reckless.py:157
↓ 10 callers
Function
gossmap_node_get_announce
Get the announcement msg (if any) for this node. */
common/gossmap.c:1637
↓ 10 callers
Function
hsm_req
channeld/channeld.c:223
↓ 10 callers
Function
invoice_encode
common/bolt12.c:610
↓ 10 callers
Function
json_add_str_fmt
common/json_stream.c:175
↓ 10 callers
Function
json_add_stringn
common/json_stream.c:196
↓ 10 callers
Function
json_out_add
ccan/ccan/json_out/json_out.c:295
↓ 10 callers
Function
json_to_int
common/json_parse.c:88
↓ 10 callers
Function
last_inflight
channeld/channeld.c:1819
↓ 10 callers
Function
load_hsm_secret
Load hsm_secret using the unified interface */
tools/lightning-hsmtool.c:88
↓ 10 callers
Function
mvt_tag_str
common/coin_mvt.c:164
↓ 10 callers
Function
new_account
plugins/bkpr/account.c:49
↓ 10 callers
Function
node_key
~ This returns the secret and/or public key for this node. */
hsmd/libhsmd.c:247
↓ 10 callers
Method
normalized
(self)
contrib/msggen/msggen/model.py:101
↓ 10 callers
Method
notify
(self, method: str, params: JSONType)
contrib/pyln-client/pyln/client/plugin.py:782
↓ 10 callers
Method
open
(self)
contrib/pyln-testing/pyln/testing/gossip.py:23
↓ 10 callers
Method
option
( mut self, opt: options::ConfigOption<'a, V>, )
plugins/src/lib.rs:151
↓ 10 callers
Method
parse
Parse and validate everything upfront
plugins/lsps-plugin/src/cln_adapters/hooks.rs:71
↓ 10 callers
Function
parse_name
ccan/ccan/graphql/graphql.c:104
↓ 10 callers
Function
parse_punct
Note: a static buffer is used here.
ccan/ccan/graphql/graphql.c:90
↓ 10 callers
Function
path_cwd
ccan/ccan/tal/path/path.c:14
↓ 10 callers
Function
plugin_feature_set
Generated stub for plugin_feature_set */
plugins/test/run-decode_guess_type.c:180
↓ 10 callers
Method
ppm
Returns the ppm.
plugins/lsps-plugin/src/proto/lsps0.rs:182
← previous
next →
601–700 of 16,782, ranked by callers