MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

↓ 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 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 callersFunctiontimer_init
ccan/ccan/timer/timer.c:95
↓ 16 callersFunctiontimers_cleanup
ccan/ccan/timer/timer.c:558
↓ 16 callersFunctiontimers_expire
Returns an expired timer. */
ccan/ccan/timer/timer.c:347
↓ 16 callersFunctionwrite_all
Wrapper, since os.write can do partial writes
tests/test_wallet.py:1294
↓ 15 callersFunctionamount_msat_to_sat
common/amount.c:22
↓ 15 callersFunctionbitcoin_tx_input_set_witness
bitcoin/tx.c:337
↓ 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 callersMethoddev_fail
Fail with peer {peer_id}.
contrib/pyln-client/pyln/client/lightning.py:619
↓ 15 callersMethoddev_sign_last_tx
Sign and show the last commitment transaction with peer {id}.
contrib/pyln-client/pyln/client/lightning.py:694
↓ 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:1921
↓ 15 callersFunctiongossmap_apply_localmods
Apply localmods to this map */
common/gossmap.c:1225
↓ 15 callersFunctiongossmap_refresh
common/gossmap.c:1366
↓ 15 callersFunctionhkdf_sha256
RFC5869 HKDF-SHA256, matching ccan's hkdf_sha256 (salt is the HMAC key).
tests/test_opening.py:42
↓ 15 callersFunctionhsmd_status_bad_request
hsmd/hsmd.c:684
↓ 15 callersFunctionhtlc_owner
channeld/channeld_htlc.h:44
↓ 15 callersFunctionjson_add_tok
common/json_stream.c:393
↓ 15 callersFunctionjson_out_obj
plugins/libplugin.c:548
↓ 15 callersFunctionjson_to_short_channel_id
common/json_parse.c:573
↓ 15 callersFunctionmemeqzero
ccan/ccan/mem/mem.c:105
↓ 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:406
↓ 15 callersFunctionplugin_main
plugins/libplugin.c:2443
↓ 15 callersFunctionsiphash24_update
ccan/ccan/crypto/siphash24/siphash24.c:113
↓ 15 callersMethodstate
(&self)
plugins/src/lib.rs:1185
↓ 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 callersMethodto_vec
(self)
cln-rpc/src/primitives.rs:372
↓ 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 callersMethodas_str
If the `Value` is a String, returns the associated str. Returns None otherwise.
plugins/src/options.rs:497
↓ 14 callersFunctionbolt11_decode
Decodes and checks signature; returns NULL on error. */
common/bolt11.c:988
↓ 14 callersFunctionchannel_set_owner
lightningd/channel.c:22
↓ 14 callersFunctionchannel_set_state
lightningd/channel.c:1023
↓ 14 callersFunctionclone_psbt
bitcoin/psbt.c:37
↓ 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:576
↓ 14 callersMethoddev_pay
Wrapper for rpc.dev_pay which suppresses the request schema
contrib/pyln-testing/pyln/testing/utils.py:1637
↓ 14 callersFunctionget_askrene
Useful plugin->askrene mapping */
plugins/askrene/askrene.h:42
↓ 14 callersFunctiongossmap_first_node
common/gossmap.c:1561
↓ 14 callersFunctiongossmap_max_node_idx
These values can change across calls to gossmap_check. */
common/gossmap.c:189
↓ 14 callersFunctiongossmap_next_node
common/gossmap.c:1566
↓ 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 callersFunctionhtlc_state_flags
common/htlc_state.c:163
↓ 14 callersFunctioninject_peer_msg
connectd/multiplex.c:110
↓ 14 callersMethodis_in_stderr
Look for `regex` in stderr.
contrib/pyln-testing/pyln/testing/utils.py:357
↓ 14 callersFunctionjson_out_finished
ccan/ccan/json_out/json_out.c:369
↓ 14 callersFunctionlinearize_wtx
bitcoin/tx.c:440
↓ 14 callersFunctionmap_be16
common/gossmap.c:140
↓ 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 callersMethodopenchannel_bump
Initiate an RBF for an in-progress open
contrib/pyln-client/pyln/client/lightning.py:1240
↓ 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:427
↓ 14 callersFunctionpsbt_finalize
bitcoin/psbt.c:779
↓ 14 callersMethodsend
(&self, _peer: &PublicKey, _payload: &[u8])
plugins/lsps-plugin/src/core/transport.rs:169
↓ 14 callersFunctionsubkey_from_hmac
common/hmac.c:38
↓ 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 callersMethodutxopsbt
Create a PSBT with given inputs, to give an output of satoshi.
contrib/pyln-client/pyln/client/lightning.py:1627
↓ 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 callersFunctionadd_overflows_u64
common/overflows.h:11
↓ 13 callersFunctionamount_msat_min
min(a,b) and max(a,b) */
common/amount.h:176
↓ 13 callersFunctionamount_msat_ratio
common/amount.c:558
↓ 13 callersFunctionaux_command_done
plugins/libplugin.c:2679
↓ 13 callersFunctioncdump_extract
Simple LL(1) parser, inspired by Tridge's genstruct.pl. */
ccan/ccan/cdump/cdump.c:670
↓ 13 callersFunctionchannel_scid_or_local_alias
lightningd/channel.c:1376
↓ 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 callersFunctioncoinmvt_current_time
This puts the coin movements in order */
common/coin_mvt.c:159
↓ 13 callersFunctiondb_bind_talarr
db/bindings.c:258
← previousnext →401–500 of 16,782, ranked by callers