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
↓ 1 callers
Function
check_budget
max_hops always fits at the bounds; one more never does. */
plugins/xpay/test/run-onion_budget.c:247
↓ 1 callers
Function
check_cannounce
common/test/run-gossmap_canned.c:188
↓ 1 callers
Function
check_cannounce
common/test/run-gossmap_local.c:188
↓ 1 callers
Function
check_capacity
plugins/askrene/child/explain_failure.c:127
↓ 1 callers
Function
check_children
ccan/ccan/list/test/compile_ok-constant.c:27
↓ 1 callers
Function
check_children
ccan/ccan/tal/test/run-iter.c:21
↓ 1 callers
Function
check_config
lightningd/options.c:1120
↓ 1 callers
Function
check_current_dataloss_fields
BOLT #2: * * A receiving node: * ... * - if `your_last_per_commitment_secret` does not match the expected values: * - SHOULD send an `error`
channeld/channeld.c:5733
↓ 1 callers
Function
check_disabled
Channels that are not in the chan_extra_map should be disabled. */
plugins/renepay/mcf.c:1573
↓ 1 callers
Function
check_emergency_sat
plugins/spender/splice.c:1233
↓ 1 callers
Function
check_err
ccan/ccan/tal/tal.c:1002
↓ 1 callers
Function
check_fieldname
ccan/ccan/json_out/json_out.c:135
↓ 1 callers
Function
check_final_tlv
BOLT #4: * - If `encrypted_recipient_data` is present: *... * - If it is the final node: * - MUST return an error if the payload contains ot
common/onion_decode.c:41
↓ 1 callers
Function
check_firstpeer
gossipd/seeker.c:879
↓ 1 callers
Function
check_future_dataloss_fields
BOLT #2: * * A receiving node: * - MUST ignore `my_current_per_commitment_point`, but MAY require it to be * a valid point. * - if `ne
channeld/channeld.c:5675
↓ 1 callers
Function
check_future_dataloss_fields
BOLT #2: * * A receiving node: * - MUST ignore `my_current_per_commitment_point`, but MAY require it to be * a valid point. * - if `ne
openingd/dualopend.c:4044
↓ 1 callers
Function
check_fuzzing
plugins/test/run-funder_policy.c:461
↓ 1 callers
Function
check_fwd_amount
BOLT #4: * * - if it is not the final node: * - MUST return an error if: * ... * - incoming `amount_msat` - `fee` < `amt_to_forward`
lightningd/peer_htlcs.c:378
↓ 1 callers
Function
check_getroute_routes
Check that routes are as expected in result. This is similar to check_getroute_paths but it compares all fields inside the routes and not just
tests/test_askrene.py:2269
↓ 1 callers
Function
check_gossip
(n)
tests/test_gossip.py:702
↓ 1 callers
Function
check_hsm
Check HSM secret by comparing with backup mnemonic */
tools/lightning-hsmtool.c:569
↓ 1 callers
Function
check_htable
common/test/run-htable.c:142
↓ 1 callers
Function
check_htlc_max_limits
plugins/askrene/child/mcf.c:1405
↓ 1 callers
Function
check_htlc_min_limits
plugins/askrene/child/mcf.c:1380
↓ 1 callers
Function
check_inspect_channel
(n, channel_id, expected_txs)
tests/utils.py:372
↓ 1 callers
Function
check_inv_condition
lightningd/runes.c:801
↓ 1 callers
Function
check_lease_rate_commitment_hash
common/test/run-lease_rates.c:76
↓ 1 callers
Function
check_lease_rate_fees
common/test/run-lease_rates.c:97
↓ 1 callers
Function
check_literal
lightningd/configs.c:102
↓ 1 callers
Function
check_lost_peer
plugins/recover.c:223
↓ 1 callers
Function
check_mask
ccan/ccan/htable/test/run-debug.c:97
↓ 1 callers
Function
check_mask
ccan/ccan/htable/test/run.c:87
↓ 1 callers
Function
check_mask
ccan/ccan/htable/test/run-type-int.c:104
↓ 1 callers
Function
check_mask
ccan/ccan/htable/test/run-type.c:102
↓ 1 callers
Function
check_missing
Check for missing gRPC commands in the schema.
contrib/msggen/msggen/utils/utils.py:277
↓ 1 callers
Function
check_nannounce
common/test/run-gossmap_local.c:217
↓ 1 callers
Function
check_node
ccan/ccan/tal/tal.c:1015
↓ 1 callers
Function
check_nonfinal_tlv
BOLT #4: * - If `encrypted_recipient_data` is present: *... * - If it is not the final node: * - MUST return an error if the payload con
common/onion_decode.c:18
↓ 1 callers
Function
check_outpoint_watches
Check all outpoint watches via hash lookup */
plugins/bwatch/bwatch_scanner.c:51
↓ 1 callers
Function
check_p2tr_witness
Key path has no size policy. Tapscript limits the items under the * script; an annex is non-standard. */
common/psbt_internal.c:299
↓ 1 callers
Function
check_p2wpkh_witness
A P2WPKH witness is always a signature and a compressed pubkey. * No byte cap: the shape is fixed. */
common/psbt_internal.c:242
↓ 1 callers
Function
check_p2wsh_witness
Items below the witness script, not the script itself. */
common/psbt_internal.c:267
↓ 1 callers
Function
check_parameter
ccan/ccan/array_size/test/compile_fail-function-param.c:9
↓ 1 callers
Function
check_payer_sig
BOLT #12: * - MUST reject the invoice request if `signature` is not correct as detailed in * [Signature Calculation](#signature-calculation) usin
plugins/offers_invreq_hook.c:654
↓ 1 callers
Function
check_previous_invoice
Now, we need to check the previous invoice was paid, and maybe get timebase */
plugins/offers_invreq_hook.c:624
↓ 1 callers
Function
check_probe
gossipd/seeker.c:927
↓ 1 callers
Function
check_proxy_config
( plugin: &ConfiguredPlugin<PluginState, tokio::io::Stdin, tokio::io::Stdout>, )
plugins/currencyrate-plugin/src/main.rs:306
↓ 1 callers
Function
check_psbt_comparison
common/test/run-psbt_diff.c:132
↓ 1 callers
Function
check_result
common/test/run-cryptomsg.c:129
↓ 1 callers
Function
check_ripemd160
ccan/ccan/crypto/ripemd160/ripemd160.c:25
↓ 1 callers
Function
check_scriptpubkey_watches
Check all scriptpubkey watches via hash lookup */
plugins/bwatch/bwatch_scanner.c:17
↓ 1 callers
Function
check_sha256
ccan/ccan/crypto/sha256/sha256.c:25
↓ 1 callers
Function
check_signature
common/bolt12.c:305
↓ 1 callers
Function
check_siphash24
ccan/ccan/crypto/siphash24/siphash24.c:40
↓ 1 callers
Function
check_sizes_exact
The size helpers agree exactly with what sphinx counts. */
plugins/xpay/test/run-onion_budget.c:164
↓ 1 callers
Function
check_smap
ccan/ccan/intmap/test/run-order.c:69
↓ 1 callers
Function
check_smap
ccan/ccan/intmap/test/run-order-smallsize.c:43
↓ 1 callers
Function
check_state_transition
lightningd/channel_gossip.c:152
↓ 1 callers
Function
check_timestamps
They gave us timestamps. Do we want updated versions? */
gossipd/seeker.c:654
↓ 1 callers
Function
check_tx_against_all_watches
Check a tx against all watches (during normal block processing). * UTXO spend tracking is handled by lightningd via outpoint watches * (wallet/utxo/
plugins/bwatch/bwatch_scanner.c:83
↓ 1 callers
Function
check_tx_for_single_watch
Dispatch a single watch against one tx (rescan path). */
plugins/bwatch/bwatch_scanner.c:137
↓ 1 callers
Function
check_tx_outpoint
Check tx inputs against a single outpoint watch (rescan path). */
plugins/bwatch/bwatch_scanner.c:115
↓ 1 callers
Function
check_tx_scriptpubkey
Check tx outputs against a single scriptpubkey watch (rescan path). */
plugins/bwatch/bwatch_scanner.c:95
↓ 1 callers
Function
check_umap
ccan/ccan/intmap/test/run-order.c:20
↓ 1 callers
Function
check_umap
ccan/ccan/intmap/test/run-order-smallsize.c:13
↓ 1 callers
Function
check_unique
common/json_param.c:234
↓ 1 callers
Function
check_with_child
ccan/ccan/ptr_valid/ptr_valid.c:244
↓ 1 callers
Function
check_with_maps
ccan/ccan/ptr_valid/ptr_valid.c:145
↓ 1 callers
Function
checksum_verify
Helper to verify codex32 checksum */
common/codex32.c:167
↓ 1 callers
Function
child
ccan/ccan/fdpass/test/run.c:14
↓ 1 callers
Function
child_nofd
ccan/ccan/fdpass/test/run.c:24
↓ 1 callers
Function
child_reply_in
plugins/askrene/askrene.c:566
↓ 1 callers
Function
child_scenario
Returns 0 on success, 1 on wrong results; crashes when broken. */
ccan/ccan/strset/test/run-deep-recursion.c:35
↓ 1 callers
Function
children
ccan/ccan/list/test/compile_ok-constant.c:12
↓ 1 callers
Function
children_into_htable
common/memleak.c:93
↓ 1 callers
Function
choose_format
cli/lightning-cli.c:438
↓ 1 callers
Function
chunk
(pofile)
devtools/sql-rewrite.py:196
↓ 1 callers
Function
cislower
ccan/ccan/str/str.h:140
↓ 1 callers
Function
cisprint
ccan/ccan/str/str.h:144
↓ 1 callers
Function
cisupper
ccan/ccan/str/str.h:156
↓ 1 callers
Function
cisxdigit
ccan/ccan/str/str.h:160
↓ 1 callers
Function
clean_finished
plugins/autoclean.c:272
↓ 1 callers
Function
clean_whitespace
common/splice_script.c:518
↓ 1 callers
Method
cleanup
(self)
contrib/pyln-testing/pyln/testing/utils.py:793
↓ 1 callers
Function
cleanup_conn_without_close
ccan/ccan/io/poll.c:263
↓ 1 callers
Function
cleanup_peer_pending_opens
plugins/funder.c:126
↓ 1 callers
Function
clear
ccan/ccan/intmap/intmap.c:309
↓ 1 callers
Function
clear_plugins
lightningd/plugin.c:1934
↓ 1 callers
Function
client_read_next
~ This plan simply says: read the next packet into 'c->msg_in' (parent 'c'), * and then call handle_client with argument 'c' */
hsmd/hsmd.c:183
↓ 1 callers
Function
cln_parse_rpcversion
Parse cln version string to determine RPC version. cln switched from 'semver' alike `major.minor.sub[rcX][-mod]` to ubuntu style with
contrib/pyln-client/pyln/client/clnutils.py:4
↓ 1 callers
Function
close_taken_fds
lightningd/subd.c:191
↓ 1 callers
Function
close_tx_check
By policy we don't trust our subdaemons (much): before we store a * closing transaction as the channel's last tx and broadcast it, check it * really
lightningd/closing_control.c:336
↓ 1 callers
Function
closefrom_may_be_slow
ccan/ccan/closefrom/closefrom.h:13
↓ 1 callers
Function
closefrom_may_be_slow
ccan/ccan/closefrom/closefrom.c:33
↓ 1 callers
Function
closing_dev_memleak
FIXME: We should talk to lightningd anyway, rather than doing this */
closingd/closingd.c:566
↓ 1 callers
Function
closing_fee_is_acceptable
Assess whether a proposed closing fee is acceptable. */
lightningd/closing_control.c:260
↓ 1 callers
Function
closing_read_peer_msg
Handle random messages we might get, returning the first non-handled one. */
closingd/closingd.c:117
↓ 1 callers
Function
closing_signed_eq
wire/test/run-peer-wire.c:817
↓ 1 callers
Function
closing_tx_weight_estimate
Figure out what weight we actually expect for this closing tx (using zero fees * gives the largest possible tx: larger values might omit outputs). */
closingd/closingd.c:582
↓ 1 callers
Function
cltv_of
common/permute_tx.c:64
← previous
next →
4,601–4,700 of 16,782, ranked by callers