MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

↓ 1 callersFunctionfind_local_address
We need to have a bound address we can tell Tor to connect to */
connectd/connectd.c:1434
↓ 1 callersFunctionfind_log_file
lightningd/log.c:828
↓ 1 callersMethodfind_message
(self, name)
tools/generate-wire.py:426
↓ 1 callersMethodfind_message
(self, msg_name)
tools/generate-wire.py:476
↓ 1 callersFunctionfind_my_directory
Returns the directory this executable is running from */
lightningd/lightningd.c:526
↓ 1 callersFunctionfind_opt
tests/fuzz/libfuzz.c:148
↓ 1 callersFunctionfind_optimal_path
TODO(eduardo): unit test this Similar to `find_admissible_path` but use Dijkstra to optimize the distance * label. Stops when the target is hit. */
plugins/renepay/mcf.c:1004
↓ 1 callersFunctionfind_param
common/json_param.c:137
↓ 1 callersFunctionfind_parent
ccan/ccan/tal/str/test/run-strreg.c:6
↓ 1 callersFunctionfind_path_or_cycle
Search in the network a path of positive flow until we reach a node with * positive balance (returns a node idx with positive balance) * or we disco
plugins/askrene/child/mcf.c:712
↓ 1 callersFunctionfind_peer_by_dbid
Generated stub for find_peer_by_dbid */
wallet/test/run-db.c:86
↓ 1 callersFunctionfind_peer_storage
plugins/recover.c:93
↓ 1 callersFunctionfind_ping_command
lightningd/ping.c:22
↓ 1 callersFunctionfind_positive_balance
Search in the network a path of positive flow until we reach a node with * positive balance. */
plugins/renepay/mcf.c:1186
↓ 1 callersFunctionfind_print_record_type
devtools/print_wire.c:286
↓ 1 callersFunctionfind_property_ptr
Returns a pointer to the pointer: can cast (*ret) to a (struct prop_ptr *) */
ccan/ccan/tal/tal.c:268
↓ 1 callersFunctionfind_quote
Search for text (with '...' wildcards) across boltsections. Returns (section_idx, start, end) of the match, or (-1, 0, 0) on failure. When a
devtools/check_quotes.py:159
↓ 1 callersFunctionfind_quote_immediate
Find text in section starting immediately at position start. Allows a single space separator (whitespace is already collapsed to single space
devtools/check_quotes.py:205
↓ 1 callersFunctionfind_report_tag
plugins/bkpr/report.c:207
↓ 1 callersFunctionfind_reservation
plugins/askrene/child/refine.c:51
↓ 1 callersFunctionfind_sent_by_secret
plugins/fetchinvoice.c:57
↓ 1 callersFunctionfind_subdaemons_and_plugins
Determine the correct daemon dir. */
lightningd/lightningd.c:574
↓ 1 callersFunctionfind_suffix
Returns point in str that starts match of suffix. */
common/splice_script.c:536
↓ 1 callersFunctionfind_sum_for_txid
plugins/bkpr/bookkeeper.c:203
↓ 1 callersFunctionfind_tal_ptr
Stupid and slow, but machines are fast! */
connectd/connectd.c:2204
↓ 1 callersMethodfind_template
(self, options)
tools/generate-wire.py:509
↓ 1 callersFunctionfind_test
ccan/tools/configurator/configurator.c:664
↓ 1 callersMethodfind_tlv
(self, tlv_name)
tools/generate-wire.py:481
↓ 1 callersFunctionfind_tlv_num
common/bolt12_proof.c:288
↓ 1 callersFunctionfind_txo_set
plugins/bkpr/recorder.c:87
↓ 1 callersFunctionfind_txos_for_tx
plugins/bkpr/recorder.c:61
↓ 1 callersMethodfind_type
(self, type_name)
tools/generate-wire.py:473
↓ 1 callersFunctionfind_vals
ccan/ccan/htable/test/run-debug.c:69
↓ 1 callersFunctionfind_vals
ccan/ccan/htable/test/run.c:59
↓ 1 callersFunctionfind_vals
ccan/ccan/htable/test/run-type-int.c:62
↓ 1 callersFunctionfind_vals
ccan/ccan/htable/test/run-type.c:60
↓ 1 callersFunctionfinish_and_send_json
This closes a JSON response and writes it out. */
plugins/libplugin.c:564
↓ 1 callersFunctionfinish_report
lightningd/memdump.c:120
↓ 1 callersFunctionfinish_td
Creates sql statements, initializes table */
plugins/sql.c:1607
↓ 1 callersFunctionfinish_txprepare
plugins/txprepare.c:228
↓ 1 callersFunctionfinished
ccan/ccan/io/benchmarks/run-stream-many.c:34
↓ 1 callersFunctionfinished_arg
common/configdir.c:228
↓ 1 callersFunctionfirst_child
ccan/ccan/list/test/compile_ok-constant.c:17
↓ 1 callersFunctionfirst_child
Start one past first child: make stopping natural in circ. list. */
ccan/ccan/tal/tal.c:743
↓ 1 callersFunctionfirst_for_level
Update level's first watermark, and return overall first. */
ccan/ccan/timer/timer.c:205
↓ 1 callersFunctionfirst_node_with_unused_chan
Searches through both tokensA and tokensB. */
common/splice_script.c:1440
↓ 1 callersFunctionfive_hundred_params
* A roundabout way of initializing an array of ints to: * ints[0] = 0, ints[1] = 1, ... ints[499] = 499 */
common/test/run-param.c:438
↓ 1 callersFunctionfix_file_includes
Fix include ordering in a file. Returns: bool: True if file was modified, False otherwise
devtools/include-order-fixer.py:297
↓ 1 callersFunctionfixed_string
This reuses str if we're to take it. */
ccan/ccan/tal/path/path.c:485
↓ 1 callersFunctionfixup_char
Returns a char, tracks case. */
common/bech32_util.c:63
↓ 1 callersFunctionfixup_hin
wallet/wallet.c:3768
↓ 1 callersFunctionfixup_hout
lightningd/peer_htlcs.c:3120
↓ 1 callersFunctionfixup_htlcs_out
lightningd/peer_htlcs.c:3165
↓ 1 callersFunctionfixup_scan
lightningd/chaintopology.c:1633
↓ 1 callersFunctionfixup_sig
wallet/psbt_fixup.c:128
↓ 1 callersFunctionflat_json
Returns number of tokens digested */
cli/lightning-cli.c:78
↓ 1 callersFunctionflow_adjust_htlcmax_constraints
Shave-off amounts that do not meet the liquidity constraints. Disable * channels that produce an htlc_max bottleneck. */
plugins/renepay/routebuilder.c:18
↓ 1 callersFunctionflow_delay
plugins/askrene/child/flow.c:157
↓ 1 callersFunctionflow_delay
plugins/renepay/flow.c:468
↓ 1 callersFunctionflow_delivers
plugins/renepay/flow.h:62
↓ 1 callersFunctionflow_min_deliverable
TODO: unit test: -> make a path -> compute x = path_min_deliverable -> check that htlc_min are all satisfied -> check that (x-1) at least one htlc_min
plugins/askrene/child/refine.c:227
↓ 1 callersFunctionflow_spend
plugins/askrene/child/flow.c:71
↓ 1 callersFunctionflow_spend
plugins/renepay/flow.c:353
↓ 1 callersFunctionflows_probability
plugins/askrene/child/refine.c:676
↓ 1 callersFunctionflows_short
Return true (and set shortage) if flow doesn't deliver this much */
plugins/askrene/child/refine.c:436
↓ 1 callersFunctionflows_to_routes
plugins/renepay/route.c:85
↓ 1 callersFunctionflows_worst_delay
plugins/askrene/child/flow.c:165
↓ 1 callersFunctionflows_worst_length
plugins/askrene/child/flow.c:176
↓ 1 callersFunctionflowset_delivers
How much do we deliver to destination using this set of routes */
plugins/askrene/child/flow.c:21
↓ 1 callersFunctionflowset_fee
plugins/askrene/child/flow.c:103
↓ 1 callersFunctionflowset_fee
plugins/renepay/flow.c:392
↓ 1 callersFunctionflowset_size
FIXME: pass a pointer to const here */
plugins/renepay/flow.c:181
↓ 1 callersFunctionflush_and_exit
common/status.c:170
↓ 1 callersFunctionfmt_amount_msat
Generated stub for fmt_amount_msat */
common/test/run-sphinx.c:71
↓ 1 callersFunctionfmt_amount_sat
Generated stub for fmt_amount_sat */
common/test/run-json_stream-filter.c:64
↓ 1 callersFunctionfmt_channel
FIXME: This should reference HTLCs somehow, and feerates! */
common/initial_channel.c:239
↓ 1 callersFunctionfmt_channel_view
common/initial_channel.c:230
↓ 1 callersFunctionfmt_cond
lightningd/runes.c:275
↓ 1 callersFunctionfmt_indexes
plugins/sql.c:2100
↓ 1 callersFunctionfmt_reservations
plugins/askrene/reserve.c:200
↓ 1 callersFunctionfmt_ripemd160
bitcoin/tx.c:749
↓ 1 callersFunctionfmt_route
plugins/askrene/child/child.c:45
↓ 1 callersFunctionfmt_scriptpubkey
plugins/bwatch/bwatch_store.c:300
↓ 1 callersFunctionfmt_secp256k1_pubkey
bitcoin/pubkey.c:73
↓ 1 callersFunctionfmt_time
devtools/bolt11-cli.c:70
↓ 1 callersMethodforce_feerates
(self, rate)
contrib/pyln-testing/pyln/testing/utils.py:1509
↓ 1 callersFunctionforge_rune
Mint a rune with no restriction but its unique_id from a master secret. The authcode is the SHA256 state after the secret and each restriction,
tests/test_runes.py:923
↓ 1 callersFunctionforget_channel
lightningd/channel_control.c:1492
↓ 1 callersFunctionfork_close
Open a pipe, fork, do closefrom in child, read pipe from parent, * parent should see EOF. */
ccan/ccan/closefrom/test/run.c:44
↓ 1 callersFunctionfork_communicate
Open a pipe, fork, in child set the write end to fd #3, * in parent set the read end to fd #3, send a byte from * child to parent, check. */
ccan/ccan/closefrom/test/run.c:89
↓ 1 callersFunctionforward_event_notification_serialize
lightningd/notification.c:348
↓ 1 callersFunctionforward_htlc
forward_to is where we're actually sending it (or NULL), and * forward_scid is where they asked to send it (or NULL). */
lightningd/peer_htlcs.c:856
↓ 1 callersFunctionforward_index_created
Generated stub for forward_index_created */
wallet/test/run-db.c:89
↓ 1 callersFunctionforward_index_deleted
Generated stub for forward_index_deleted */
wallet/test/run-db.c:97
↓ 1 callersFunctionforward_index_update_status
Generated stub for forward_index_update_status */
wallet/test/run-db.c:105
↓ 1 callersFunctionforward_style_name
lightningd/forwards.h:82
↓ 1 callersFunctionforwarding_details
wallet/wallet.c:5768
↓ 1 callersFunctionforwarding_first
wallet/wallet.c:5613
↓ 1 callersFunctionfree_all_channels
~ We like to free everything on exit, so valgrind doesn't complain (valgrind * is an awesome runtime memory usage detector for C and C++ programs). I
lightningd/lightningd.c:606
↓ 1 callersFunctionfree_mallocs
ccan/ccan/tal/benchmark/samba-allocs.c:213
← previousnext →5,201–5,300 of 16,782, ranked by callers