MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

↓ 3 callersFunctionhtlc_is_trimmed
If this htlc too small to create an output on @side's commitment tx? */
common/htlc_trim.c:6
↓ 3 callersFunctionhtlc_out_update_state
lightningd/peer_htlcs.c:78
↓ 3 callersFunctionhtlc_success_fee
common/htlc_tx.h:41
↓ 3 callersFunctionhtlc_timeout_fee
common/htlc_tx.h:15
↓ 3 callersFunctionilog64_nz
ccan/ccan/ilog/ilog.c:137
↓ 3 callersMethodinit
Decorator to add a function called after plugin initialization
contrib/pyln-client/pyln/client/plugin.py:610
↓ 3 callersFunctioninit_changeset
openingd/dualopend.c:1615
↓ 3 callersFunctioninit_globals
This function should be called at the start of each fuzz iteration to reset * globals to their initial values. */
tests/fuzz/connectd_handshake.h:105
↓ 3 callersFunctioninit_property
ccan/ccan/tal/tal.c:318
↓ 3 callersFunctioninput_fe
Helper to input a single field element in the checksum engine. */
common/codex32.c:115
↓ 3 callersFunctioninputs_sufficient
* inputs_sufficient - are we there yet? * @input: total input amount * @amount: required output amount * @feerate_per_kw: feerate we have to pay *
wallet/reservation.c:234
↓ 3 callersMethodinsert
(&self, id: String)
plugins/lsps-plugin/src/core/transport.rs:68
↓ 3 callersFunctionint2msat
(amount: int)
contrib/pyln-testing/pyln/testing/grpc.py:50
↓ 3 callersFunctionintmap_first_
ccan/ccan/intmap/intmap.c:159
↓ 3 callersMethodinto_result
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:131
↓ 3 callersFunctioninvalid_argument
(field: &str, err: impl std::fmt::Display)
cln-grpc/src/convert.rs:7462
↓ 3 callersFunctioninvalid_last_tx
lightningd/peer_control.c:291
↓ 3 callersFunctioninvoice_decode_minimal
common/bolt12.c:620
↓ 3 callersFunctioninvoice_secret
We derive invoice secret using 1-way function from payment_preimage * (just a different one from the payment_hash!) */
lightningd/invoice.c:138
↓ 3 callersFunctioninvoice_status_str
lightningd/invoice.c:28
↓ 3 callersFunctioninvreq_invreq_id
common/bolt12.c:1061
↓ 3 callersFunctionio_conn_out_exclusive
ccan/ccan/io/io.c:133
↓ 3 callersFunctionio_halfclose
ccan/ccan/io/io.c:552
↓ 3 callersFunctionio_plan_out_started
ccan/ccan/io/io.c:586
↓ 3 callersFunctionio_wait_dir
ccan/ccan/io/io.c:356
↓ 3 callersMethodis_connected
(self, remote_node)
contrib/pyln-testing/pyln/testing/utils.py:1085
↓ 3 callersFunctionis_dnsaddr
The rules to check for DNS FQDNs, see `man 7 hostname` * * - not longer than 255 * - labels are separated with . dot * - labels do not start or en
common/wireaddr.c:401
↓ 3 callersFunctionis_entering_stfu
We're trying to enter STFU mode now: don't start *new* conversations */
channeld/channeld.c:245
↓ 3 callersFunctionis_msat_request
msat fields can be raw integers, sats, btc.
contrib/pyln-testing/pyln/testing/fixtures.py:395
↓ 3 callersFunctionis_omitted
Omitted nodes in the tree are represented by all-0 hashes */
common/bolt12_merkle.c:132
↓ 3 callersMethodis_optional
You can omit a tlvstream= altogether
contrib/pyln-proto/pyln/proto/message/message.py:445
↓ 3 callersFunctionis_plugin_opt
lightningd/plugin.c:953
↓ 3 callersFunctionis_required
common/json_param.c:60
↓ 3 callersFunctionis_tlv_signature_field
BOLT #12: * Each form is signed using one or more *signature TLV elements*: TLV * types 240 through 1000 (inclusive). */
common/bolt12_merkle.c:19
↓ 3 callersFunctionis_usable
lightningd/channel_gossip.c:212
↓ 3 callersFunctionis_valid_witnessprog
BOLT #2: * 3. if (and only if) `option_shutdown_anysegwit` is negotiated: * * `OP_1` through `OP_16` inclusive, followed by a single *
common/shutdown_scriptpubkey.c:37
↓ 3 callersMethodis_varlen
(self)
tools/generate-wire.py:82
↓ 3 callersMethodis_varsize
A type is variably sized if it's marked as such (in varsize_types) or it contains a field of variable length
tools/generate-wire.py:364
↓ 3 callersFunctionjson_add_address_internal
common/json_stream.c:548
↓ 3 callersFunctionjson_add_attempt_fields
We can notify others of what the details are, so they can do their own * layer heuristics. */
plugins/xpay/xpay.c:628
↓ 3 callersFunctionjson_add_bip340sig
common/json_stream.c:444
↓ 3 callersFunctionjson_add_channel_type_arr
common/json_channel_type.c:50
↓ 3 callersFunctionjson_add_currencyrate
plugins/bkpr/bookkeeper.c:111
↓ 3 callersFunctionjson_add_datastore
lightningd/datastore.c:7
↓ 3 callersFunctionjson_add_events
plugins/bkpr/bookkeeper.c:732
↓ 3 callersFunctionjson_add_keypath
plugins/libplugin.c:861
↓ 3 callersFunctionjson_add_layer_key
plugins/askrene/layer.c:404
↓ 3 callersFunctionjson_add_offer_fields
plugins/offers.c:907
↓ 3 callersFunctionjson_add_payment
TODO add verbose option to include more or less details or change the schema, checkout docs/schema/renepay.schema.json and docs/schema/renepaystatus.s
plugins/renepay/json.c:256
↓ 3 callersFunctionjson_add_s32
common/json_stream.c:304
↓ 3 callersFunctionjson_add_s64
common/json_stream.c:292
↓ 3 callersFunctionjson_add_utf8
plugins/offers.c:859
↓ 3 callersFunctionjson_continue
()
plugins/lsps-plugin/src/service.rs:225
↓ 3 callersFunctionjson_dup_contents
common/json_parse.c:678
↓ 3 callersFunctionjson_escape_string_
ccan/ccan/json_escape/json_escape.c:6
↓ 3 callersFunctionjson_out_addstrn
ccan/ccan/json_out/json_out.c:316
↓ 3 callersFunctionjson_out_consume
ccan/ccan/json_out/json_out.c:383
↓ 3 callersFunctionjson_partial_escape
ccan/ccan/json_escape/json_escape.c:134
↓ 3 callersFunctionjson_populate_invreq
lightningd/offer.c:452
↓ 3 callersFunctionjson_scan
Generated stub for json_scan */
common/test/run-bolt11.c:60
↓ 3 callersFunctionjson_start
lightningd/jsonrpc.c:721
↓ 3 callersFunctionjson_to_pubkey
Generated stub for json_to_pubkey */
common/test/run-bolt11.c:97
↓ 3 callersFunctionjson_to_sat
common/json_parse.c:557
↓ 3 callersFunctionjson_to_short_channel_id_dir
common/json_parse.c:580
↓ 3 callersFunctionjson_tok_endswith
common/json_parse_simple.c:45
↓ 3 callersFunctionjson_tok_startswith
common/json_parse_simple.c:34
↓ 3 callersFunctionjsonrpc_finish_and_send
plugins/libplugin.c:432
↓ 3 callersFunctionjsonrpc_notification_end
lightningd/jsonrpc.c:1529
↓ 3 callersFunctionjsonrpc_request_sync
plugins/libplugin.c:818
↓ 3 callersFunctionjsonrpc_stream_success
Generated stub for jsonrpc_stream_success */
plugins/renepay/test/run-mcf.c:57
↓ 3 callersFunctionkeypair_for_letter
common/test/run-bolt12_proof_vectors.c:45
↓ 3 callersFunctionkill_uncommitted_channel
lightningd/opening_common.c:120
↓ 3 callersFunctionlayer_in
plugins/askrene/reserve.c:123
↓ 3 callersFunctionle64_nonce
common/cryptomsg.c:71
↓ 3 callersFunctionlease_rates_get_commitment
common/lease_rates.c:17
↓ 3 callersFunctionlightningd_deprecated_in_ok
Do we accept this? */
lightningd/lightningd.c:1055
↓ 3 callersFunctionlist_chain_fees
Generated stub for list_chain_fees */
plugins/bkpr/test/run-currencyrate_str.c:304
↓ 3 callersFunctionlist_chain_fees_timebox
FIXME: slow */
plugins/bkpr/onchain_fee.c:246
↓ 3 callersFunctionlist_channel_events_timebox
plugins/bkpr/recorder.c:468
↓ 3 callersFunctionload_indexes
wallet/db.c:463
↓ 3 callersFunctionlocal_fail_in_htlc_badonion
Immediately fail HTLC with a BADONION code */
lightningd/peer_htlcs.c:294
↓ 3 callersFunctionlockin_complete
lightningd/channel_control.c:1156
↓ 3 callersFunctionlog_channel_event
All chatgpt */
plugins/bkpr/test/run-recorder.c:408
↓ 3 callersFunctionlog_peer_io
Various cases where we don't send the msg to a gossipd, we want to * do IO logging! */
connectd/multiplex.c:908
↓ 3 callersFunctionlog_to_files
lightningd/log.c:374
↓ 3 callersFunctionmake_error
plugins/spender/splice.c:91
↓ 3 callersFunctionmake_literal
Helper: make a literal-only format with one entry */
plugins/bkpr/test/run-format_event.c:77
↓ 3 callersFunctionmake_ping
common/ping.c:40
↓ 3 callersFunctionmake_tlv_hop
BOLT #4: * * ### `payload` format * * This is formatted according to the Type-Length-Value format defined * in [BOLT #1](01-messaging.md#type-len
common/onion_encode.c:15
↓ 3 callersFunctionmap_catchup
Returns false only if must_be_clean is true. */
common/gossmap.c:819
↓ 3 callersFunctionmap_del
gossipd/gossmap_manage.c:244
↓ 3 callersFunctionmap_get
gossipd/gossmap_manage.c:269
↓ 3 callersFunctionmap_nodeid
common/gossmap.c:161
↓ 3 callersFunctionmap_replace
bitcoin/psbt.c:716
↓ 3 callersFunctionmarginal_feerate
The calculation starts with a 100% margin at very low fees, since * they are likely to rise, and can do so quickly, whereas on the * higher fee side
common/fee_states.c:166
↓ 3 callersMethodmark_success
(&mut self)
plugins/currencyrate-plugin/src/oracle.rs:183
↓ 3 callersFunctionmatch_htlc_output
Return tal_arr of htlc indexes. */
onchaind/onchaind.c:2173
↓ 3 callersFunctionmatches_chan_id
common/splice_script.c:1422
↓ 3 callersFunctionmatches_direction
They must all be in the same direction, since the scripts are different for * each dir. Unless, of course, they've found a sha256 clash. */
onchaind/onchaind.c:2206
↓ 3 callersFunctionmaxhops_gossip
A cheap long route from 0 to 1000 and a high fee short one.
tests/test_askrene.py:2754
← previousnext →2,201–2,300 of 16,782, ranked by callers