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
read_hsm_passphrase
Read HSM passphrase from user input */
lightningd/options.c:558
↓ 2 callers
Function
read_line
Read line from stdin (uses tal allocation) */
common/hsm_secret.c:407
↓ 2 callers
Function
read_more
ccan/ccan/io/test/run-48-exclusive-duplex-write.c:30
↓ 2 callers
Function
read_more
ccan/ccan/io/test/run-47-exclusive-duplex.c:29
↓ 2 callers
Function
read_more
ccan/ccan/io/test/run-46-exclusive.c:28
↓ 2 callers
Function
read_stdin_mnemonic
common/hsm_secret.c:454
↓ 2 callers
Function
readx
gossipd/compactd.c:27
↓ 2 callers
Function
reap_child
plugins/askrene/askrene.c:467
↓ 2 callers
Function
rebroadcasts_complete
We are last. Refresh timer, and free refcnt */
lightningd/chaintopology.c:127
↓ 2 callers
Function
receive_offer
Returns fee they offered. */
closingd/closingd.c:240
↓ 2 callers
Function
record_htlc_to_them
An HTLC they offered us has ended up back with them. Only call this once * that's final: the bookkeeper has no way of taking it back, and a preimage
onchaind/onchaind.c:278
↓ 2 callers
Function
recurrence_invreq_metadata
BOLT #12: * - MUST set `invreq_metadata` to an unpredictable series of bytes. */ Derive metadata (and thus temp key) from offer data and label * as
plugins/fetchinvoice.c:898
↓ 2 callers
Method
recv
(self, maxlen)
tests/test_connection.py:4003
↓ 2 callers
Function
refresh_by_created_index
The simplest case: append-only lists */
plugins/sql.c:1742
↓ 2 callers
Method
refresh_currency
(&self, currency: &str)
plugins/currencyrate-plugin/src/oracle.rs:358
↓ 2 callers
Function
register_payment_fail
plugins/renepay/payment.c:240
↓ 2 callers
Function
register_payment_success
plugins/renepay/payment.c:220
↓ 2 callers
Function
remove_channel
To actually remove a channel: * - Suppress future lookups in case we receive another channel_update. * - Put deleted tombstone in gossip_store. * -
gossipd/gossmap_manage.c:315
↓ 2 callers
Function
renepay_errorcode_name
plugins/renepay/errorcodes.c:6
↓ 2 callers
Function
replay_watch_tx
lightningd/onchain_control.c:463
↓ 2 callers
Method
reply_filter
Filter the fields returned from am RPC call (or more than one).. This is a context manager and should be used like this: ```python
contrib/pyln-client/pyln/client/lightning.py:459
↓ 2 callers
Method
reply_members
(&self, currency_lc: &str, currency: &str)
plugins/currencyrate-plugin/src/oracle.rs:49
↓ 2 callers
Function
report_bad_req
~ Tell lightningd a client sent a bad request. This should never * happen, of course, but we definitely want to log if it does. * * Does not close
hsmd/hsmd.c:116
↓ 2 callers
Function
report_tampering
If a node takes too much fee or cltv, the next one reports it. We don't * know who to believe, but log it */
plugins/libplugin-pay.c:1222
↓ 2 callers
Function
reserve_add
plugins/askrene/reserve.c:49
↓ 2 callers
Function
resolve_our_htlc_ourcommit
onchaind/onchaind.c:1981
↓ 2 callers
Function
resolve_their_htlc
Returns which htlcs it chose to use of matches[] */
onchaind/onchaind.c:2136
↓ 2 callers
Function
restart_dualopend
lightningd/dual_open_control.c:2706
↓ 2 callers
Function
restore_valgrind
Move valgrind files back to where fixtures expect them
tests/test_misc.py:2705
↓ 2 callers
Function
revert_channel_state
If there's a failure, we reset the state to the last * valid channel */
openingd/dualopend.c:2236
↓ 2 callers
Function
revoke_commitment
Revoke the specified commitment, the old secret is returned and * next commitment point are returned. This call is idempotent, it is * fine to re-r
channeld/channeld.c:1671
↓ 2 callers
Method
rewrite_types
(self, query, mapping)
devtools/sql-rewrite.py:20
↓ 2 callers
Function
ringbuf_avail
lightningd/log.c:166
↓ 2 callers
Function
ripemd160_init
ccan/ccan/crypto/ripemd160/ripemd160.c:35
↓ 2 callers
Function
risk_price
We price in risk as riskfactor percent per year. */
common/dijkstra.c:111
↓ 2 callers
Function
route_can_carry
Generally only one side gets marked disabled, but it's disabled. */
common/route.c:23
↓ 2 callers
Function
route_cltv
plugins/libplugin-pay.c:2912
↓ 2 callers
Function
route_delay
plugins/renepay/route.h:169
↓ 2 callers
Function
routehint_pre_getroute
Change the destination and compute the final msatoshi amount to send to the * routehint entry point. */
plugins/libplugin-pay.c:2958
↓ 2 callers
Function
routetracker_add_to_final
plugins/renepay/routetracker.c:47
↓ 2 callers
Function
rpc_conn_write_request
plugins/libplugin.c:1437
↓ 2 callers
Function
rpc_open
plugins/libplugin.c:183
↓ 2 callers
Function
rpc_scan
Generated stub for rpc_scan */
plugins/test/run-decode_guess_type.c:214
↓ 2 callers
Function
rpc_scan_core
Returns contents of scanning guide on 'result' */
plugins/libplugin.c:828
↓ 2 callers
Function
rpc_scan_datastore
plugins/libplugin.c:871
↓ 2 callers
Function
rpc_scan_datastore_hex
This variant scans the hex encoding, not the string */
plugins/libplugin.c:906
↓ 2 callers
Function
rpc_scan_datastore_str
plugins/libplugin.c:891
↓ 2 callers
Function
run
tests/fuzz/fuzz-addr.c:18
↓ 2 callers
Method
run
Run the plugin until we get a shutdown command.
plugins/src/lib.rs:903
↓ 2 callers
Function
run_check
(funding_amt_str)
tests/plugins/reject_odd_funding_amounts.py:12
↓ 2 callers
Function
run_openchannel
(funding_sats_str, ctype, plugin)
tests/plugins/openchannel_hook_accepter.py:19
↓ 2 callers
Function
run_test
ccan/tools/configurator/configurator.c:685
↓ 2 callers
Function
rune_altern_dup
ccan/ccan/rune/rune.c:119
↓ 2 callers
Function
rune_altern_fieldname_len
ccan/ccan/rune/coding.c:206
↓ 2 callers
Function
rune_condition_is_valid
ccan/ccan/rune/coding.c:187
↓ 2 callers
Function
rune_dup
ccan/ccan/rune/rune.c:65
↓ 2 callers
Function
rune_is_derived_anyversion
ccan/ccan/rune/coding.c:132
↓ 2 callers
Function
rune_is_ours
lightningd/runes.c:49
↓ 2 callers
Function
rune_restr_decode
ccan/ccan/rune/coding.c:260
↓ 2 callers
Function
rune_restr_dup
ccan/ccan/rune/rune.c:133
↓ 2 callers
Function
rune_restr_encode
ccan/ccan/rune/coding.c:105
↓ 2 callers
Function
rune_restr_eq
ccan/ccan/rune/rune.c:460
↓ 2 callers
Function
rune_restr_from_string
ccan/ccan/rune/coding.c:313
↓ 2 callers
Function
rune_sha256_add_restr
ccan/ccan/rune/coding.c:117
↓ 2 callers
Function
rune_sha256_endmarker
We pad between fields with something identical to the SHA end marker */
ccan/ccan/rune/rune.c:35
↓ 2 callers
Function
runestr_eq
Equal, as in both NULL, or both non-NULL and matching */
ccan/ccan/rune/rune.c:473
↓ 2 callers
Function
save_complete_layer
plugins/askrene/layer.c:710
↓ 2 callers
Function
save_peer_update
lightningd/channel_gossip.c:1366
↓ 2 callers
Function
saved_vprintf
ccan/ccan/opt/test/run-helpers.c:30
↓ 2 callers
Function
schedule_reconnect_if_important
connectd/connectd.c:903
↓ 2 callers
Function
script_with_len_eq
bitcoin/script.c:22
↓ 2 callers
Function
select_inchan
* From array of incoming channels [inchan], find suitable ones for * a payment-to-us of [amount_needed], using criteria: * 1. Channel's peer is know
lightningd/invoice.c:534
↓ 2 callers
Method
send_and_mine_block
Sometimes we want the txid. We assume it's the first tx for canned blocks
contrib/pyln-testing/pyln/testing/utils.py:588
↓ 2 callers
Function
send_channel_announce_sigs
lightningd/channel_gossip.c:704
↓ 2 callers
Function
send_channel_announcement
Sends channel_announcement */
lightningd/channel_gossip.c:757
↓ 2 callers
Function
send_channel_ready
openingd/dualopend.c:3994
↓ 2 callers
Function
send_disconnected
connectd/connectd.c:278
↓ 2 callers
Function
send_funding_tx
lightningd/dual_open_control.c:1932
↓ 2 callers
Function
send_listfunds
plugins/funder.c:827
↓ 2 callers
Function
send_message_batch
channeld/channeld.c:1377
↓ 2 callers
Function
send_offer
closingd/closingd.c:130
↓ 2 callers
Function
send_payment_core
destination/route_channels/route_nodes are NULL (and path_secrets may be NULL) * if we're sending a raw onion. */
lightningd/pay.c:1073
↓ 2 callers
Function
send_peers_scb
plugins/chanbackup.c:469
↓ 2 callers
Function
send_private_cupdate
Try to send a channel_update direct to peer, unless redundant */
lightningd/channel_gossip.c:496
↓ 2 callers
Function
send_response
Calls itself repeatedly: first time, result is NULL */
plugins/commando.c:118
↓ 2 callers
Function
send_shutdown
openingd/dualopend.c:540
↓ 2 callers
Function
sendflow
Helper. * Sends an amount of flow through an arc, changing the flow balance of the * nodes connected by the arc and the [residual] capacity of the a
plugins/askrene/child/algorithm.c:207
↓ 2 callers
Method
sendonion
Send an outgoing payment using the specified onion. This method allows sending a payment using an externally generated routing onion,
contrib/pyln-client/pyln/client/lightning.py:1417
↓ 2 callers
Method
serialize
(&self, serializer: S)
cln-rpc/src/jsonrpc.rs:64
↓ 2 callers
Function
set_destroying_bit
ccan/ccan/tal/tal.c:103
↓ 2 callers
Function
set_int_with_suffix
ccan/ccan/opt/helpers.c:362
↓ 2 callers
Function
set_long_with_suffix
ccan/ccan/opt/helpers.c:333
↓ 2 callers
Function
set_node_bias
plugins/askrene/layer.c:351
↓ 2 callers
Method
set_option_str
(&self, name: &str, value: options::Value)
plugins/src/lib.rs:750
↓ 2 callers
Function
set_remote_upfront_shutdown
openingd/openingd.c:257
↓ 2 callers
Function
set_remote_upfront_shutdown
openingd/dualopend.c:1087
↓ 2 callers
Function
set_reserve
We always set channel_reserve_satoshis to 1%, rounded down. */
openingd/openingd.c:173
↓ 2 callers
Function
set_tcp_no_delay
Nagle had a good idea of making networking more efficient by * inserting a delay, creating a trap for every author of network code * everywhere. */
connectd/connectd.c:550
↓ 2 callers
Function
set_uint_with_suffix
ccan/ccan/opt/helpers.c:375
↓ 2 callers
Function
set_ulong_with_suffix
ccan/ccan/opt/helpers.c:347
← previous
next →
3,701–3,800 of 16,782, ranked by callers