MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,249 in github.com/ElementsProject/lightning

↓ 31 callersMethodwithdraw
Send to {destination} address {satoshi} (or "all") amount via Bitcoin transaction. Only select outputs with {minconf} confirm
contrib/pyln-client/pyln/client/lightning.py:1525
↓ 30 callersFunctiondb_bind_null
db/bindings.c:66
↓ 30 callersMethodgetroutes
Find routes from {source} to {destination} for {amount_msat}, applying {layers}, paying no more than {maxfee_msat}, ending in {final_c
contrib/pyln-client/pyln/client/lightning.py:899
↓ 30 callersFunctionjson_out_end
ccan/ccan/json_out/json_out.c:199
↓ 30 callersFunctionjson_out_start
ccan/ccan/json_out/json_out.c:186
↓ 30 callersFunctionpayment_root
plugins/libplugin-pay.c:173
↓ 30 callersFunctionstatus_failed
Generated stub for status_failed */
channeld/test/run-full_channel.c:43
↓ 30 callersFunctiontowire
wire/towire.c:9
↓ 29 callersFunctionamount_sat_eq
common/amount.c:428
↓ 29 callersFunctioncommand_still_pending
Generated stub for command_still_pending */
plugins/test/run-route-calc.c:45
↓ 29 callersMethodencode
(self, privkey)
contrib/pyln-proto/pyln/proto/invoice.py:209
↓ 29 callersFunctiongraphql_parse
Convert lexed tokens into AST.
ccan/ccan/graphql/graphql.c:952
↓ 29 callersFunctionjson_add_txid
common/json_stream.c:451
↓ 29 callersFunctionlist_del_from
* list_del_from - delete an entry from a known linked list. * @h: the list_head the node is in. * @n: the list_node to delete from the list. * * T
ccan/ccan/list/list.h:370
↓ 29 callersFunctionlistlen
ccan/ccan/graphql/test/run.c:37
↓ 29 callersFunctionpaymod_log
plugins/libplugin-pay.c:190
↓ 29 callersMethodsignpsbt
Add internal wallet's signatures to PSBT
contrib/pyln-client/pyln/client/lightning.py:1644
↓ 29 callersFunctionstrends
* strends - Does this string end with this postfix? * @str: string to test * @postfix: postfix to look for at end of str * * Example: * if (stren
ccan/ccan/str/str.h:43
↓ 29 callersMethodupdate
(self, data)
contrib/pyln-proto/pyln/proto/wire.py:65
↓ 28 callersFunctionchannel_state_name
lightningd/channel.c:736
↓ 28 callersFunctioncommand_param_failed
Generated stub for command_param_failed */
plugins/test/run-decode_guess_type.c:50
↓ 28 callersFunctiondb_commit_transaction
db/exec.c:159
↓ 28 callersFunctionfmt_short_channel_id_dir
bitcoin/short_channel_id.c:81
↓ 28 callersFunctionhtlc_state_name
common/htlc_state.c:7
↓ 28 callersFunctionio_close_listener
ccan/ccan/io/io.c:39
↓ 28 callersFunctionjson_add_hex
common/json_stream.c:315
↓ 28 callersFunctionjson_out_new
ccan/ccan/json_out/json_out.c:35
↓ 28 callersFunctionjson_tok_bin_from_hex
common/json_parse.c:139
↓ 28 callersMethodlistconfigs
List this node's config.
contrib/pyln-client/pyln/client/lightning.py:957
↓ 28 callersFunctionpeer_by_id
lightningd/peer_control.c:187
↓ 28 callersFunctionpeer_failed_err
common/peer_failed.c:81
↓ 28 callersFunctionplugin_err
Generated stub for plugin_err */
plugins/test/run-route-calc.c:94
↓ 28 callersFunctionpubkey_to_der
bitcoin/pubkey.c:26
↓ 28 callersMethodrun
(self)
tests/test_currencyrate.py:222
↓ 28 callersMethodwait_for_onchaind_tx
(self, name, resolve)
contrib/pyln-testing/pyln/testing/utils.py:1535
↓ 27 callersFunctionbe16_to_cpu
* be16_to_cpu - convert a big-endian uint16_t value * @be_val: big-endian value to convert */
ccan/ccan/endian/endian.h:342
↓ 27 callersFunctionconnect
(local_privkey, node_id, host: str, port: int = 9735, socks_addr: Tuple[str, int] = None)
contrib/pyln-proto/pyln/proto/wire.py:331
↓ 27 callersFunctionfirst_channel_id
(n1, n2)
tests/utils.py:449
↓ 27 callersFunctiongossmap_node_idx
Each channel has a unique (low) index. */
common/gossmap.c:199
↓ 27 callersFunctionjson_add_short_channel_id
common/json_stream.c:477
↓ 27 callersFunctiontimemono_between
* timemono_between - time between two monotonic times * @recent: the larger time. * @old: the smaller time. * * This returns a well formed struct
ccan/ccan/time/time.h:399
↓ 27 callersFunctionwire_sync_read
onchaind/test/run-grind_feerate-bug.c:225
↓ 26 callersFunctioncommand_fail
Generated stub for command_fail */
plugins/test/run-route-calc.c:28
↓ 26 callersFunctioncommand_still_pending
plugins/libplugin.c:531
↓ 26 callersFunctiondb_bind_sha256
db/bindings.c:108
↓ 26 callersFunctiondb_bind_txid
db/bindings.c:135
↓ 26 callersFunctiongossmap_chan_idx
common/gossmap.c:205
↓ 26 callersFunctionjson_add_channel_id
common/json_stream.c:427
↓ 26 callersFunctionmaster_badmsg
Generated stub for master_badmsg */
onchaind/test/run-grind_feerate-bug.c:89
↓ 26 callersFunctionwallet_channel_save
Generated stub for wallet_channel_save */
lightningd/test/run-invoice-select-inchan.c:682
↓ 25 callersFunctionamount_msat_add_fee
common/amount.c:686
↓ 25 callersFunctionamount_tx_fee
common/amount.c:698
↓ 25 callersFunctioncommand_finished
Generated stub for command_finished */
plugins/test/run-route-calc.c:36
↓ 25 callersFunctioncpu_to_be32
* cpu_to_be32 - convert a uint32_t value to big endian. * @native: value to convert */
ccan/ccan/endian/endian.h:306
↓ 25 callersFunctiondb_query_colnum
db/utils.c:18
↓ 25 callersFunctionfail
tests/plugins/channeld_fakenet.c:363
↓ 25 callersFunctionfromwire_fail
Sets *cursor to NULL and returns NULL when extraction fails. */
wire/fromwire.c:16
↓ 25 callersFunctionhsm_sync_req
lightningd/hsm_control.c:305
↓ 25 callersFunctionjson_out_addstr
ccan/ccan/json_out/json_out.c:293
↓ 25 callersFunctionjson_to_u32
Generated stub for json_to_u32 */
common/test/run-bolt11.c:120
↓ 24 callersFunctionamount_asset_to_sat
Convert from a generic asset to the fee-paying asset if possible. */
common/amount.c:731
↓ 24 callersFunctionamount_msat_deduct
common/amount.c:285
↓ 24 callersFunctionamount_sat_less
common/amount.c:468
↓ 24 callersFunctionbe32_to_cpu
* be32_to_cpu - convert a big-endian uint32_t value * @be_val: big-endian value to convert */
ccan/ccan/endian/endian.h:333
↓ 24 callersFunctionexecute_script
(node_factory, bitcoind, script, expected_balances=None, fee_multiplier=None)
tests/test_splice.py:621
↓ 24 callersFunctionfatal
Generated stub for fatal */
wallet/test/run-db.c:80
↓ 24 callersFunctionfmt_bitcoin_tx
bitcoin/tx.c:712
↓ 24 callersFunctionfromwire
wire/fromwire.c:23
↓ 24 callersMethodget_channel_id
Get the channel_id for the channel to the other node.
contrib/pyln-testing/pyln/testing/utils.py:1306
↓ 24 callersMethodinsert
Insert a TLV record (replaces if type already exists).
plugins/lsps-plugin/src/core/tlv.rs:135
↓ 24 callersFunctionjson_add_pubkey
common/json_stream.c:434
↓ 24 callersFunctionset_feature_bit
BOLT #1: * * All data fields are unsigned big-endian unless otherwise specified. */
common/features.c:276
↓ 24 callersMethodsubscribe
Function decorator to register a notification handler.
contrib/pyln-client/pyln/client/plugin.py:436
↓ 23 callersFunctionamount_asset_is_main
common/amount.c:719
↓ 23 callersFunctionbkpr_of
plugins/bkpr/bookkeeper.c:48
↓ 23 callersFunctiongossmap_chan_set
Do we have any values for this halfchannel ? */
common/gossmap.h:171
↓ 23 callersFunctionjson_to_msat
common/json_parse.c:550
↓ 23 callersFunctionjsonrpc_stream_success
Generated stub for jsonrpc_stream_success */
plugins/test/run-route-calc.c:83
↓ 23 callersFunctionnotify_start
Modern notifications X contain an object X */
lightningd/notification.c:40
↓ 23 callersFunctionpsbt_set_version
bitcoin/psbt.c:1109
↓ 23 callersFunctionsha256_done
ccan/ccan/crypto/sha256/sha256.c:46
↓ 23 callersFunctiontime_now
ccan/ccan/time/time.c:9
↓ 22 callersFunctionbwatch_of
plugins/bwatch/bwatch.c:14
↓ 22 callersFunctioncpu_to_be16
* cpu_to_be16 - convert a uint16_t value to big endian. * @native: value to convert */
ccan/ccan/endian/endian.h:315
↓ 22 callersMethoddelinvoice
Delete unpaid invoice {label} with {status} (or, with {desconly} true, remove its description).
contrib/pyln-client/pyln/client/lightning.py:599
↓ 22 callersMethoderror
(error: RpcError, id: T)
plugins/lsps-plugin/src/proto/jsonrpc.rs:115
↓ 22 callersFunctiongrab_file_str
ccan/ccan/tal/grab_file/grab_file.c:79
↓ 22 callersMethodlistdatastore
Show entries in the heirarchical datastore, or just one from one {key}root. {key} can be a single string, or a sequence of strings.
contrib/pyln-client/pyln/client/lightning.py:965
↓ 22 callersFunctiontal_next
ccan/ccan/tal/tal.c:720
↓ 22 callersFunctiontime_to_nsec
* time_to_nsec - return number of nanoseconds * @t: a relative time * * It's sometimes more convenient to deal with time values as * nanoseconds.
ccan/ccan/time/time.h:654
↓ 22 callersMethodwait_channel_active
(self, scid)
contrib/pyln-testing/pyln/testing/utils.py:1348
↓ 21 callersFunctionamount_msat_greater_eq
common/amount.c:463
↓ 21 callersFunctionfromwire_u32
wire/fromwire.c:77
↓ 21 callersFunctiongossmap_node_get_id
common/gossmap.c:1444
↓ 21 callersFunctionnotify_send
lightningd/notification.c:54
↓ 21 callersFunctionpayment_continue
plugins/libplugin-pay.c:2344
↓ 21 callersFunctionpubkey_from_hexstr
bitcoin/pubkey.c:50
↓ 21 callersMethodset_feerates
(self, feerates, wait_for_effect=True)
contrib/pyln-testing/pyln/testing/utils.py:1448
↓ 21 callersFunctionsql_of
plugins/sql.c:171
↓ 21 callersMethodwrite
Write a Message into its wire format. Must not have missing fields.
contrib/pyln-proto/pyln/proto/message/message.py:685
← previousnext →201–300 of 16,249, ranked by callers