Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,249 in github.com/ElementsProject/lightning
⨍
Functions
16,249
◇
Types & classes
10,838
↳
Endpoints
71
↓ 11 callers
Function
output_type_name
onchaind/onchaind.c:133
↓ 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
psbt_input_get_amount
bitcoin/psbt.c:597
↓ 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:1752
↓ 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_msec
* time_to_msec - return number of milliseconds * @t: a relative time * * It's often more convenient to deal with time values as * milliseconds. N
ccan/ccan/time/time.h:610
↓ 11 callers
Method
to_bytes
(self)
contrib/pyln-proto/pyln/proto/onion.py:242
↓ 11 callers
Method
to_bytes
(&mut self)
plugins/lsps-plugin/src/core/tlv.rs:46
↓ 11 callers
Method
to_str
Encode a Message into a string
contrib/pyln-proto/pyln/proto/message/message.py:709
↓ 11 callers
Function
towire_errorfmt
common/wire_error.c:25
↓ 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
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_current_inflight
lightningd/channel.c:1171
↓ 10 callers
Function
channel_has
lightningd/channel.h:942
↓ 10 callers
Function
channel_state_str
lightningd/channel.c:741
↓ 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
close_noerr
ccan/ccan/noerr/noerr.c:7
↓ 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:1616
↓ 10 callers
Function
create_onionreply
common/sphinx.c:742
↓ 10 callers
Method
datastore
Add/replace an entry in the datastore; either string or hex. {key} can be a single string, or a sequence of strings. {mode} d
contrib/pyln-client/pyln/client/lightning.py:555
↓ 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_min
lightningd/chaintopology.c:1144
↓ 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
fmt_wireaddr_internal
common/wireaddr.c:231
↓ 10 callers
Function
fromwire_fail
Generated stub for fromwire_fail */
common/test/run-base64.c:56
↓ 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
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
↓ 10 callers
Method
get_option
(self, name: str)
contrib/pyln-client/pyln/client/plugin.py:505
↓ 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:1631
↓ 10 callers
Function
hsm_req
channeld/channeld.c:208
↓ 10 callers
Function
invoice_encode
common/bolt12.c:386
↓ 10 callers
Function
is_p2tr
bitcoin/script.c:538
↓ 10 callers
Function
is_p2wpkh
bitcoin/script.c:525
↓ 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_to_int
common/json_parse.c:88
↓ 10 callers
Function
last_inflight
channeld/channeld.c:1737
↓ 10 callers
Function
load_hsm_secret
Load hsm_secret using the unified interface */
tools/lightning-hsmtool.c:88
↓ 10 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:1538
↓ 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:777
↓ 10 callers
Method
open
(self)
contrib/pyln-testing/pyln/testing/gossip.py:23
↓ 10 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:351
↓ 10 callers
Method
openchannel_signed
Send the funding transaction signatures to the peer, finish the channel open
contrib/pyln-client/pyln/client/lightning.py:1223
↓ 10 callers
Method
option
( mut self, opt: options::ConfigOption<'a, V>, )
plugins/src/lib.rs:150
↓ 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_onionpacket
common/sphinx.c:196
↓ 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
Method
ppm
Returns the ppm.
plugins/lsps-plugin/src/proto/lsps0.rs:182
↓ 10 callers
Function
psbt_final_tx
bitcoin/psbt.c:851
↓ 10 callers
Function
psbt_input_set_wit_utxo
bitcoin/psbt.c:415
↓ 10 callers
Function
psbt_output_set_serial_id
common/psbt_open.c:380
↓ 10 callers
Method
public_key
(self)
contrib/pyln-proto/pyln/proto/primitives.py:121
↓ 10 callers
Function
route_from_dijkstra
common/route.c:121
↓ 10 callers
Function
rpc_scan
Synchronous routine to send command and extract fields from response */
plugins/libplugin.c:833
↓ 10 callers
Function
scriptpubkey_p2wpkh
Create an output script for a 20-byte witness. */
bitcoin/script.c:281
↓ 10 callers
Function
secret_eq_consttime
bitcoin/privkey.c:21
↓ 10 callers
Function
serialize_payload_final_tlv
Encode TLV onion payload for final hop, returns bytes
tests/utils.py:648
↓ 10 callers
Function
short_channel_id_dir_eq
bitcoin/short_channel_id.h:45
↓ 10 callers
Function
sighash_from_merkle
BOLT #12: * All signatures are created as per * [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) * and tagged as recommend
common/bolt12_merkle.c:308
↓ 10 callers
Function
sphinx_add_hop_has_length
common/sphinx.c:110
↓ 10 callers
Method
start
(self, wallet_file=None)
contrib/pyln-testing/pyln/testing/utils.py:501
↓ 10 callers
Function
time_from_msec
* time_from_msec - convert milliseconds to a relative time * @msec: time in milliseconds * * Example: * // 1/2 second timeout * #define TIMEOUT t
ccan/ccan/time/time.h:687
↓ 10 callers
Function
timemono_since
* timemono_since - elapsed monotonic time since @old * @old: a monotonic time from the past. */
ccan/ccan/time/time.h:412
↓ 10 callers
Function
timer_addmono
ccan/ccan/timer/timer.c:121
↓ 10 callers
Function
towire_u64
Generated stub for towire_u64 */
common/test/run-base64.c:101
↓ 10 callers
Function
unlink_noerr
ccan/ccan/noerr/noerr.c:33
↓ 10 callers
Method
wait_for_htlcs
(self, scids=None)
contrib/pyln-testing/pyln/testing/utils.py:1375
↓ 10 callers
Method
wait_for_onchaind_txs
Wait for onchaind to ask lightningd to create one or more txs. Each arg is a pair of typename, resolvename. Returns tuples of the rawtx, txid and nu
contrib/pyln-testing/pyln/testing/utils.py:1509
↓ 10 callers
Function
wallet_save_chain_mvt
wallet/wallet.c:7110
↓ 9 callers
Function
GetByte
The bitcoin code packs addresses backwards, so we map it here. */
connectd/netaddress.c:78
↓ 9 callers
Function
NON_NULL_ARGS
(1, 2, 4, 5)
lightningd/peer_control.c:935
← previous
next →
601–700 of 16,249, ranked by callers