Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,250 in github.com/ElementsProject/lightning
⨍
Functions
16,250
◇
Types & classes
10,838
↳
Endpoints
71
↓ 7 callers
Function
status_send
common/status.c:80
↓ 7 callers
Function
strset_add
ccan/ccan/strset/strset.c:93
↓ 7 callers
Function
strset_init
* strset_init - initialize a string set (empty) * * For completeness; if you've arranged for it to be NULL already you don't * need this. * * Exa
ccan/ccan/strset/strset.h:32
↓ 7 callers
Function
tal_set_backend
ccan/ccan/tal/tal.c:872
↓ 7 callers
Function
test_promise_secret
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:878
↓ 7 callers
Function
time_sub
* time_sub - subtract two relative times * @a: the larger time. * @b: the smaller time. * * This returns a well formed struct timerel of @a - @b.
ccan/ccan/time/time.h:369
↓ 7 callers
Function
time_to_usec
* time_to_usec - return number of microseconds * @t: a relative time * * It's often more convenient to deal with time values as * microseconds. N
ccan/ccan/time/time.h:632
↓ 7 callers
Function
timer_earliest
ccan/ccan/timer/timer.c:283
↓ 7 callers
Function
timers_check
ccan/ccan/timer/timer.c:410
↓ 7 callers
Function
tlvstream_set_raw
wire/tlvstream.c:52
↓ 7 callers
Function
to_bech32_charset
BOLT #12: * # Encoding *... * ## Requirements * Writers of a bolt12 string: * - MUST either use all lowercase or all UPPERCASE. * - SHOULD use u
common/bech32_util.c:133
↓ 7 callers
Function
to_tal_hdr_or_null
ccan/ccan/tal/tal.c:189
↓ 7 callers
Function
tok_peek
ccan/ccan/cdump/cdump.c:97
↓ 7 callers
Function
towire_bigsize
Generated stub for towire_bigsize */
common/test/run-route.c:38
↓ 7 callers
Function
towire_bool
Generated stub for towire_bool */
common/test/run-base64.c:88
↓ 7 callers
Function
towire_connectd_disconnect_peer
Generated stub for towire_connectd_disconnect_peer */
lightningd/test/run-invoice-select-inchan.c:630
↓ 7 callers
Function
towire_connectd_peer_connect_subd
Generated stub for towire_connectd_peer_connect_subd */
lightningd/test/run-invoice-select-inchan.c:633
↓ 7 callers
Function
towire_node_id
common/node_id.c:61
↓ 7 callers
Function
towire_tlv_invoice_request
Generated stub for towire_tlv_invoice_request */
common/test/run-tlv_span.c:98
↓ 7 callers
Function
towire_u8_array
Generated stub for towire_u8_array */
common/test/run-base64.c:107
↓ 7 callers
Function
towire_wireaddr
common/wireaddr.c:71
↓ 7 callers
Function
trace_key
* Convert the pointer to a context object to a numeric key. */
common/trace.c:242
↓ 7 callers
Function
unilateral_feerate
lightningd/chaintopology.c:639
↓ 7 callers
Function
use_rinfo
Rules: call use_rinfo when handing to a callback. * Have the callback return rinfo_one_done(). */
plugins/bkpr/bookkeeper.c:136
↓ 7 callers
Method
val_from_str
(self, s: str)
contrib/pyln-proto/pyln/proto/message/message.py:240
↓ 7 callers
Method
val_to_str
(self, v: Dict[str, Any], otherfields: Dict[str, Any])
contrib/pyln-proto/pyln/proto/message/message.py:278
↓ 7 callers
Function
wallet_forwarded_payment_add
wallet/wallet.c:5413
↓ 7 callers
Function
warnx
ccan/ccan/err/err.c:55
↓ 7 callers
Function
wire_sync_write
wire/wire_sync.c:9
↓ 7 callers
Method
with_channel_capacity
(self, capacity_msat: u64)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:344
↓ 7 callers
Method
write
(self, text: str, numindent: int = 0)
contrib/msggen/msggen/gen/rpc/rust.py:308
↓ 6 callers
Function
amount_msat_greater_eq_sat
common/amount.c:497
↓ 6 callers
Function
amount_msat_max
common/amount.h:182
↓ 6 callers
Function
amount_msat_sub_sat
common/amount.c:330
↓ 6 callers
Function
amount_sat_mul
common/amount.c:592
↓ 6 callers
Function
append_layer_datastore
plugins/askrene/layer.c:438
↓ 6 callers
Function
arc_is_dual
Is this arc a dual? */
plugins/askrene/child/graph.h:78
↓ 6 callers
Function
assign_overflow_u32
common/overflows.h:38
↓ 6 callers
Function
aux_command
plugins/libplugin.c:2663
↓ 6 callers
Function
bech32_encode
common/bech32.c:58
↓ 6 callers
Function
bech32_push_bits
common/bech32_util.c:11
↓ 6 callers
Function
bigsize_put
common/bigsize.c:23
↓ 6 callers
Function
billboard_update
channeld/channeld.c:197
↓ 6 callers
Function
bitcoin_tx_2of2_input_witness_weight
bitcoin/tx.c:946
↓ 6 callers
Function
bitcoin_tx_check
bitcoin/tx.c:268
↓ 6 callers
Function
bitcoin_tx_output_set_amount
bitcoin/tx.c:289
↓ 6 callers
Function
bitcoin_tx_with_psbt
bitcoin/tx.c:549
↓ 6 callers
Function
bitcoin_witness_2of2
Create a witness which spends the 2of2. */
bitcoin/script.c:430
↓ 6 callers
Function
bitcoin_wscript_htlc_tx
bitcoin/script.c:905
↓ 6 callers
Function
blinding_hash_e_and_ss
common/blinding.c:7
↓ 6 callers
Function
bolt12_path_secret
common/bolt12_id.c:20
↓ 6 callers
Method
build
(mut self)
plugins/lsps-plugin/src/core/server.rs:51
↓ 6 callers
Function
c12r_errx
ccan/tools/configurator/configurator.c:553
↓ 6 callers
Function
channel_add_htlc
channeld/full_channel.c:940
↓ 6 callers
Function
channel_cleanup_commands
lightningd/channel.c:1200
↓ 6 callers
Function
channel_hint_set_find
plugins/channel_hint.c:113
↓ 6 callers
Function
check_channel_id
openingd/dualopend.c:555
↓ 6 callers
Function
check_config_bounds
~ This is the key function that checks that their configuration is reasonable: * it applied for both the case where they're trying to open a channel,
openingd/common.c:14
↓ 6 callers
Function
child_err
plugins/askrene/child/child_log.c:41
↓ 6 callers
Function
command_its_complicated
lightningd/jsonrpc.c:64
↓ 6 callers
Function
confirm_and_wait
(l1, l2, bitcoind)
tests/test_splicing_insane.py:34
↓ 6 callers
Function
confirm_funding_not_spent
(nodes)
tests/test_splicing_insane.py:39
↓ 6 callers
Function
cpu_to_le16
* cpu_to_le16 - convert a uint16_t value to little-endian * @native: value to convert */
ccan/ccan/endian/endian.h:261
↓ 6 callers
Function
cryptomsg_decrypt_body
common/cryptomsg.c:88
↓ 6 callers
Function
daemon_shutdown
common/daemon.c:193
↓ 6 callers
Function
db_bind_psbt
db/bindings.c:227
↓ 6 callers
Function
db_bind_pubkey
db/bindings.c:180
↓ 6 callers
Function
db_bind_signature
db/bindings.c:204
↓ 6 callers
Function
db_col_channel_id
db/bindings.c:360
↓ 6 callers
Function
db_col_signature
db/bindings.c:451
↓ 6 callers
Function
default_lease_rates
plugins/funder_policy.c:114
↓ 6 callers
Method
dev_reenable_commit
Re-enable the commit timer on peer {id}.
contrib/pyln-client/pyln/client/lightning.py:669
↓ 6 callers
Method
disable
(mut self, reason: &str)
plugins/src/lib.rs:836
↓ 6 callers
Function
dump_htlc
channeld/full_channel.c:124
↓ 6 callers
Function
env
Access to environment variables Allows access to environment variables, falling back to config.vars (part of Core Lightning's `./configure` o
contrib/pyln-testing/pyln/testing/utils.py:54
↓ 6 callers
Function
expected_peer_features
Return the expected peer features hexstring for this configuration
tests/utils.py:42
↓ 6 callers
Function
fail_destination_tok
plugins/spender/multifundchannel.c:48
↓ 6 callers
Function
fail_internalerr
plugins/offers_invreq_hook.c:97
↓ 6 callers
Function
feerate_style_name
bitcoin/feerate.c:34
↓ 6 callers
Function
find_channel_funding_input
channeld/channeld.c:1754
↓ 6 callers
Function
find_iso4217
common/iso4217.c:195
↓ 6 callers
Function
find_layer
plugins/askrene/layer.c:860
↓ 6 callers
Function
find_plugin_for_command
lightningd/plugin.c:1247
↓ 6 callers
Function
flow_edge
Helper to access the half chan at flow index idx */
plugins/renepay/flow.c:409
↓ 6 callers
Function
fmt_bip340sig
bitcoin/signature.c:372
↓ 6 callers
Function
fmt_featurebits
common/features.c:585
↓ 6 callers
Function
fmt_preimage
bitcoin/preimage.c:16
↓ 6 callers
Function
fromwire_tal_arrn
Generated stub for fromwire_tal_arrn */
common/test/run-base64.c:66
↓ 6 callers
Method
get_hmac_hex
(&self, secret: &[u8])
plugins/lsps-plugin/src/proto/lsps2.rs:308
↓ 6 callers
Function
good_addrtype
Elements doesn't support p2tr
tests/test_wallet.py:28
↓ 6 callers
Function
gossmap_chan_htlc_max
Convenience routines to get htlc min/max as amount_msat */
common/gossmap.h:257
↓ 6 callers
Function
gossmap_scidd_pubkey
common/gossmap.c:1821
↓ 6 callers
Method
handle
(&self, ctx: &RequestContext, request: &[u8])
plugins/lsps-plugin/src/core/router.rs:110
↓ 6 callers
Function
hsm_get_client_fd
lightningd/hsm_control.c:35
↓ 6 callers
Function
ilog64
ccan/ccan/ilog/ilog.c:73
↓ 6 callers
Function
indent
ccan/ccan/json_out/json_out.c:88
↓ 6 callers
Function
invreq_offer_id
common/bolt12.c:723
↓ 6 callers
Function
io_plan_arg
ccan/ccan/io/io.c:141
↓ 6 callers
Function
is_external_account
common/coin_mvt.h:327
↓ 6 callers
Function
is_lightningd
This is used for various assertions and error cases. */
hsmd/hsmd.c:97
← previous
next →
1,001–1,100 of 16,250, ranked by callers