MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,249 in github.com/ElementsProject/lightning

↓ 2,750 callersFunctionabort
If we really abort, we don't get coverage info! */
ccan/ccan/time/test/run-check.c:12
↓ 1,141 callersFunctiontal_free
ccan/ccan/tal/tal.c:520
↓ 392 callersMethodline_graph
Create nodes, connect them and optionally fund channels.
contrib/pyln-testing/pyln/testing/utils.py:1900
↓ 389 callersMethodget_node
Resolves a node by its public key node_id
contrib/pyln-client/pyln/client/gossmap.py:506
↓ 379 callersFunctionwait_for
(success, timeout=TIMEOUT)
contrib/pyln-testing/pyln/testing/utils.py:89
↓ 375 callersFunctionremove_default
(d)
contrib/pyln-testing/pyln/testing/grpc2py.py:20
↓ 371 callersMethodwait_for_log
Look for `regex` in the logs. Convenience wrapper for the common case of only seeking a single entry.
contrib/pyln-testing/pyln/testing/utils.py:404
↓ 365 callersFunctiontal_bytelen
ccan/ccan/tal/tal.c:690
↓ 342 callersMethodjoin
Wait for plugin shutdown
plugins/src/lib.rs:1085
↓ 337 callersMethodgenerate_block
(self, numblocks=1, wait_for_mempool=0, to_addr=None, needfeerate=None)
contrib/pyln-testing/pyln/testing/utils.py:535
↓ 313 callersFunctiononly_one
Many JSON RPC calls return an array; often we only expect a single entry
contrib/pyln-testing/pyln/testing/utils.py:128
↓ 312 callersMethodinvoice
( self, amount_msat: Optional[int] = None, label: str = None,
contrib/pyln-testing/pyln/testing/grpc.py:210
↓ 303 callersMethodconnect
Connect to {peer_id} at {host} and {port}.
contrib/pyln-testing/pyln/testing/grpc.py:96
↓ 302 callersFunctiontal_hex
common/utils.c:83
↓ 284 callersMethodcall
(&mut self, req: Request)
cln-rpc/src/lib.rs:274
↓ 278 callersFunctionjson_add_string
common/json_stream.c:207
↓ 236 callersMethodlistpeerchannels
Show current peers channels, and if the {peer_id} is specified all the channels for the peer are returned, and if {short_channel_id}
contrib/pyln-client/pyln/client/lightning.py:1073
↓ 233 callersMethodget_nodes
Start a number of nodes in parallel, each with its own options
contrib/pyln-testing/pyln/testing/utils.py:1756
↓ 220 callersFunctionjson_get_member
Get top-level member. */
common/json_parse_simple.h:76
↓ 215 callersMethodfundchannel
( self, node_id: str, amount: int, # TODO map the following arguments
contrib/pyln-testing/pyln/testing/grpc.py:142
↓ 204 callersMethodto_string
(&self)
cln-rpc/src/hooks.rs:68
↓ 187 callersFunctionjson_tok_full
Generated stub for json_tok_full */
common/test/run-bolt11.c:129
↓ 186 callersFunctionjson_tok_full_len
Generated stub for json_tok_full_len */
common/test/run-bolt11.c:132
↓ 167 callersMethodstart
(self, port)
tests/fixtures.py:129
↓ 165 callersFunctionjson_object_end
common/json_stream.c:156
↓ 162 callersMethodis_in_log
Look for `regex` in the logs.
contrib/pyln-testing/pyln/testing/utils.py:337
↓ 155 callersFunctionjson_object_start
common/json_stream.c:150
↓ 154 callersMethodinto_inner
Returns the inner data object contained by params for handling or future processing.
plugins/lsps-plugin/src/proto/jsonrpc.rs:92
↓ 152 callersFunctionhexlify
(b)
contrib/pyln-testing/pyln/testing/grpc2py.py:8
↓ 149 callersMethoddecode
(cls, b)
contrib/pyln-proto/pyln/proto/invoice.py:286
↓ 148 callersFunctioncommon_setup
common/setup.c:38
↓ 148 callersMethodstop
(self)
tests/fixtures.py:147
↓ 146 callersMethodclose
( self, peer_id: str, unilateraltimeout: Optional[int] = None,
contrib/pyln-testing/pyln/testing/grpc.py:247
↓ 140 callersFunctionjson_array_end
common/json_stream.c:144
↓ 139 callersFunctionjson_array_start
common/json_stream.c:138
↓ 131 callersFunctioncommon_shutdown
common/setup.c:66
↓ 131 callersFunctionsync_blockheight
(bitcoind, nodes)
contrib/pyln-testing/pyln/testing/utils.py:135
↓ 130 callersFunctionparam
common/json_param.c:369
↓ 129 callersMethodxpay
Send payment specified by {invstring}.
contrib/pyln-client/pyln/client/lightning.py:1189
↓ 127 callersFunctionfmt_amount_msat
common/amount.c:63
↓ 126 callersFunctioncommand_fail
lightningd/jsonrpc.c:569
↓ 126 callersMethodunwrap
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:157
↓ 120 callersMethodlistfunds
(self, spent=None)
contrib/pyln-testing/pyln/testing/grpc.py:138
↓ 116 callersMethodfundwallet
(self, sats, addrtype="bech32", mine_block=True)
contrib/pyln-testing/pyln/testing/utils.py:1099
↓ 115 callersFunctionfromwire_peektype
wire/fromwire.c:54
↓ 115 callersMethodnewaddr
Get a new address of type {addresstype} of the internal wallet.
contrib/pyln-testing/pyln/testing/grpc.py:117
↓ 114 callersFunctiondb_exec_prepared_v2
db/utils.c:176
↓ 113 callersFunctiondb_query_prepared
db/utils.c:154
↓ 112 callersFunctiondb_step
db/utils.c:160
↓ 112 callersFunctionfatal
lightningd/log.c:1133
↓ 111 callersFunctioncommand_fail_badparam
common/json_command.c:4
↓ 110 callersFunctiondb_bind_u64
db/bindings.c:72
↓ 108 callersMethodpay
( self, bolt11: str, amount_msat: Optional[int] = None, label: Optional[str] =
contrib/pyln-testing/pyln/testing/grpc.py:176
↓ 108 callersFunctionplugin_log
plugins/libplugin.c:2000
↓ 107 callersFunctioncommand_success
lightningd/jsonrpc.c:537
↓ 106 callersFunctionjson_stream_success
lightningd/jsonrpc.c:727
↓ 104 callersFunctioncommand_param_failed
lightningd/jsonrpc.c:47
↓ 101 callersMethodcall
Generic call API: you can set cmdprefix here, or set self.cmdprefix before the call is made.
contrib/pyln-client/pyln/client/lightning.py:356
↓ 101 callersFunctionfmt_amount_sat
common/amount.c:99
↓ 100 callersFunctionerrx
ccan/ccan/err/err.c:31
↓ 100 callersMethodget
Get a reference to the value of a TLV record by type.
plugins/lsps-plugin/src/core/tlv.rs:127
↓ 99 callersFunctionfmt_node_id
Convert to hex string of SEC1 encoding */
common/node_id.c:37
↓ 99 callersMethodrestart
Stop and restart the lightning node. Keyword arguments: timeout: number of seconds to wait for a shutdown clean: whether to i
contrib/pyln-testing/pyln/testing/utils.py:1205
↓ 93 callersMethodrun
(self)
tests/plugins/fail_by_itself.py:15
↓ 91 callersMethodlistchannels
(self, short_channel_id=None, source=None, destination=None)
contrib/pyln-testing/pyln/testing/grpc.py:168
↓ 90 callersFunctiondb_bind_int
db/bindings.c:43
↓ 89 callersFunctionjson_add_u64
common/json_stream.c:286
↓ 89 callersMethodlistpeers
(self, peerid=None, level=None)
contrib/pyln-testing/pyln/testing/grpc.py:103
↓ 89 callersFunctionplugin_log
Generated stub for plugin_log */
plugins/test/run-route-calc.c:103
↓ 89 callersFunctionsend_outreq
plugins/libplugin.c:1108
↓ 88 callersFunctionsubd_send_msg
lightningd/subd.c:845
↓ 87 callersFunctionjson_strdup
Generated stub for json_strdup */
common/test/run-bolt11.c:67
↓ 86 callersMethodsendpay
Send along {route} in return for preimage of {payment_hash}.
contrib/pyln-client/pyln/client/lightning.py:1400
↓ 82 callersFunctionjson_add_bool
common/json_stream.c:310
↓ 82 callersFunctionparam_check
common/json_param.c:390
↓ 81 callersFunctionjson_add_amount_msat
common/json_stream.c:620
↓ 81 callersFunctionjson_scan
common/json_parse.c:492
↓ 81 callersFunctiontal_hexstr
common/utils.c:76
↓ 80 callersFunctionchannel_internal_error
lightningd/channel.c:1219
↓ 79 callersFunctionjson_add_u32
common/json_stream.c:298
↓ 78 callersFunctionplugin_err
plugins/libplugin.c:1991
↓ 74 callersFunctionamount2msat
(a)
contrib/pyln-testing/pyln/testing/grpc2py.py:12
↓ 74 callersFunctionjson_add_node_id
common/json_stream.c:420
↓ 73 callersFunctionfmt_bitcoin_txid
bitcoin/tx.c:720
↓ 73 callersFunctionhex_decode
ccan/ccan/str/hex/hex.c:24
↓ 72 callersMethodlog
(self, message: str, level: str = 'info')
contrib/pyln-client/pyln/client/plugin.py:791
↓ 71 callersFunctiontime_from_sec
* time_from_sec - convert seconds to a relative time * @msec: time in seconds * * Example: * // 1 minute timeout * #define TIMEOUT time_from_sec(
ccan/ccan/time/time.h:670
↓ 70 callersFunctiontal_append_fmt
ccan/ccan/tal/str/str.c:92
↓ 68 callersMethodjoin_nodes
Given nodes, connect them in a line, optionally funding a channel, wait_for_announce waits for channel and node announcements
contrib/pyln-testing/pyln/testing/utils.py:1843
↓ 68 callersFunctionjson_add_hex_talarr
common/json_stream.c:328
↓ 66 callersFunctionclock_time
common/clock_time.c:13
↓ 66 callersFunctionerr
ccan/ccan/err/err.c:18
↓ 66 callersFunctionjson_add_num
common/json_stream.c:281
↓ 66 callersMethodread
Read and decode a Message within that namespace. Returns None on EOF
contrib/pyln-proto/pyln/proto/message/message.py:631
↓ 66 callersMethodwait_for_logs
Look for `regexs` in the logs. The logs contain tailed stdout of the process. We look for each regex in `regexs`, starting from `logs
contrib/pyln-testing/pyln/testing/utils.py:364
↓ 65 callersFunctionfmt_pubkey
bitcoin/pubkey.c:65
↓ 65 callersMethodlistinvoices
( self, label=None, payment_hash=None, invstring=None,
contrib/pyln-testing/pyln/testing/grpc.py:268
↓ 64 callersFunctionjson_tok_streq
Is this a string equal to str? */
common/json_parse_simple.h:23
↓ 63 callersFunctiondb_col_u64
db/bindings.c:281
↓ 63 callersFunctionstatus_failed
FIXME: rename to status_fatal, s/fail/fatal/ in status_failreason enums */
common/status.c:196
next →1–100 of 16,249, ranked by callers