MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,249 in github.com/ElementsProject/lightning

↓ 20 callersMethodcall_typed
Performs an rpc-call and performs type-checking. ```no_run use cln_rpc::ClnRpc; use cln_rpc::model::requests::GetinfoRequest; use std::path::Path; us
cln-rpc/src/lib.rs:318
↓ 20 callersFunctioncrc32c
Compute a CRC-32C. If the crc32 instruction is available, use the hardware version. Otherwise, use the software version. */
ccan/ccan/crc32c/crc32c.c:254
↓ 20 callersFunctiondb_bind_blob
db/bindings.c:87
↓ 20 callersFunctionhttp_session_with_retry
()
tests/test_clnrest.py:21
↓ 20 callersFunctionopt_parse
Parse your arguments. */
ccan/ccan/opt/opt.c:221
↓ 20 callersMethodplugin_start
Adds a plugin to lightningd.
contrib/pyln-client/pyln/client/lightning.py:1344
↓ 20 callersFunctionpsbt_get_serial_id
common/psbt_open.c:12
↓ 20 callersFunctionpubkey_from_secret
bitcoin/pubkey.c:36
↓ 20 callersFunctionxpay_of
plugins/xpay/xpay.c:57
↓ 19 callersFunctioncommand_param_failed
Generated stub for command_param_failed */
wallet/test/run-wallet.c:188
↓ 19 callersFunctioncommand_success
Generated stub for command_success */
wallet/test/run-wallet.c:199
↓ 19 callersFunctiondb_col_txid
db/bindings.c:622
↓ 19 callersFunctionfromwire_u16
wire/fromwire.c:68
↓ 19 callersMethodgetnewaddress
(self)
contrib/pyln-testing/pyln/testing/utils.py:640
↓ 19 callersFunctionhandler
(api: MockApi)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:466
↓ 19 callersMethodremove
Remove a record by type.
plugins/lsps-plugin/src/core/tlv.rs:147
↓ 19 callersFunctionsend_outreq
Generated stub for send_outreq */
plugins/bkpr/test/run-currencyrate_str.c:403
↓ 19 callersFunctionserialize_onionpacket
common/sphinx.c:179
↓ 19 callersMethodsetchannel
Set configuration a channel/peer {id} (or 'all'). {feebase} is a value in millisatoshi that is added as base fee to any routed paymen
contrib/pyln-client/pyln/client/lightning.py:1442
↓ 19 callersFunctionshort_channel_id_from_str
bitcoin/short_channel_id.c:40
↓ 19 callersFunctiontal_cleanup
This means valgrind can see leaks. */
ccan/ccan/tal/tal.c:114
↓ 19 callersFunctiontime_between
* time_between - time between two absolute times * @recent: the larger time. * @old: the smaller time. * * This returns a well formed struct timer
ccan/ccan/time/time.h:384
↓ 19 callersFunctiontimers_init
ccan/ccan/timer/timer.c:54
↓ 19 callersFunctiontowire_u16
wire/towire.c:24
↓ 19 callersMethodunwrap_err
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:165
↓ 18 callersFunctionaccount_balance
(n, account_id)
tests/utils.py:182
↓ 18 callersFunctioncommand_fail
Generated stub for command_fail */
wallet/test/run-wallet.c:167
↓ 18 callersFunctioncommand_param_failed
Generated stub for command_param_failed */
plugins/bkpr/test/run-currencyrate_str.c:103
↓ 18 callersFunctioncpu_to_be64
* cpu_to_be64 - convert a uint64_t value to big endian. * @native: value to convert */
ccan/ccan/endian/endian.h:297
↓ 18 callersFunctioncreate_psbt
bitcoin/psbt.c:19
↓ 18 callersFunctionfromwire_u64
wire/fromwire.c:86
↓ 18 callersFunctionget_offers_data
plugins/offers.c:37
↓ 18 callersFunctiongossmap_chan_get_capacity
common/gossmap.c:1475
↓ 18 callersFunctionhkdf_sha256
ccan/ccan/crypto/hkdf_sha256/hkdf_sha256.c:7
↓ 18 callersFunctionhsmd_status_bad_request_fmt
hsmd/libhsmd.c:228
↓ 18 callersFunctioninvoice_decode
common/bolt12.c:545
↓ 18 callersFunctionio_set_plan
ccan/ccan/io/io.c:553
↓ 18 callersFunctionjson_add_amount_sat_msat
common/json_stream.c:636
↓ 18 callersFunctionjson_add_preimage
common/json_stream.c:665
↓ 18 callersFunctionjson_out_contents
ccan/ccan/json_out/json_out.c:355
↓ 18 callersFunctionjson_parse_simple
common/json_parse_simple.c:537
↓ 18 callersFunctionjson_stream_success
Generated stub for json_stream_success */
wallet/test/run-wallet.c:449
↓ 18 callersFunctionpayment_continue
Advance the payment virtual machine */
plugins/renepay/mods.c:27
↓ 18 callersFunctionpeer_billboard
Generated stub for peer_billboard */
onchaind/test/run-grind_feerate-bug.c:173
↓ 18 callersFunctionpsbt_txid
bitcoin/psbt.c:986
↓ 18 callersFunctionsha256_init
ccan/ccan/crypto/sha256/sha256.c:35
↓ 18 callersFunctionstart_node_with_clnrest
Start a node with the clnrest plugin, whose options are the default options. Return: - the node, - the base url and - the certificate
tests/test_clnrest.py:134
↓ 18 callersFunctiontime_divide
ccan/ccan/time/time.c:39
↓ 18 callersFunctionto_string
tests/fuzz/libfuzz.c:71
↓ 17 callersFunctionadd_op
bitcoin/script.c:43
↓ 17 callersFunctionchannel_fail_permanent
lightningd/channel.c:1112
↓ 17 callersFunctionchannel_state_uncommitted
Not even in the database yet? */
lightningd/channel.h:701
↓ 17 callersFunctiondb_bind_text
db/bindings.c:95
↓ 17 callersFunctionget_channel_seed
~ This gets the seed for this particular channel. */
hsmd/libhsmd.c:328
↓ 17 callersFunctiongossmap_manage_get_gossmap
gossipd/gossmap_manage.c:1531
↓ 17 callersFunctiongossmap_max_chan_idx
common/gossmap.c:192
↓ 17 callersFunctiongraph_max_num_arcs
plugins/askrene/child/graph.h:61
↓ 17 callersFunctionio_conn_fd
ccan/ccan/io/io.c:525
↓ 17 callersFunctionjson_to_bool
Generated stub for json_to_bool */
common/test/run-bolt11.c:70
↓ 17 callersFunctionmap_copy
Accessors for the gossmap */
common/gossmap.c:104
↓ 17 callersFunctionnew_json_stream
common/json_stream.c:27
↓ 17 callersFunctionoffer_status_active
wallet/wallet.h:1455
↓ 17 callersFunctionparse_amount_msat
Valid strings: * [0-9]+ => millisatoshi. * [0-9]+msat => millisatoshi. * [0-9]+sat => *1000 -> millisatoshi. * [0-9]+.[0-9]{1,11}btc => millis
common/amount.c:200
↓ 17 callersFunctionplugin_err
Generated stub for plugin_err */
plugins/renepay/test/run-mcf.c:66
↓ 17 callersFunctionplugin_log
Generated stub for plugin_log */
plugins/renepay/test/run-mcf.c:69
↓ 17 callersFunctionshort_channel_id_blocknum
bitcoin/short_channel_id.h:57
↓ 17 callersMethodsplice_update
Update a splice
contrib/pyln-client/pyln/client/lightning.py:1310
↓ 17 callersFunctionstart_commit_timer
channeld/channeld.c:1553
↓ 17 callersFunctiontimer_complete
plugins/libplugin.c:622
↓ 17 callersFunctiontmpdir_mkstemp
common/utils.c:216
↓ 17 callersFunctiontowire
Generated stub for towire */
common/test/run-base64.c:85
↓ 17 callersFunctiontowire_warningfmt
common/wire_error.c:62
↓ 17 callersMethodvalidate
( &self, secret: &[u8], payment_size_msat: Option<Msat>, receivable: Option<Ms
plugins/lsps-plugin/src/proto/lsps2.rs:178
↓ 16 callersFunctionPRINTF_FMT
(2,3)
plugins/libplugin.c:2009
↓ 16 callersMethodadd_option
Add an option that we'd like to register with lightningd. Needs to be called before `Plugin.run`, otherwise we might not end up getti
contrib/pyln-client/pyln/client/plugin.py:447
↓ 16 callersFunctionamount_msat_to_sat_round_down
You can always truncate millisatoshis->satoshis. */
common/amount.c:33
↓ 16 callersFunctionbe64_to_cpu
* be64_to_cpu - convert a big-endian uint64_t value * @be_val: big-endian value to convert */
ccan/ccan/endian/endian.h:324
↓ 16 callersFunctionchannel_type_has_anchors
common/channel_type.c:81
↓ 16 callersMethodcompile
(self)
contrib/pyln-proto/pyln/proto/onion.py:517
↓ 16 callersMethodconfiguration
return the cln configuration send to the plugin after the initialization.
plugins/src/lib.rs:871
↓ 16 callersFunctiondb_col_amount_msat
db/bindings.c:554
↓ 16 callersFunctiondb_col_strdup
db/bindings.c:326
↓ 16 callersFunctiondebug_tal
ccan/ccan/tal/tal.c:209
↓ 16 callersFunctionfromwire_u8
wire/fromwire.c:59
↓ 16 callersFunctiongenerate_gossip_store
Returns a gossip store file with the given channels in it, and a map of node labels -> ids
tests/utils.py:513
↓ 16 callersFunctiongossmap_chan_get_update_details
BOLT #7: * 1. type: 258 (`channel_update`) * 2. data: * * [`signature`:`signature`] * * [`chain_hash`:`chain_hash`] * * [`short_chann
common/gossmap.c:1728
↓ 16 callersMethodhandle
(&self, htlc: &Htlc, onion: &Onion)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:102
↓ 16 callersFunctionhandler
(api: MockApi)
plugins/lsps-plugin/src/core/lsps2/service.rs:329
↓ 16 callersFunctionis_elements
common/utils.c:21
↓ 16 callersFunctionjson_to_node_id
common/json_parse.c:536
↓ 16 callersFunctionlinearize_tx
bitcoin/tx.c:435
↓ 16 callersMethodlistpays
Show outgoing payments, regarding {bolt11} or {payment_hash} if set Can only specify one of {bolt11} or {payment_hash}. It is possibl
contrib/pyln-client/pyln/client/lightning.py:1046
↓ 16 callersFunctionmemleak_scan_obj
common/memleak.c:155
↓ 16 callersFunctionnew_height_states
common/blockheight_states.c:9
↓ 16 callersFunctionnode_id_cmp
common/node_id.c:49
↓ 16 callersFunctionnode_id_idx
If the two nodes[] are id1 and id2, which index would id1 be? */
common/node_id.h:41
↓ 16 callersFunctionpubkey_from_node_id
common/node_id.c:21
↓ 16 callersFunctionscript_push_bytes
bitcoin/script.c:48
↓ 16 callersFunctionsplice_command_for_chan
lightningd/channel_control.c:212
↓ 16 callersMethodsplice_init
Initiate a splice
contrib/pyln-client/pyln/client/lightning.py:1300
← previousnext →301–400 of 16,249, ranked by callers