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
↓ 31 callers
Method
withdraw
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 callers
Function
db_bind_null
db/bindings.c:66
↓ 30 callers
Method
getroutes
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 callers
Function
json_out_end
ccan/ccan/json_out/json_out.c:199
↓ 30 callers
Function
json_out_start
ccan/ccan/json_out/json_out.c:186
↓ 30 callers
Function
payment_root
plugins/libplugin-pay.c:173
↓ 30 callers
Function
status_failed
Generated stub for status_failed */
channeld/test/run-full_channel.c:43
↓ 30 callers
Function
towire
wire/towire.c:9
↓ 29 callers
Function
amount_sat_eq
common/amount.c:428
↓ 29 callers
Function
command_still_pending
Generated stub for command_still_pending */
plugins/test/run-route-calc.c:45
↓ 29 callers
Method
encode
(self, privkey)
contrib/pyln-proto/pyln/proto/invoice.py:209
↓ 29 callers
Function
graphql_parse
Convert lexed tokens into AST.
ccan/ccan/graphql/graphql.c:952
↓ 29 callers
Function
json_add_txid
common/json_stream.c:451
↓ 29 callers
Function
list_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 callers
Function
listlen
ccan/ccan/graphql/test/run.c:37
↓ 29 callers
Function
paymod_log
plugins/libplugin-pay.c:190
↓ 29 callers
Method
signpsbt
Add internal wallet's signatures to PSBT
contrib/pyln-client/pyln/client/lightning.py:1644
↓ 29 callers
Function
strends
* 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 callers
Method
update
(self, data)
contrib/pyln-proto/pyln/proto/wire.py:65
↓ 28 callers
Function
channel_state_name
lightningd/channel.c:736
↓ 28 callers
Function
command_param_failed
Generated stub for command_param_failed */
plugins/test/run-decode_guess_type.c:50
↓ 28 callers
Function
db_commit_transaction
db/exec.c:159
↓ 28 callers
Function
fmt_short_channel_id_dir
bitcoin/short_channel_id.c:81
↓ 28 callers
Function
htlc_state_name
common/htlc_state.c:7
↓ 28 callers
Function
io_close_listener
ccan/ccan/io/io.c:39
↓ 28 callers
Function
json_add_hex
common/json_stream.c:315
↓ 28 callers
Function
json_out_new
ccan/ccan/json_out/json_out.c:35
↓ 28 callers
Function
json_tok_bin_from_hex
common/json_parse.c:139
↓ 28 callers
Method
listconfigs
List this node's config.
contrib/pyln-client/pyln/client/lightning.py:957
↓ 28 callers
Function
peer_by_id
lightningd/peer_control.c:187
↓ 28 callers
Function
peer_failed_err
common/peer_failed.c:81
↓ 28 callers
Function
plugin_err
Generated stub for plugin_err */
plugins/test/run-route-calc.c:94
↓ 28 callers
Function
pubkey_to_der
bitcoin/pubkey.c:26
↓ 28 callers
Method
run
(self)
tests/test_currencyrate.py:222
↓ 28 callers
Method
wait_for_onchaind_tx
(self, name, resolve)
contrib/pyln-testing/pyln/testing/utils.py:1535
↓ 27 callers
Function
be16_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 callers
Function
connect
(local_privkey, node_id, host: str, port: int = 9735, socks_addr: Tuple[str, int] = None)
contrib/pyln-proto/pyln/proto/wire.py:331
↓ 27 callers
Function
first_channel_id
(n1, n2)
tests/utils.py:449
↓ 27 callers
Function
gossmap_node_idx
Each channel has a unique (low) index. */
common/gossmap.c:199
↓ 27 callers
Function
json_add_short_channel_id
common/json_stream.c:477
↓ 27 callers
Function
timemono_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 callers
Function
wire_sync_read
onchaind/test/run-grind_feerate-bug.c:225
↓ 26 callers
Function
command_fail
Generated stub for command_fail */
plugins/test/run-route-calc.c:28
↓ 26 callers
Function
command_still_pending
plugins/libplugin.c:531
↓ 26 callers
Function
db_bind_sha256
db/bindings.c:108
↓ 26 callers
Function
db_bind_txid
db/bindings.c:135
↓ 26 callers
Function
gossmap_chan_idx
common/gossmap.c:205
↓ 26 callers
Function
json_add_channel_id
common/json_stream.c:427
↓ 26 callers
Function
master_badmsg
Generated stub for master_badmsg */
onchaind/test/run-grind_feerate-bug.c:89
↓ 26 callers
Function
wallet_channel_save
Generated stub for wallet_channel_save */
lightningd/test/run-invoice-select-inchan.c:682
↓ 25 callers
Function
amount_msat_add_fee
common/amount.c:686
↓ 25 callers
Function
amount_tx_fee
common/amount.c:698
↓ 25 callers
Function
command_finished
Generated stub for command_finished */
plugins/test/run-route-calc.c:36
↓ 25 callers
Function
cpu_to_be32
* cpu_to_be32 - convert a uint32_t value to big endian. * @native: value to convert */
ccan/ccan/endian/endian.h:306
↓ 25 callers
Function
db_query_colnum
db/utils.c:18
↓ 25 callers
Function
fail
tests/plugins/channeld_fakenet.c:363
↓ 25 callers
Function
fromwire_fail
Sets *cursor to NULL and returns NULL when extraction fails. */
wire/fromwire.c:16
↓ 25 callers
Function
hsm_sync_req
lightningd/hsm_control.c:305
↓ 25 callers
Function
json_out_addstr
ccan/ccan/json_out/json_out.c:293
↓ 25 callers
Function
json_to_u32
Generated stub for json_to_u32 */
common/test/run-bolt11.c:120
↓ 24 callers
Function
amount_asset_to_sat
Convert from a generic asset to the fee-paying asset if possible. */
common/amount.c:731
↓ 24 callers
Function
amount_msat_deduct
common/amount.c:285
↓ 24 callers
Function
amount_sat_less
common/amount.c:468
↓ 24 callers
Function
be32_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 callers
Function
execute_script
(node_factory, bitcoind, script, expected_balances=None, fee_multiplier=None)
tests/test_splice.py:621
↓ 24 callers
Function
fatal
Generated stub for fatal */
wallet/test/run-db.c:80
↓ 24 callers
Function
fmt_bitcoin_tx
bitcoin/tx.c:712
↓ 24 callers
Function
fromwire
wire/fromwire.c:23
↓ 24 callers
Method
get_channel_id
Get the channel_id for the channel to the other node.
contrib/pyln-testing/pyln/testing/utils.py:1306
↓ 24 callers
Method
insert
Insert a TLV record (replaces if type already exists).
plugins/lsps-plugin/src/core/tlv.rs:135
↓ 24 callers
Function
json_add_pubkey
common/json_stream.c:434
↓ 24 callers
Function
set_feature_bit
BOLT #1: * * All data fields are unsigned big-endian unless otherwise specified. */
common/features.c:276
↓ 24 callers
Method
subscribe
Function decorator to register a notification handler.
contrib/pyln-client/pyln/client/plugin.py:436
↓ 23 callers
Function
amount_asset_is_main
common/amount.c:719
↓ 23 callers
Function
bkpr_of
plugins/bkpr/bookkeeper.c:48
↓ 23 callers
Function
gossmap_chan_set
Do we have any values for this halfchannel ? */
common/gossmap.h:171
↓ 23 callers
Function
json_to_msat
common/json_parse.c:550
↓ 23 callers
Function
jsonrpc_stream_success
Generated stub for jsonrpc_stream_success */
plugins/test/run-route-calc.c:83
↓ 23 callers
Function
notify_start
Modern notifications X contain an object X */
lightningd/notification.c:40
↓ 23 callers
Function
psbt_set_version
bitcoin/psbt.c:1109
↓ 23 callers
Function
sha256_done
ccan/ccan/crypto/sha256/sha256.c:46
↓ 23 callers
Function
time_now
ccan/ccan/time/time.c:9
↓ 22 callers
Function
bwatch_of
plugins/bwatch/bwatch.c:14
↓ 22 callers
Function
cpu_to_be16
* cpu_to_be16 - convert a uint16_t value to big endian. * @native: value to convert */
ccan/ccan/endian/endian.h:315
↓ 22 callers
Method
delinvoice
Delete unpaid invoice {label} with {status} (or, with {desconly} true, remove its description).
contrib/pyln-client/pyln/client/lightning.py:599
↓ 22 callers
Method
error
(error: RpcError, id: T)
plugins/lsps-plugin/src/proto/jsonrpc.rs:115
↓ 22 callers
Function
grab_file_str
ccan/ccan/tal/grab_file/grab_file.c:79
↓ 22 callers
Method
listdatastore
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 callers
Function
tal_next
ccan/ccan/tal/tal.c:720
↓ 22 callers
Function
time_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 callers
Method
wait_channel_active
(self, scid)
contrib/pyln-testing/pyln/testing/utils.py:1348
↓ 21 callers
Function
amount_msat_greater_eq
common/amount.c:463
↓ 21 callers
Function
fromwire_u32
wire/fromwire.c:77
↓ 21 callers
Function
gossmap_node_get_id
common/gossmap.c:1444
↓ 21 callers
Function
notify_send
lightningd/notification.c:54
↓ 21 callers
Function
payment_continue
plugins/libplugin-pay.c:2344
↓ 21 callers
Function
pubkey_from_hexstr
bitcoin/pubkey.c:50
↓ 21 callers
Method
set_feerates
(self, feerates, wait_for_effect=True)
contrib/pyln-testing/pyln/testing/utils.py:1448
↓ 21 callers
Function
sql_of
plugins/sql.c:171
↓ 21 callers
Method
write
Write a Message into its wire format. Must not have missing fields.
contrib/pyln-proto/pyln/proto/message/message.py:685
← previous
next →
201–300 of 16,249, ranked by callers