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
↓ 2 callers
Function
tok_take_expr
ccan/ccan/cdump/cdump.c:284
↓ 2 callers
Function
tok_take_expr_str
ccan/ccan/cdump/cdump.c:310
↓ 2 callers
Function
tok_take_until
ccan/ccan/cdump/cdump.c:181
↓ 2 callers
Function
topo_update_spends
* topo_update_spends -- Tell the wallet about all spent outpoints */
lightningd/chaintopology.c:951
↓ 2 callers
Function
towire_bitcoin_tx
bitcoin/tx.c:799
↓ 2 callers
Function
towire_dstore_disabled_node
plugins/askrene/datastore_wire.c:328
↓ 2 callers
Function
towire_gossipd_addgossip
Generated stub for towire_gossipd_addgossip */
wallet/test/run-wallet.c:698
↓ 2 callers
Function
towire_hsmd_get_channel_basepoints
Generated stub for towire_hsmd_get_channel_basepoints */
wallet/test/run-db.c:366
↓ 2 callers
Function
towire_hsmd_new_channel
Generated stub for towire_hsmd_new_channel */
wallet/test/run-wallet.c:731
↓ 2 callers
Function
towire_hsmd_sign_any_cannouncement_req
Generated stub for towire_hsmd_sign_any_cannouncement_req */
wallet/test/run-wallet.c:737
↓ 2 callers
Function
towire_len_and_tlvstream
common/htlc_wire.c:81
↓ 2 callers
Function
towire_onchaind_known_preimage
Generated stub for towire_onchaind_known_preimage */
wallet/test/run-wallet.c:746
↓ 2 callers
Function
towire_onchaind_missing_htlc_output
Generated stub for towire_onchaind_missing_htlc_output */
onchaind/test/run-grind_feerate.c:73
↓ 2 callers
Function
towire_onchaind_spend_to_us
Generated stub for towire_onchaind_spend_to_us */
onchaind/test/run-grind_feerate.c:97
↓ 2 callers
Function
towire_opt_amount_msat
plugins/askrene/datastore_wire.c:98
↓ 2 callers
Function
towire_pad
Generated stub for towire_pad */
common/test/run-sphinx-xor_cipher_stream.c:131
↓ 2 callers
Function
towire_preimage
bitcoin/preimage.c:11
↓ 2 callers
Function
towire_save_channel
plugins/askrene/layer.c:444
↓ 2 callers
Function
towire_save_channel_bias
plugins/askrene/layer.c:561
↓ 2 callers
Function
towire_save_channel_constraint
plugins/askrene/layer.c:526
↓ 2 callers
Function
towire_save_channel_update
plugins/askrene/layer.c:474
↓ 2 callers
Function
towire_save_node_bias
plugins/askrene/layer.c:582
↓ 2 callers
Function
towire_sha256_double
bitcoin/shadouble.c:24
↓ 2 callers
Function
towire_wally_psbt
bitcoin/psbt.c:942
↓ 2 callers
Function
trace_span_clear
* Release the span back into the pool of available spans. */
common/trace.c:325
↓ 2 callers
Function
trace_span_slot
* Find an empty slot for a new span. */
common/trace.c:252
↓ 2 callers
Function
track
ccan/ccan/ptr_valid/test/run-realloc-leak.c:14
↓ 2 callers
Function
trigger_invoice_waiter
wallet/invoices.c:41
↓ 2 callers
Function
trigger_invoice_waiter_expire_or_delete
wallet/invoices.c:63
↓ 2 callers
Function
try_connect_peer
~ Try to connect to a single peer, given some addresses (in order) */
connectd/connectd.c:1901
↓ 2 callers
Function
try_establish
plugins/fetchinvoice.c:636
↓ 2 callers
Function
try_extend_tip
lightningd/chaintopology.c:1138
↓ 2 callers
Function
try_subtract_fee
common/initial_commit_tx.c:31
↓ 2 callers
Function
tx_add_anchor_output
common/initial_commit_tx.c:60
↓ 2 callers
Function
tx_must_be_eq
channeld/test/run-full_channel.c:219
↓ 2 callers
Function
tx_parts_from_wally_tx
bitcoin/tx_parts.c:18
↓ 2 callers
Function
txout_failures_age
Once an hour, or at 10000 entries, we expire old ones */
gossipd/txout_failures.c:13
↓ 2 callers
Function
txout_failures_new
gossipd/txout_failures.c:25
↓ 2 callers
Function
txw_fire
Returns true if we fired a callback */
lightningd/watch.c:202
↓ 2 callers
Method
type_name
(self)
tools/generate-wire.py:420
↓ 2 callers
Function
u5_to_bitarray
(arr: bytes)
contrib/pyln-proto/pyln/proto/invoice.py:63
↓ 2 callers
Function
u64arr_contains
plugins/offers_proof.c:127
↓ 2 callers
Function
unescape
By policy, we don't handle \u. Use UTF-8. */
ccan/ccan/json_escape/json_escape.c:151
↓ 2 callers
Function
unique_id_num
Convert unique_id string to u64. We only expect this to fail when we're * dealing with runes from elsewhere (i.e. param_rune) */
lightningd/runes.c:56
↓ 2 callers
Function
unknown_feerates
lightningd/chaintopology.c:389
↓ 2 callers
Function
unknown_field
wire/tlvstream.c:304
↓ 2 callers
Function
unparsable_onion_code
We couldn't parse their onion, so we have no shared secret to wrap an * error with: update_fail_malformed_htlc is the only reply we can give. */
lightningd/peer_htlcs.c:168
↓ 2 callers
Function
unreserve_call
plugins/spender/multifundchannel.c:169
↓ 2 callers
Function
unreserve_path
plugins/xpay/xpay.c:1214
↓ 2 callers
Function
unreserve_psbt
Frees open (eventually, in unreserve_done callback) */
plugins/funder.c:98
↓ 2 callers
Function
unresolved_wallet_inputs
plugins/spender/splice.c:857
↓ 2 callers
Function
unset_another_common_bit
Another bit currently in mask needs to be exposed, so that a bucket with p in * it won't appear invalid */
ccan/ccan/htable/htable.c:230
↓ 2 callers
Function
unsigned_channel_update
lightningd/gossip_generation.c:77
↓ 2 callers
Function
untrack
ccan/ccan/ptr_valid/test/run-realloc-leak.c:20
↓ 2 callers
Function
update_bounds
ccan/ccan/tal/tal.c:138
↓ 2 callers
Function
update_common
We stole some bits, now we need to put them back... */
ccan/ccan/htable/htable.c:386
↓ 2 callers
Function
update_connection
common/test/run-route-specific.c:69
↓ 2 callers
Function
update_connection
common/test/run-route.c:62
↓ 2 callers
Function
update_feerates
lightningd/chaintopology.c:541
↓ 2 callers
Function
update_first
ccan/ccan/timer/timer.c:278
↓ 2 callers
Function
update_hsmd_with_splice
channeld/channeld.c:4289
↓ 2 callers
Function
update_in_htlc
lightningd/peer_htlcs.c:2129
↓ 2 callers
Function
update_node_psbt
After all of the changes have been applied to the parent psbt, * we update each node_psbt with the changes from every *other* peer. * * This update
plugins/spender/openchannel.c:259
↓ 2 callers
Function
update_out_htlc
lightningd/peer_htlcs.c:2151
↓ 2 callers
Function
update_parent_psbt
There's a few ground rules here about how we store/keep * the PSBT input/outputs in such a way that we can Do The * Right Thing for each of our peer
plugins/spender/openchannel.c:64
↓ 2 callers
Function
update_per_commit_point
Shuffle them over, forgetting the ancient one. */
lightningd/peer_htlcs.c:2644
↓ 2 callers
Function
update_recent_timestamp
It's so common to ask for "recent" gossip (we ask for 10 minutes * ago, LND and Eclair ask for now, LDK asks for 1 hour ago) that it's * worth keepi
connectd/connectd.c:2321
↓ 2 callers
Function
update_span
ccan/ccan/intmap/benchmark/speed.c:20
↓ 2 callers
Method
url
(&self, currency_lc: &str, currency: &str)
plugins/currencyrate-plugin/src/oracle.rs:43
↓ 2 callers
Function
use_uniform_writes
Oh, and then there was a node running LND master. And those running * LND with LNDK: so we added global disable. */
connectd/multiplex.c:497
↓ 2 callers
Function
utf8_str
common/utils.c:191
↓ 2 callers
Function
utxos_to_hsm_utxos
Generated stub for utxos_to_hsm_utxos */
lightningd/test/run-anchorspend.c:70
↓ 2 callers
Method
val_to_py
(self, val: Dict[str, Any], otherfields: Dict[str, Any])
contrib/pyln-proto/pyln/proto/message/message.py:290
↓ 2 callers
Method
val_to_str
(self, v: Any, otherfields: Dict[str, Any])
contrib/pyln-proto/pyln/proto/message/fundamental_types.py:59
↓ 2 callers
Method
val_to_str
(self, v: List[Any], otherfields: Dict[str, Any])
contrib/pyln-proto/pyln/proto/message/array_types.py:37
↓ 2 callers
Function
valid_opening_fee_params
()
plugins/lsps-plugin/src/core/lsps2/htlc.rs:269
↓ 2 callers
Function
validate_input_unspent
lightningd/dual_open_control.c:3105
↓ 2 callers
Function
validate_jsmn_datum
common/json_parse_simple.c:369
↓ 2 callers
Function
validate_remote_upfront_shutdown
openingd/common.c:290
↓ 2 callers
Function
varint_decode
(r)
contrib/pyln-proto/pyln/proto/primitives.py:40
↓ 2 callers
Function
varint_get
bitcoin/varint.c:45
↓ 2 callers
Function
verify_rune
( plugin: &Plugin<PluginState>, rune_header: Option<String>, checkrune_params: &CheckRuneParams, )
plugins/rest-plugin/src/shared.rs:11
↓ 2 callers
Method
version_to_number
(version)
contrib/msggen/msggen/patch.py:139
↓ 2 callers
Function
wait_for_event
(node)
tests/test_plugin.py:873
↓ 2 callers
Function
wait_index_bump
lightningd/wait.c:136
↓ 2 callers
Function
wait_index_increase
lightningd/wait.c:197
↓ 2 callers
Function
wait_index_increment
Generated stub for wait_index_increment */
wallet/test/run-db.c:372
↓ 2 callers
Function
wait_index_name
Generated stub for wait_index_name */
wallet/test/run-db.c:379
↓ 2 callers
Function
wait_index_ptr
lightningd/wait.c:66
↓ 2 callers
Function
wait_subsystem_name
Generated stub for wait_subsystem_name */
wallet/test/run-db.c:382
↓ 2 callers
Method
waitblockheight
Wait for the blockchain to reach the specified block height.
contrib/pyln-client/pyln/client/lightning.py:1494
↓ 2 callers
Function
waitblockheight_complete
Completes a pending waitblockheight. */
lightningd/peer_control.c:3707
↓ 2 callers
Method
waitinvoice
Wait for an incoming payment matching the invoice with {label}.
contrib/pyln-client/pyln/client/lightning.py:1504
↓ 2 callers
Function
wallet_add_onchaind_utxo
wallet/wallet.c:970
↓ 2 callers
Function
wallet_add_utxo
* wallet_add_utxo - Register an UTXO which we (partially) own * * Add an UTXO to the set of outputs we care about. * * This can fail if we've alre
wallet/wallet.c:280
↓ 2 callers
Function
wallet_annotation_add
wallet/wallet.c:5248
↓ 2 callers
Function
wallet_block_add
wallet/wallet.c:4919
↓ 2 callers
Function
wallet_chain_moves_next
wallet/wallet.c:7320
↓ 2 callers
Function
wallet_channel_clear_inflights
wallet/wallet.c:1658
↓ 2 callers
Function
wallet_channel_config_insert
wallet/wallet.c:2587
← previous
next →
3,901–4,000 of 16,782, ranked by callers