MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,249 in github.com/ElementsProject/lightning

↓ 16 callersFunctiontest_htlc
(amount_msat: u64, extra_tlvs: TlvStream)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:304
↓ 16 callersFunctiontest_onion
(scid: ShortChannelId, payload: TlvStream)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:297
↓ 16 callersFunctiontest_scid
()
plugins/lsps-plugin/src/core/lsps2/htlc.rs:261
↓ 16 callersMethodto_vec
(self)
cln-rpc/src/primitives.rs:372
↓ 15 callersFunctionamount_msat_to_sat
common/amount.c:22
↓ 15 callersFunctionchannel_feerate
common/initial_channel.c:185
↓ 15 callersFunctionchannel_has
common/initial_channel.c:220
↓ 15 callersMethodcheck
(self, service: model.Service)
contrib/msggen/msggen/checks.py:12
↓ 15 callersFunctioncommand_fail
common/test/run-param.c:43
↓ 15 callersFunctiondb_column_blob
db/bindings.c:273
↓ 15 callersFunctiondb_column_bytes
db/bindings.c:266
↓ 15 callersFunctiondb_set_intvar
db/exec.c:60
↓ 15 callersFunctiondirection
BOLT 7 direction: 0 means from lesser encoded id
tests/test_askrene.py:19
↓ 15 callersFunctionfeature_is_set
common/features.c:328
↓ 15 callersFunctionfmt_bitcoin_blkid
bitcoin/block.c:248
↓ 15 callersFunctionfmt_secret
bitcoin/privkey.c:16
↓ 15 callersFunctionfromwire_u8
Generated stub for fromwire_u8 */
common/test/run-base64.c:76
↓ 15 callersMethodget_unused_port
(self)
contrib/pyln-testing/pyln/testing/utils.py:1908
↓ 15 callersMethodgetpeer
Show peer with {peer_id}, if {level} is set, include {log}s.
contrib/pyln-testing/pyln/testing/grpc.py:110
↓ 15 callersFunctiongossmap_apply_localmods
Apply localmods to this map */
common/gossmap.c:1220
↓ 15 callersFunctiongossmap_refresh
common/gossmap.c:1361
↓ 15 callersFunctionhsmd_status_bad_request
hsmd/hsmd.c:656
↓ 15 callersFunctionhtlc_owner
channeld/channeld_htlc.h:44
↓ 15 callersFunctioninject_peer_msg
connectd/multiplex.c:110
↓ 15 callersFunctionjson_add_tok
common/json_stream.c:393
↓ 15 callersFunctionjson_out_obj
plugins/libplugin.c:538
↓ 15 callersFunctionjson_to_short_channel_id
common/json_parse.c:573
↓ 15 callersFunctionmemeqzero
ccan/ccan/mem/mem.c:92
↓ 15 callersFunctionnew_fee_states
common/fee_states.c:26
↓ 15 callersFunctionnode_id_from_hexstr
Convert from hex string of SEC1 encoding */
common/node_id.c:43
↓ 15 callersFunctionopen_err_fatal
openingd/dualopend.c:398
↓ 15 callersFunctionplugin_main
plugins/libplugin.c:2433
↓ 15 callersMethodsend
(&self, _peer: &PublicKey, _payload: &[u8])
plugins/lsps-plugin/src/core/transport.rs:169
↓ 15 callersFunctionsiphash24_update
ccan/ccan/crypto/siphash24/siphash24.c:113
↓ 15 callersMethodstate
(&self)
plugins/src/lib.rs:1051
↓ 15 callersFunctiontest_datastore_entry
(expected_payment_size: Option<Msat>)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:289
↓ 15 callersFunctiontimemono_add
* timemono_add - add a relative to a monotonic time * @a: the monotonic time. * @b: a relative time. * * The times must not overflow, or the resul
ccan/ccan/time/time.h:513
↓ 15 callersFunctionupdate_example
Add example request, response and other details in json array for future use
tests/autogenerate-rpc-examples.py:398
↓ 15 callersFunctionutf8_check
Check for valid UTF-8 */
common/utils.c:173
↓ 15 callersMethodwith_buy_request
(self, entry: DatastoreEntry)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:334
↓ 14 callersFunctionamount_sat_greater_eq
common/amount.c:458
↓ 14 callersFunctionbitcoin_tx_input_set_witness
bitcoin/tx.c:337
↓ 14 callersFunctionbolt11_decode
Decodes and checks signature; returns NULL on error. */
common/bolt11.c:980
↓ 14 callersFunctionchannel_set_state
lightningd/channel.c:976
↓ 14 callersFunctioncreate_peer_id
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:686
↓ 14 callersFunctiondb_bind_amount_msat
db/bindings.c:235
↓ 14 callersFunctiondb_col_sha256
db/bindings.c:573
↓ 14 callersMethoddev_pay
Wrapper for rpc.dev_pay which suppresses the request schema
contrib/pyln-testing/pyln/testing/utils.py:1630
↓ 14 callersFunctionget_askrene
Useful plugin->askrene mapping */
plugins/askrene/askrene.h:42
↓ 14 callersFunctiongossmap_first_node
common/gossmap.c:1555
↓ 14 callersFunctiongossmap_max_node_idx
These values can change across calls to gossmap_check. */
common/gossmap.c:186
↓ 14 callersFunctiongossmap_next_node
common/gossmap.c:1560
↓ 14 callersFunctionhex_data_size
* hex_data_size - Calculate how many bytes of data in a hex string * @strlen: the length of the string (with or without NUL) * * Example: * const
ccan/ccan/str/hex/hex.h:69
↓ 14 callersFunctionhex_encode
ccan/ccan/str/hex/hex.c:51
↓ 14 callersFunctionhex_str_size
* hex_str_size - Calculate how big a nul-terminated hex string is * @bytes: bytes of data to represent * * Example: * unsigned char buf[] = { 0x1F
ccan/ccan/str/hex/hex.h:54
↓ 14 callersMethodis_in_stderr
Look for `regex` in stderr.
contrib/pyln-testing/pyln/testing/utils.py:350
↓ 14 callersFunctionlinearize_wtx
bitcoin/tx.c:440
↓ 14 callersFunctionmap_be16
common/gossmap.c:137
↓ 14 callersFunctionmemleak_ptr
common/memleak.c:88
↓ 14 callersMethodmsat
Returns the msat value as `u64`. Is the inner value of `Msat`.
plugins/lsps-plugin/src/proto/lsps0.rs:92
↓ 14 callersMethodmultifundchannel
Fund channels to an array of {destinations}, each entry of which is a dict of node {id} and {amount} to fund, and optionally
contrib/pyln-client/pyln/client/lightning.py:1098
↓ 14 callersFunctionnew_error
common/splice_script.c:273
↓ 14 callersFunctionpayment_cmd
Only root has a non-NULL cmd ptr */
plugins/libplugin-pay.c:73
↓ 14 callersFunctionpeer_read
common/peer_io.c:18
↓ 14 callersFunctionplugin_feature_set
plugins/libplugin.c:417
↓ 14 callersFunctionpsbt_finalize
bitcoin/psbt.c:779
↓ 14 callersMethodsplice_signed
Initiate a splice
contrib/pyln-client/pyln/client/lightning.py:1318
↓ 14 callersFunctionsubkey_from_hmac
common/hmac.c:38
↓ 14 callersFunctiontimers_expire
Returns an expired timer. */
ccan/ccan/timer/timer.c:340
↓ 14 callersFunctiontowire_u32
wire/towire.c:30
↓ 14 callersMethodunreserveinputs
Unreserve (or reduce reservation) on any UTXOs in this psbt were previously reserved.
contrib/pyln-client/pyln/client/lightning.py:1589
↓ 14 callersFunctionwally_tx_output_get_amount
FIXME(cdecker) Make the caller pass in a reference to amount_asset, and * return false if unintelligible/encrypted. (WARN UNUSED). */
bitcoin/tx.c:821
↓ 14 callersFunctionwire_sync_read
wire/wire_sync.c:22
↓ 13 callersFunctionamount_msat_min
min(a,b) and max(a,b) */
common/amount.h:176
↓ 13 callersFunctionamount_msat_ratio
common/amount.c:558
↓ 13 callersMethodas_str
If the `Value` is a String, returns the associated str. Returns None otherwise.
plugins/src/options.rs:497
↓ 13 callersFunctionaux_command_done
plugins/libplugin.c:2669
↓ 13 callersFunctionchannel_scid_or_local_alias
lightningd/channel.c:1303
↓ 13 callersFunctionchannel_set_owner
lightningd/channel.c:21
↓ 13 callersFunctionchannel_type_has
common/channel_type.c:76
↓ 13 callersFunctionchannel_type_static_remotekey
BOLT #2: * Channel types are an explicit enumeration: for convenience of future * definitions they reuse even feature bits, but they are not an * a
common/channel_type.c:33
↓ 13 callersFunctionchild_log
plugins/askrene/child/child_log.c:27
↓ 13 callersFunctionclone_psbt
bitcoin/psbt.c:37
↓ 13 callersFunctioncoinmvt_current_time
This puts the coin movements in order */
common/coin_mvt.c:159
↓ 13 callersFunctiondb_bind_talarr
db/bindings.c:258
↓ 13 callersMethodexecute
Execute a single statement with bound params. Placeholders: '?
contrib/pyln-testing/pyln/testing/db.py:54
↓ 13 callersFunctionfromwire_bigsize
common/bigsize.c:104
↓ 13 callersFunctionfromwire_u16
Generated stub for fromwire_u16 */
common/test/run-features.c:64
↓ 13 callersFunctionhsmd_status_failed
hsmd/hsmd.c:678
↓ 13 callersFunctionhtlc_state_flags
common/htlc_state.c:163
↓ 13 callersFunctionis_v2
plugins/spender/multifundchannel.c:91
↓ 13 callersFunctionjson_out_finished
ccan/ccan/json_out/json_out.c:347
↓ 13 callersFunctionjson_to_number
common/json_parse.c:58
↓ 13 callersFunctionjsonrpc_request_end
lightningd/jsonrpc.c:1599
↓ 13 callersFunctionjsonrpc_request_sync
plugins/bkpr/test/run-recorder.c:467
↓ 13 callersMethodkill
Kill process without giving it warning.
contrib/pyln-testing/pyln/testing/utils.py:281
↓ 13 callersMethodlistforwards
List all forwarded payments and their information matching forward {status}, {in_channel} and {out_channel}.
contrib/pyln-client/pyln/client/lightning.py:975
↓ 13 callersMethodopenchannel_bump
Initiate an RBF for an in-progress open
contrib/pyln-client/pyln/client/lightning.py:1240
↓ 13 callersFunctionparse_amount_sat
Valid strings: * [0-9]+ => satoshi. * [0-9]+sat => satoshi. * [0-9]+000msat => satoshi. * 0msat => 0 satoshi * [0-9]+.[0-9]{1,8}btc => satos
common/amount.c:234
↓ 13 callersMethodplugin_stop
Stops a lightningd plugin, will fail if plugin is not dynamic.
contrib/pyln-client/pyln/client/lightning.py:1365
← previousnext →401–500 of 16,249, ranked by callers