Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,249 in github.com/ElementsProject/lightning
⨍
Functions
16,249
◇
Types & classes
10,838
↳
Endpoints
71
↓ 63 callers
Function
taken
ccan/ccan/take/take.c:69
↓ 63 callers
Function
tal_wally_start
common/utils.c:26
↓ 63 callers
Function
time_mono
ccan/ccan/time/time.c:28
↓ 62 callers
Method
getinfo
(self)
contrib/pyln-testing/pyln/testing/grpc.py:93
↓ 62 callers
Function
io_close
Close the connection, we're done. */
ccan/ccan/io/io.c:494
↓ 61 callers
Function
fmt_channel_id
common/channel_id.c:102
↓ 61 callers
Method
waitsendpay
Wait for payment for preimage of {payment_hash} to complete.
contrib/pyln-client/pyln/client/lightning.py:1513
↓ 60 callers
Function
command_check_only
lightningd/jsonrpc.c:1426
↓ 58 callers
Function
command_check_done
We immediately respond with success if we reach here. */
lightningd/jsonrpc.c:53
↓ 57 callers
Function
send_outreq
Generated stub for send_outreq */
plugins/test/run-route-calc.c:120
↓ 56 callers
Function
amount_msat_is_zero
common/amount.c:438
↓ 56 callers
Function
node_id_eq
common/node_id.h:15
↓ 55 callers
Function
amount_msat_greater
common/amount.c:453
↓ 55 callers
Function
memeq
* memeq - Are two byte arrays equal? * @a: first array * @al: bytes in first array * @b: second array * @bl: bytes in second array * * Example:
ccan/ccan/mem/mem.h:104
↓ 55 callers
Function
was_pending
Wrapper for pending commands (ignores return) */
lightningd/jsonrpc.h:157
↓ 54 callers
Function
amount_sat_add
common/amount.c:308
↓ 54 callers
Function
json_add_sha256
common/json_stream.c:659
↓ 54 callers
Function
setup_locale
Use the POSIX C locale. */
common/utils.c:114
↓ 54 callers
Function
tal_parent
ccan/ccan/tal/tal.c:732
↓ 53 callers
Function
fmt_short_channel_id
bitcoin/short_channel_id.c:56
↓ 53 callers
Method
unwrap
(self, privkey: PrivateKey, assocdata: Optional[bytes])
contrib/pyln-proto/pyln/proto/onion.py:364
↓ 52 callers
Function
db_col_int
db/bindings.c:51
↓ 51 callers
Function
amount_msat_sub
common/amount.c:297
↓ 50 callers
Function
amount_msat_accumulate
common/amount.c:279
↓ 50 callers
Method
get
(self, key, default=None)
contrib/pyln-proto/pyln/proto/onion.py:171
↓ 50 callers
Function
mine_funding_to_announce
Mine blocks so a channel can be announced (5, if it's already mined), but make sure we don't leave nodes behind who will reject the announcement. Not
contrib/pyln-testing/pyln/testing/utils.py:141
↓ 49 callers
Function
wire_sync_write
onchaind/test/run-grind_feerate-bug.c:230
↓ 48 callers
Method
get_channel_scid
Get the short_channel_id for the channel to the other node.
contrib/pyln-testing/pyln/testing/utils.py:1297
↓ 48 callers
Function
io_loop
This is the main loop. */
ccan/ccan/io/poll.c:373
↓ 48 callers
Function
master_badmsg
common/status.c:212
↓ 48 callers
Function
tal_hexdata
common/utils.c:88
↓ 48 callers
Function
write_all
Wrapper, since os.write can do partial writes
tests/test_wallet.py:1295
↓ 47 callers
Function
command_still_pending
lightningd/jsonrpc.c:621
↓ 47 callers
Function
first_scid
(n1, n2)
tests/utils.py:453
↓ 46 callers
Function
command_finished
plugins/libplugin.c:496
↓ 46 callers
Method
listnodes
(self, node_id=None)
contrib/pyln-testing/pyln/testing/grpc.py:243
↓ 46 callers
Function
sha256_update
ccan/ccan/crypto/sha256/sha256.c:40
↓ 45 callers
Function
db_col_is_null
db/bindings.c:61
↓ 45 callers
Function
fmt_wally_psbt
bitcoin/psbt.c:884
↓ 44 callers
Function
amount_sat_sub
common/amount.c:319
↓ 44 callers
Function
gossmap_find_node
common/gossmap.c:261
↓ 44 callers
Function
json_add_psbt
common/json_stream.c:610
↓ 44 callers
Function
jsonrpc_stream_success
plugins/libplugin.c:440
↓ 44 callers
Method
offer
Create an offer (or returns an existing one), which is a precursor to creating one or more invoices. It automatically enables the pro
contrib/pyln-client/pyln/client/lightning.py:1140
↓ 43 callers
Function
amount_msat_add
common/amount.c:268
↓ 43 callers
Function
chainparams_for_network
bitcoin/chainparams.c:217
↓ 43 callers
Function
fmt_sha256
bitcoin/tx.c:744
↓ 43 callers
Function
get_block_height
lightningd/chaintopology.c:1131
↓ 43 callers
Method
single_route
Similar to the getroute() call (different output though!)
contrib/pyln-testing/pyln/testing/utils.py:1421
↓ 43 callers
Method
wait
Wait for the daemon to stop for up to timeout seconds Returns the returncode of the process, None if the process did not return befor
contrib/pyln-testing/pyln/testing/utils.py:814
↓ 42 callers
Function
hsmd_status_malformed_request
Convenience wrapper for when we simply can't parse. */
hsmd/libhsmd.c:241
↓ 42 callers
Function
list_head_init
* list_head_init - initialize a list_head * @h: the list_head to set to the empty list * * Example: * ... * struct parent *parent = malloc(sizeof
ccan/ccan/list/list.h:143
↓ 42 callers
Method
map
(self, f: F)
plugins/lsps-plugin/src/proto/jsonrpc.rs:147
↓ 42 callers
Function
peer_write
common/peer_io.c:9
↓ 42 callers
Function
tal_wally_end
common/utils.c:44
↓ 41 callers
Function
command_param_failed
plugins/libplugin.c:155
↓ 41 callers
Method
disconnect
Disconnect from peer with {peer_id}, optional {force} even if has active channel.
contrib/pyln-client/pyln/client/lightning.py:722
↓ 41 callers
Function
tal_free_if_taken
Helper to free an ptr if it's taken() */
common/utils.h:101
↓ 40 callers
Function
amount_msat_less
common/amount.c:473
↓ 40 callers
Function
clean_tmpctx
Free any children of tmpctx. */
common/utils.c:129
↓ 40 callers
Method
db_query
(self, query)
contrib/pyln-testing/pyln/testing/utils.py:1147
↓ 40 callers
Function
feature_negotiated
common/features.c:344
↓ 39 callers
Method
listsendpays
Show all sendpays results, or only for `bolt11` or `payment_hash`.
contrib/pyln-client/pyln/client/lightning.py:1086
↓ 39 callers
Function
short_channel_id_eq
bitcoin/short_channel_id.h:14
↓ 39 callers
Method
write
(self, options, output)
tools/generate-wire.py:523
↓ 38 callers
Function
amount_msat_eq
common/amount.c:443
↓ 38 callers
Function
amount_sat_is_zero
common/amount.c:433
↓ 38 callers
Function
command_fail
Called by param() directly if it's malformed. */
plugins/libplugin.c:652
↓ 38 callers
Function
daemon_conn_send
common/daemon_conn.c:159
↓ 38 callers
Function
gossmap_chan_scid
common/gossmap.c:628
↓ 38 callers
Function
peer_failed_warn
common/peer_failed.c:53
↓ 38 callers
Function
plugin_log
Generated stub for plugin_log */
plugins/bkpr/test/run-recorder.c:79
↓ 38 callers
Function
pubkey_from_privkey
bitcoin/pubkey.c:44
↓ 37 callers
Function
amount_sat_greater
common/amount.c:448
↓ 37 callers
Method
fetchinvoice
Fetch an invoice for an offer.
contrib/pyln-client/pyln/client/lightning.py:753
↓ 37 callers
Function
gossmap_find_chan
common/gossmap.c:270
↓ 37 callers
Function
node_id_from_pubkey
Convert from pubkey to compressed pubkey. */
common/node_id.c:12
↓ 36 callers
Function
json_to_u64
Generated stub for json_to_u64 */
common/test/run-bolt11.c:123
↓ 36 callers
Method
mock_rpc
Mock the response to a future RPC call of @method The response can either be a dict with the full JSON-RPC response, or a function th
contrib/pyln-testing/pyln/testing/btcproxy.py:102
↓ 36 callers
Function
wire_sync_write
Generated stub for wire_sync_write */
channeld/test/run-full_channel.c:47
↓ 35 callers
Function
path_join
ccan/ccan/tal/path/path.c:28
↓ 34 callers
Function
db_fatal
db/utils.c:320
↓ 34 callers
Method
fundpsbt
Create a PSBT with inputs sufficient to give an output of satoshi.
contrib/pyln-client/pyln/client/lightning.py:1599
↓ 34 callers
Method
wait_for_channel_onchain
(self, peerid)
contrib/pyln-testing/pyln/testing/utils.py:1345
↓ 33 callers
Function
feature_offered
common/features.c:338
↓ 33 callers
Function
fmt_bitcoin_outpoint
bitcoin/tx.c:728
↓ 33 callers
Function
gossmap_nth_chan
common/gossmap.c:1510
↓ 33 callers
Function
gossmap_nth_node
common/gossmap.c:1532
↓ 33 callers
Function
scriptpubkey_p2wsh
Create an output script for a 32-byte witness. */
bitcoin/script.c:268
↓ 32 callers
Function
bitcoin_redeem_2of2
tal_count() gives the length of the script. */
bitcoin/script.c:149
↓ 32 callers
Function
command_hook_success
plugins/libplugin.c:2654
↓ 32 callers
Function
db_col_ignore
db/bindings.c:647
↓ 32 callers
Function
io_break
Exit the loop, returning this (non-NULL) arg. */
ccan/ccan/io/io.c:514
↓ 32 callers
Function
io_wake
ccan/ccan/io/io.c:382
↓ 32 callers
Function
siphash24
ccan/ccan/crypto/siphash24/siphash24.c:164
↓ 32 callers
Function
status_failed
Generated stub for status_failed */
onchaind/test/run-grind_feerate-bug.c:187
↓ 31 callers
Function
amount_sat_to_msat
common/amount.c:13
↓ 31 callers
Function
graphql_lex
Convert input string into tokens. * * All data (i.e. the list and the tokens it contains) are allocated to the * specified tal context. */
ccan/ccan/graphql/graphql.c:526
↓ 31 callers
Function
next
0...17, 63, 64, 65, 127, 128, 129, 255, 256, 257, ... */
ccan/ccan/timer/test/run-add.c:10
↓ 31 callers
Function
tal_first
ccan/ccan/tal/tal.c:710
← previous
next →
101–200 of 16,249, ranked by callers