MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

↓ 3 callersFunctionencrypt_ad
BOLT #8: * * `encryptWithAD(k, n, ad, plaintext)`: outputs `encrypt(k, n, ad, * plaintext)` * * Where `encrypt` is an evaluation of `Ch
connectd/handshake.c:280
↓ 3 callersFunctionenctlv_from_encmsg_raw
common/blindedpath.c:54
↓ 3 callersFunctionexclusive
Return pointer to exclusive flag for this plan. */
ccan/ccan/io/poll.c:283
↓ 3 callersMethodexpect_err
(self, msg: &str)
plugins/lsps-plugin/src/proto/jsonrpc.rs:169
↓ 3 callersFunctionfail_inv
plugins/offers_inv_hook.c:64
↓ 3 callersFunctionfeature_bit_to_hex
Returns a single feature_bit in hex representation, least-significant bit first. # Arguments `feature_bit`: The 0-based index of the bit to check ac
plugins/lsps-plugin/src/core/features.rs:57
↓ 3 callersFunctionfeature_name
common/features.c:404
↓ 3 callersFunctionfeaturebits_eq
common/features.c:549
↓ 3 callersFunctionfeaturebits_or
common/features.c:516
↓ 3 callersFunctionfeerate_for_target
feerate_for_deadline, but really lowball for distant targets */
lightningd/chaintopology.c:451
↓ 3 callersFunctionfeerate_to_style
bitcoin/feerate.c:28
↓ 3 callersMethodfilter_halfchannels
Filters half-channels using an arbitrary function or lambda predicate.
contrib/pyln-client/pyln/client/gossmapstats.py:25
↓ 3 callersMethodfilters
(mut self, filters: Vec<HookFilter>)
plugins/src/lib.rs:599
↓ 3 callersFunctionfind_chain_events_bytxid
plugins/bkpr/recorder.c:520
↓ 3 callersFunctionfind_channel_output
channeld/channeld.c:3343
↓ 3 callersFunctionfind_channel_pending_open
plugins/funder.c:47
↓ 3 callersFunctionfind_cmd
lightningd/jsonrpc.c:501
↓ 3 callersFunctionfind_column
plugins/sql.c:316
↓ 3 callersFunctionfind_commando
NULL peer: don't care about peer. NULL id: don't care about id */
plugins/commando.c:69
↓ 3 callersFunctionfind_connect
Finds first command which matches. */
lightningd/connect_control.c:45
↓ 3 callersFunctionfind_connecting
~ Most simple search functions start with find_; in this case, search * for an existing attempt to connect the given peer id. */
connectd/connectd.c:100
↓ 3 callersFunctionfind_ptr
ccan/ccan/opt/test/run-set_alloc.c:34
↓ 3 callersFunctionfind_txout
openingd/dualopend.c:728
↓ 3 callersFunctionfixme_ignore
Transition for ignoring command */
lightningd/jsonrpc.h:163
↓ 3 callersFunctionflow_max_deliverable
TODO: unit test: -> make a path -> compute x = flow_max_deliverable -> check that htlc_max are all satisfied -> check that (x+1) at least one htlc_max
plugins/askrene/child/refine.c:199
↓ 3 callersFunctionflow_probability
Helper function to find the success_prob for a single flow * * IMPORTANT: flow->success_prob is misleading, because that's the prob. of * success p
plugins/renepay/flow.c:436
↓ 3 callersFunctionflow_to_route
Construct a route from a flow. * * @ctx: allocator * @groupid, @partid, @payment_hash: unique identification keys for this route * @final_cltv: fi
plugins/renepay/route.c:34
↓ 3 callersFunctionflowset_probability
@ctx: allocator * @flows: flows for which the probability is computed * @gossmap: gossip * @chan_extra_map: knowledge * @compute_fees: compute fee
plugins/renepay/flow.c:243
↓ 3 callersMethodflush
(self)
contrib/pyln-testing/pyln/testing/utils.py:2041
↓ 3 callersFunctionflush_comma
common/test/run-onion-message-test.c:52
↓ 3 callersFunctionfmt_amount_m_as_sat
common/amount.c:70
↓ 3 callersFunctionfmt_flow_full
plugins/askrene/child/flow.c:198
↓ 3 callersFunctionfmt_time
devtools/bolt12-cli.c:44
↓ 3 callersFunctionfmt_wireaddr_without_port
common/wireaddr.c:274
↓ 3 callersFunctionforward_index_inc
lightningd/forwards.c:12
↓ 3 callersFunctionforward_style_in_db
Wrapper to ensure types don't change, and we don't insert/extract * invalid ones from db */
wallet/wallet.h:143
↓ 3 callersFunctionfree_htlcs
If channel is NULL, free them all (for shutdown) */
lightningd/peer_htlcs.c:2917
↓ 3 callersFunctionfrom_bech32_charset
common/bech32_util.c:74
↓ 3 callersMethodfrom_hex
(cls, h)
contrib/pyln-proto/pyln/proto/onion.py:165
↓ 3 callersFunctionfrom_number
common/amount.c:151
↓ 3 callersFunctionfromwire_hsmd_derive_secret_reply
Generated stub for fromwire_hsmd_derive_secret_reply */
wallet/test/run-wallet.c:339
↓ 3 callersFunctionfromwire_opt_wirestring
plugins/askrene/datastore_wire.c:72
↓ 3 callersFunctionfromwire_peektypen
wire/fromwire.c:44
↓ 3 callersFunctionfromwire_preimage
bitcoin/preimage.c:6
↓ 3 callersFunctionfromwire_s64
wire/fromwire.c:110
↓ 3 callersFunctionfromwire_tlv
Generated stub for fromwire_tlv */
common/test/run-json.c:20
↓ 3 callersFunctionfromwire_tlv_invoice_request
Generated stub for fromwire_tlv_invoice_request */
common/test/run-tlv_span.c:58
↓ 3 callersFunctionfromwire_tlv_uint
wire/fromwire.c:115
↓ 3 callersFunctionfromwire_wirestring
* Don't allow control chars except spaces: we only use this for stuff * from subdaemons, who shouldn't do that. */
wire/fromwire.c:265
↓ 3 callersFunctionfundamental_types
()
contrib/pyln-proto/pyln/proto/message/fundamental_types.py:252
↓ 3 callersMethodfundchannel
(self, l2, amount=FUNDAMOUNT, wait_for_active=True, announce_channel=True, **kwargs)
contrib/pyln-testing/pyln/testing/utils.py:1226
↓ 3 callersFunctionfunder_opt_name
plugins/funder_policy.c:10
↓ 3 callersFunctionfunder_policy_desc
plugins/funder_policy.c:51
↓ 3 callersFunctionfunding_queue_join
plugins/funder.c:437
↓ 3 callersFunctiongather_args
plugins/bcli.c:122
↓ 3 callersFunctiongather_utxos
wallet/wallet.c:470
↓ 3 callersMethodgenerate_composite
Generates the conversions from JSON-RPC to GRPC.
contrib/msggen/msggen/gen/grpc/convert.py:20
↓ 3 callersFunctionget_anchor_scriptpubkeys
onchaind/onchaind.c:2245
↓ 3 callersFunctionget_chainhash
gossipd/test/run-extended-info.c:115
↓ 3 callersFunctionget_channel_seed
Taken from hsmd. */
tools/lightning-hsmtool.c:252
↓ 3 callersFunctionget_chunks
tests/fuzz/libfuzz.c:58
↓ 3 callersMethodget_db
(self, node_directory: str, testname: str, node_id: int)
contrib/pyln-testing/pyln/testing/db.py:140
↓ 3 callersFunctionget_encryption_key
common/hsm_secret.c:53
↓ 3 callersFunctionget_gossmap
plugins/libplugin-pay.c:49
↓ 3 callersFunctionget_gossmap
This refreshes the gossmap. */
plugins/xpay/xpay.c:65
↓ 3 callersMethodget_hop_params
(self)
contrib/pyln-proto/pyln/proto/onion.py:561
↓ 3 callersFunctionget_log_entry
Returns in-place, but copies if it has to. Updates *off. */
lightningd/log.c:178
↓ 3 callersFunctionget_more
ccan/ccan/rbuf/rbuf.c:30
↓ 3 callersFunctionget_raw_gossmap
plugins/libplugin-pay.c:39
↓ 3 callersMethodget_subtype
(self, name: str)
contrib/pyln-proto/pyln/proto/message/message.py:86
↓ 3 callersMethodgetlog
Show logs, with optional log {level} (info|unusual|debug|trace).
contrib/pyln-client/pyln/client/lightning.py:857
↓ 3 callersFunctiongit
(cmd)
devtools/changelog.py:29
↓ 3 callersFunctiongossip_rcvd_filter_age
Flush out old entries. */
connectd/gossip_rcvd_filter.c:156
↓ 3 callersFunctiongossip_store_fsync
gossipd/gossip_store.c:445
↓ 3 callersFunctiongossip_store_get_timestamp
gossipd/gossip_store.c:640
↓ 3 callersFunctiongossmap_chan_byidx
common/gossmap.c:222
↓ 3 callersFunctiongossmap_chan_get_features
common/gossmap.c:1683
↓ 3 callersFunctiongossmap_iter_new
For iterating the gossmap: returns iterator at start. */
common/gossmap.c:1859
↓ 3 callersFunctiongossmap_local_setchan
common/gossmap.c:1206
↓ 3 callersFunctiongossmap_node_byidx
common/gossmap.c:214
↓ 3 callersFunctiongossmap_num_chans
common/gossmap.c:1580
↓ 3 callersFunctiongossmap_num_nodes
common/gossmap.c:1547
↓ 3 callersFunctiongrab_fd_internal
ccan/ccan/tal/grab_file/grab_file.c:11
↓ 3 callersMethodgraceful
( &self, request: tonic::Request<pb::GracefulRequest>, )
cln-grpc/src/server.rs:4954
↓ 3 callersFunctiongrind_htlc_tx_fee
We vary feerate until signature they offered matches. */
onchaind/onchaind.c:419
↓ 3 callersFunctionhandle_dev_memleak
FIXME: dualopend doesn't always listen to lightningd, so we call this * at closing time, rather than when it asks. */
openingd/dualopend.c:1103
↓ 3 callersFunctionhandle_send_tx_sigs
openingd/dualopend.c:1493
↓ 3 callersFunctionhandle_sign_to_us_tx
~ This covers several cases where onchaind is creating a transaction which * sends funds to our internal wallet. */ FIXME: Derive output address for
hsmd/libhsmd.c:647
↓ 3 callersFunctionhandle_tx_abort
openingd/dualopend.c:1623
↓ 3 callersFunctionhas_matching_peer_sigs
lightningd/channel_gossip.c:227
↓ 3 callersFunctionhas_scid
lightningd/channel_gossip.c:220
↓ 3 callersFunctionhash_ptr
common/memleak.c:82
↓ 3 callersFunctionhex_bits
(features)
tests/utils.py:32
↓ 3 callersMethodhook
Add a hook subscription for `hookname` with a raw [`serde_json::Value`] request and response. Prefer [`Builder::hook_typed`] for type-safe hooks, or [
plugins/src/lib.rs:203
↓ 3 callersMethodhook_from_builder
Add a hook subscription using a [`HookBuilder`], which allows configuring `before`, `after`, and `filters` in addition to the callback. Use [`HookBuil
plugins/src/lib.rs:225
↓ 3 callersFunctionhsmd_status_fmt
hsmd/hsmd.c:697
↓ 3 callersFunctionhtable_check
ccan/ccan/htable/htable.c:471
↓ 3 callersFunctionhtlc_accepted_continue
plugins/keysend.c:304
↓ 3 callersFunctionhtlc_arr_append
channeld/full_channel.c:117
↓ 3 callersFunctionhtlc_get
channeld/channeld_htlc.h:65
← previousnext →2,101–2,200 of 16,782, ranked by callers