MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,782 in github.com/ElementsProject/lightning

↓ 2,778 callersFunctionabort
If we really abort, we don't get coverage info! */
ccan/ccan/time/test/run-check.c:12
↓ 1,180 callersFunctiontal_free
ccan/ccan/tal/tal.c:537
↓ 418 callersMethodline_graph
Create nodes, connect them and optionally fund channels.
contrib/pyln-testing/pyln/testing/utils.py:1913
↓ 415 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:411
↓ 413 callersMethodget_node
Resolves a node by its public key node_id
contrib/pyln-client/pyln/client/gossmap.py:506
↓ 404 callersFunctionwait_for
(success, timeout=TIMEOUT)
contrib/pyln-testing/pyln/testing/utils.py:96
↓ 377 callersFunctiontal_bytelen
ccan/ccan/tal/tal.c:734
↓ 375 callersFunctionremove_default
(d)
contrib/pyln-testing/pyln/testing/grpc2py.py:20
↓ 362 callersMethodgenerate_block
(self, numblocks=1, wait_for_mempool=0, to_addr=None, needfeerate=None)
contrib/pyln-testing/pyln/testing/utils.py:542
↓ 361 callersMethodjoin
Wait for plugin shutdown
plugins/src/lib.rs:1219
↓ 348 callersFunctiononly_one
Many JSON RPC calls return an array; often we only expect a single entry
contrib/pyln-testing/pyln/testing/utils.py:135
↓ 334 callersMethodinvoice
( self, amount_msat: Optional[int] = None, label: str = None,
contrib/pyln-testing/pyln/testing/grpc.py:210
↓ 324 callersMethodconnect
Connect to {peer_id} at {host} and {port}.
contrib/pyln-testing/pyln/testing/grpc.py:96
↓ 305 callersFunctiontal_hex
common/utils.c:83
↓ 289 callersMethodcall
(&mut self, req: Request)
cln-rpc/src/lib.rs:274
↓ 278 callersFunctionjson_add_string
common/json_stream.c:207
↓ 266 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
↓ 252 callersMethodget_nodes
Start a number of nodes in parallel, each with its own options
contrib/pyln-testing/pyln/testing/utils.py:1763
↓ 229 callersMethodfundchannel
( self, node_id: str, amount: int, # TODO map the following arguments
contrib/pyln-testing/pyln/testing/grpc.py:142
↓ 222 callersFunctionjson_get_member
Get top-level member. */
common/json_parse_simple.h:76
↓ 211 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
↓ 186 callersMethodstart
(self, port)
tests/fixtures.py:129
↓ 181 callersMethodis_in_log
Look for `regex` in the logs.
contrib/pyln-testing/pyln/testing/utils.py:344
↓ 166 callersMethodstop
(self)
tests/fixtures.py:147
↓ 165 callersFunctionjson_object_end
common/json_stream.c:156
↓ 161 callersMethodclose
( self, peer_id: str, unilateraltimeout: Optional[int] = None,
contrib/pyln-testing/pyln/testing/grpc.py:247
↓ 159 callersMethoddecode
(cls, b)
contrib/pyln-proto/pyln/proto/invoice.py:286
↓ 155 callersFunctionjson_object_start
common/json_stream.c:150
↓ 154 callersFunctioncommon_setup
common/setup.c:38
↓ 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
↓ 144 callersFunctionsync_blockheight
(bitcoind, nodes)
contrib/pyln-testing/pyln/testing/utils.py:142
↓ 139 callersFunctionjson_array_end
common/json_stream.c:144
↓ 138 callersFunctionjson_array_start
common/json_stream.c:138
↓ 137 callersFunctioncommon_shutdown
common/setup.c:66
↓ 134 callersMethodxpay
Send payment specified by {invstring}.
contrib/pyln-client/pyln/client/lightning.py:1189
↓ 131 callersMethodunwrap
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:157
↓ 130 callersFunctionfmt_amount_msat
common/amount.c:63
↓ 130 callersFunctionparam
common/json_param.c:369
↓ 128 callersMethodlistfunds
(self, spent=None)
contrib/pyln-testing/pyln/testing/grpc.py:138
↓ 127 callersFunctioncommand_fail
lightningd/jsonrpc.c:569
↓ 124 callersMethodfundwallet
(self, sats, addrtype="bech32", mine_block=True)
contrib/pyln-testing/pyln/testing/utils.py:1106
↓ 121 callersMethodnewaddr
Get a new address of type {addresstype} of the internal wallet.
contrib/pyln-testing/pyln/testing/grpc.py:117
↓ 117 callersFunctionfromwire_peektype
wire/fromwire.c:54
↓ 116 callersMethodpay
( self, bolt11: str, amount_msat: Optional[int] = None, label: Optional[str] =
contrib/pyln-testing/pyln/testing/grpc.py:176
↓ 115 callersFunctiondb_exec_prepared_v2
db/utils.c:176
↓ 114 callersFunctiondb_query_prepared
db/utils.c:154
↓ 113 callersFunctioncommand_fail_badparam
common/json_command.c:4
↓ 113 callersFunctiondb_step
db/utils.c:160
↓ 112 callersFunctiondb_bind_u64
db/bindings.c:72
↓ 112 callersFunctionfatal
lightningd/log.c:1146
↓ 111 callersMethodget
Get a reference to the value of a TLV record by type.
plugins/lsps-plugin/src/core/tlv.rs:127
↓ 110 callersFunctionplugin_log
plugins/libplugin.c:2010
↓ 107 callersFunctioncommand_success
lightningd/jsonrpc.c:537
↓ 106 callersFunctionjson_stream_success
lightningd/jsonrpc.c:731
↓ 104 callersFunctioncommand_param_failed
lightningd/jsonrpc.c:47
↓ 104 callersFunctionfmt_amount_sat
common/amount.c:99
↓ 104 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:1212
↓ 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 callersFunctionerrx
ccan/ccan/err/err.c:31
↓ 99 callersFunctionfmt_node_id
Convert to hex string of SEC1 encoding */
common/node_id.c:37
↓ 99 callersMethodrun
(self)
tests/plugins/fail_by_itself.py:15
↓ 94 callersMethodsendpay
Send along {route} in return for preimage of {payment_hash}.
contrib/pyln-client/pyln/client/lightning.py:1400
↓ 92 callersMethodlistchannels
(self, short_channel_id=None, source=None, destination=None)
contrib/pyln-testing/pyln/testing/grpc.py:168
↓ 91 callersFunctiondb_bind_int
db/bindings.c:43
↓ 90 callersMethodlistpeers
(self, peerid=None, level=None)
contrib/pyln-testing/pyln/testing/grpc.py:103
↓ 89 callersFunctionjson_add_u64
common/json_stream.c:286
↓ 89 callersFunctionplugin_log
Generated stub for plugin_log */
plugins/test/run-route-calc.c:103
↓ 88 callersFunctionsubd_send_msg
lightningd/subd.c:845
↓ 87 callersFunctionjson_strdup
Generated stub for json_strdup */
common/test/run-bolt11.c:67
↓ 87 callersFunctionsend_outreq
plugins/libplugin.c:1118
↓ 82 callersFunctionjson_add_bool
common/json_stream.c:310
↓ 82 callersFunctionparam_check
common/json_param.c:390
↓ 81 callersFunctionchannel_internal_error
lightningd/channel.c:1292
↓ 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
↓ 79 callersFunctionjson_add_u32
common/json_stream.c:298
↓ 78 callersFunctionfmt_bitcoin_txid
bitcoin/tx.c:720
↓ 77 callersMethodlog
(self, message: str, level: str = 'info')
contrib/pyln-client/pyln/client/plugin.py:796
↓ 77 callersFunctionplugin_err
plugins/libplugin.c:2001
↓ 77 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:673
↓ 74 callersFunctionamount2msat
(a)
contrib/pyln-testing/pyln/testing/grpc2py.py:12
↓ 74 callersFunctionhex_decode
ccan/ccan/str/hex/hex.c:24
↓ 74 callersFunctionjson_add_node_id
common/json_stream.c:420
↓ 73 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:1856
↓ 72 callersMethodgetinfo
(self)
contrib/pyln-testing/pyln/testing/grpc.py:93
↓ 72 callersFunctiontal_append_fmt
ccan/ccan/tal/str/str.c:92
↓ 70 callersMethodlistinvoices
( self, label=None, payment_hash=None, invstring=None,
contrib/pyln-testing/pyln/testing/grpc.py:268
↓ 69 callersFunctionjson_add_hex_talarr
common/json_stream.c:328
↓ 68 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:371
↓ 67 callersFunctionerr
ccan/ccan/err/err.c:18
↓ 67 callersMethodread
Read and decode a Message within that namespace. Returns None on EOF
contrib/pyln-proto/pyln/proto/message/message.py:631
↓ 67 callersFunctiontime_mono
ccan/ccan/time/time.c:39
↓ 66 callersFunctionclock_time
common/clock_time.c:13
↓ 66 callersFunctionio_close
Close the connection, we're done. */
ccan/ccan/io/io.c:507
↓ 66 callersFunctionjson_add_num
common/json_stream.c:281
↓ 66 callersFunctiontaken
ccan/ccan/take/take.c:69
next →1–100 of 16,782, ranked by callers