MCPcopy Create free account

hub / github.com/ElementsProject/lightning / functions

Functions16,466 in github.com/ElementsProject/lightning

↓ 2,772 callersFunctionabort
If we really abort, we don't get coverage info! */
ccan/ccan/time/test/run-check.c:12
↓ 1,158 callersFunctiontal_free
ccan/ccan/tal/tal.c:520
↓ 414 callersMethodline_graph
Create nodes, connect them and optionally fund channels.
contrib/pyln-testing/pyln/testing/utils.py:1913
↓ 410 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
↓ 409 callersMethodget_node
Resolves a node by its public key node_id
contrib/pyln-client/pyln/client/gossmap.py:506
↓ 402 callersFunctionwait_for
(success, timeout=TIMEOUT)
contrib/pyln-testing/pyln/testing/utils.py:96
↓ 375 callersFunctionremove_default
(d)
contrib/pyln-testing/pyln/testing/grpc2py.py:20
↓ 368 callersFunctiontal_bytelen
ccan/ccan/tal/tal.c:690
↓ 360 callersMethodgenerate_block
(self, numblocks=1, wait_for_mempool=0, to_addr=None, needfeerate=None)
contrib/pyln-testing/pyln/testing/utils.py:542
↓ 355 callersMethodjoin
Wait for plugin shutdown
plugins/src/lib.rs:1085
↓ 346 callersFunctiononly_one
Many JSON RPC calls return an array; often we only expect a single entry
contrib/pyln-testing/pyln/testing/utils.py:135
↓ 330 callersMethodinvoice
( self, amount_msat: Optional[int] = None, label: str = None,
contrib/pyln-testing/pyln/testing/grpc.py:210
↓ 323 callersMethodconnect
Connect to {peer_id} at {host} and {port}.
contrib/pyln-testing/pyln/testing/grpc.py:96
↓ 303 callersFunctiontal_hex
common/utils.c:83
↓ 291 callersMethodcall
(&mut self, req: Request)
cln-rpc/src/lib.rs:274
↓ 278 callersFunctionjson_add_string
common/json_stream.c:207
↓ 265 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
↓ 248 callersMethodget_nodes
Start a number of nodes in parallel, each with its own options
contrib/pyln-testing/pyln/testing/utils.py:1763
↓ 227 callersMethodfundchannel
( self, node_id: str, amount: int, # TODO map the following arguments
contrib/pyln-testing/pyln/testing/grpc.py:142
↓ 220 callersFunctionjson_get_member
Get top-level member. */
common/json_parse_simple.h:76
↓ 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
↓ 182 callersMethodstart
(self, port)
tests/fixtures.py:129
↓ 180 callersMethodis_in_log
Look for `regex` in the logs.
contrib/pyln-testing/pyln/testing/utils.py:344
↓ 165 callersFunctionjson_object_end
common/json_stream.c:156
↓ 162 callersMethodstop
(self)
tests/fixtures.py:147
↓ 159 callersMethodclose
( self, peer_id: str, unilateraltimeout: Optional[int] = None,
contrib/pyln-testing/pyln/testing/grpc.py:247
↓ 156 callersMethoddecode
(cls, b)
contrib/pyln-proto/pyln/proto/invoice.py:286
↓ 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
↓ 151 callersFunctioncommon_setup
common/setup.c:38
↓ 143 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
↓ 134 callersFunctioncommon_shutdown
common/setup.c:66
↓ 132 callersMethodxpay
Send payment specified by {invstring}.
contrib/pyln-client/pyln/client/lightning.py:1189
↓ 130 callersFunctionparam
common/json_param.c:369
↓ 129 callersFunctionfmt_amount_msat
common/amount.c:63
↓ 128 callersMethodlistfunds
(self, spent=None)
contrib/pyln-testing/pyln/testing/grpc.py:138
↓ 126 callersFunctioncommand_fail
lightningd/jsonrpc.c:569
↓ 126 callersMethodunwrap
(self)
plugins/lsps-plugin/src/proto/jsonrpc.rs:157
↓ 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
↓ 116 callersMethodpay
( self, bolt11: str, amount_msat: Optional[int] = None, label: Optional[str] =
contrib/pyln-testing/pyln/testing/grpc.py:176
↓ 115 callersFunctionfromwire_peektype
wire/fromwire.c:54
↓ 114 callersFunctiondb_exec_prepared_v2
db/utils.c:176
↓ 114 callersFunctiondb_query_prepared
db/utils.c:154
↓ 113 callersFunctiondb_step
db/utils.c:160
↓ 112 callersFunctioncommand_fail_badparam
common/json_command.c:4
↓ 111 callersFunctiondb_bind_u64
db/bindings.c:72
↓ 111 callersFunctionfatal
lightningd/log.c:1146
↓ 109 callersMethodget
Get a reference to the value of a TLV record by type.
plugins/lsps-plugin/src/core/tlv.rs:127
↓ 109 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
↓ 103 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
↓ 102 callersFunctionfmt_amount_sat
common/amount.c:99
↓ 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
↓ 98 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
↓ 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
↓ 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
↓ 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
↓ 82 callersFunctionjson_add_bool
common/json_stream.c:310
↓ 82 callersFunctionparam_check
common/json_param.c:390
↓ 81 callersFunctionchannel_internal_error
lightningd/channel.c:1278
↓ 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
↓ 77 callersFunctionplugin_err
plugins/libplugin.c:1991
↓ 76 callersFunctionfmt_bitcoin_txid
bitcoin/tx.c:720
↓ 76 callersMethodlog
(self, message: str, level: str = 'info')
contrib/pyln-client/pyln/client/plugin.py:791
↓ 74 callersFunctionamount2msat
(a)
contrib/pyln-testing/pyln/testing/grpc2py.py:12
↓ 74 callersFunctionjson_add_node_id
common/json_stream.c:420
↓ 73 callersFunctionhex_decode
ccan/ccan/str/hex/hex.c:24
↓ 71 callersMethodgetinfo
(self)
contrib/pyln-testing/pyln/testing/grpc.py:93
↓ 71 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
↓ 71 callersFunctiontal_append_fmt
ccan/ccan/tal/str/str.c:92
↓ 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
↓ 69 callersFunctionjson_add_hex_talarr
common/json_stream.c:328
↓ 69 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
↓ 68 callersMethodlistinvoices
( self, label=None, payment_hash=None, invstring=None,
contrib/pyln-testing/pyln/testing/grpc.py:268
↓ 67 callersMethodread
Read and decode a Message within that namespace. Returns None on EOF
contrib/pyln-proto/pyln/proto/message/message.py:631
↓ 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 callersFunctiontime_mono
ccan/ccan/time/time.c:28
↓ 65 callersFunctionfmt_pubkey
bitcoin/pubkey.c:65
↓ 65 callersMethodwaitsendpay
Wait for payment for preimage of {payment_hash} to complete.
contrib/pyln-client/pyln/client/lightning.py:1513
next →1–100 of 16,466, ranked by callers