Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ functions
Functions
16,782 in github.com/ElementsProject/lightning
⨍
Functions
16,782
◇
Types & classes
11,024
↳
Endpoints
80
↓ 1 callers
Function
do_reconnect_dance
openingd/dualopend.c:4090
↓ 1 callers
Function
do_round_trips
(n)
tests/test_connection.py:4844
↓ 1 callers
Function
do_sign_local_htlc_tx
~ Originally, onchaind would ask for hsmd to sign txs directly, and then * tell lightningd to broadcast it. With "bring-your-own-fees" HTLCs, this
hsmd/libhsmd.c:1497
↓ 1 callers
Function
do_tallocs
ccan/ccan/tal/benchmark/samba-allocs.c:142
↓ 1 callers
Function
do_tals
ccan/ccan/tal/benchmark/samba-allocs.c:176
↓ 1 callers
Function
do_test
ccan/ccan/crypto/ripemd160/test/run-test-vectors.c:49
↓ 1 callers
Function
do_test
ccan/ccan/crypto/sha256/test/run-test-vectors.c:32
↓ 1 callers
Function
do_test_rune_per_restriction
(l1, rune_to_test, per_sec)
tests/test_runes.py:202
↓ 1 callers
Function
do_write_wire_header
arg->u2.s contains length we've written, arg->u1 contains u8 *data. */
wire/wire_io.c:97
↓ 1 callers
Function
dont_spend_outputs
Reserve both outputs (we assume there are two!) in case any our ours, so we don't spend change: wrecks accounting checks
tests/test_misc.py:595
↓ 1 callers
Function
double_it
ccan/ccan/compiler/test/run-predefine-const.c:10
↓ 1 callers
Function
double_table
ccan/ccan/htable/htable.c:316
↓ 1 callers
Function
drop_char
ccan/ccan/rune/coding.c:165
↓ 1 callers
Function
ds_blockheight_path
plugins/bkpr/blockheights.c:55
↓ 1 callers
Function
ds_desc_payment_hash_path
plugins/bkpr/descriptions.c:99
↓ 1 callers
Function
ds_desc_utxo_path
plugins/bkpr/descriptions.c:82
↓ 1 callers
Function
ds_ofee_path
plugins/bkpr/onchain_fee.c:177
↓ 1 callers
Function
ds_path
plugins/bkpr/account.c:148
↓ 1 callers
Function
ds_rebalance_path
plugins/bkpr/rebalances.c:64
↓ 1 callers
Function
dst_is_excluded
FIXME: This is slow! */
plugins/libplugin-pay.c:650
↓ 1 callers
Function
dualopen_shutdown
openingd/dualopend.c:323
↓ 1 callers
Function
dualopend_tell_depth
lightningd/dual_open_control.c:1014
↓ 1 callers
Function
dummy_read
ccan/ccan/io/test/run-44-io_plan_out_started.c:52
↓ 1 callers
Function
dummy_write
ccan/ccan/io/test/run-43-io_plan_in_started.c:34
↓ 1 callers
Function
dumpGossipStore
(node)
contrib/pyln-testing/pyln/testing/fixtures.py:705
↓ 1 callers
Function
dump_bucket_stats
ccan/ccan/timer/timer.c:477
↓ 1 callers
Function
dump_commitments_infos
tools/lightning-hsmtool.c:326
↓ 1 callers
Function
dump_filter
common/test/run-json_filter.c:186
↓ 1 callers
Function
dump_leak_backtrace
common/memleak.c:391
↓ 1 callers
Function
dump_map
ccan/ccan/cdump/tools/cdump-enumstr.c:5
↓ 1 callers
Function
dump_node
ccan/ccan/tal/tal.c:940
↓ 1 callers
Function
dump_segments
common/splice_script.c:226
↓ 1 callers
Function
dump_token
Returns the indent used */
common/splice_script.c:187
↓ 1 callers
Function
dump_vsize
See proc(5): field 23 is vsize, 24 is rss (in pages) */
ccan/ccan/tal/benchmark/samba-allocs.c:224
↓ 1 callers
Function
dumpcap_usable
()
tests/fixtures.py:91
↓ 1 callers
Function
dumponchaindescriptors
tools/lightning-hsmtool.c:481
↓ 1 callers
Function
dup_names
check for valid but duplicate json name-value pairs */
common/test/run-param.c:280
↓ 1 callers
Function
ecdh
(privkey_bytes, pubkey_bytes)
tests/test_connection.py:4641
↓ 1 callers
Function
ecdh
tests/plugins/channeld_fakenet.c:139
↓ 1 callers
Function
ecdh
common/test/run-blindedpath_onion.c:118
↓ 1 callers
Function
ecdh_maybe_blinding
tests/plugins/channeld_fakenet.c:221
↓ 1 callers
Function
edge_probability
Stolen whole-cloth from @Lagrang3 in renepay's flow.c. Wrong * because of htlc overhead in reservations! */
plugins/askrene/child/flow.c:37
↓ 1 callers
Function
either
lightningd/pay.c:1399
↓ 1 callers
Function
elements_tx_add_fee_output
* Add an explicit fee output if necessary. * * An explicit fee output is only necessary if we are using an elements * transaction, and we have a no
bitcoin/tx.c:167
↓ 1 callers
Function
elements_wtx_output_is_fee
bitcoin/tx.c:107
↓ 1 callers
Method
emit
Emit a record. If a formatter is specified, it is used to format the record. Numeric levels are translated into strings that lightnin
contrib/pyln-client/pyln/client/plugin.py:1120
↓ 1 callers
Function
enable_notifications
cli/lightning-cli.c:555
↓ 1 callers
Function
encode_8_chars
ccan/ccan/str/base32/base32.c:119
↓ 1 callers
Function
encode_c
common/bolt11.c:1170
↓ 1 callers
Function
encode_d
common/bolt11.c:1149
↓ 1 callers
Function
encode_extra
common/bolt11.c:1260
↓ 1 callers
Function
encode_f
common/bolt11.c:1182
↓ 1 callers
Function
encode_fallback
Encode all supported fallback addresses.
contrib/pyln-proto/pyln/proto/invoice.py:79
↓ 1 callers
Function
encode_h
common/bolt11.c:1154
↓ 1 callers
Function
encode_lsps0_frame_hex
(payload: &[u8])
plugins/lsps-plugin/src/cln_adapters/sender.rs:42
↓ 1 callers
Function
encode_m
common/bolt11.c:1144
↓ 1 callers
Function
encode_msg
Encodes the given message. Stores the decrypting crypto_state in `cs`. */
tests/fuzz/fuzz-init_received.c:86
↓ 1 callers
Function
encode_n
common/bolt11.c:1159
↓ 1 callers
Function
encode_p
common/bolt11.c:1139
↓ 1 callers
Function
encode_pubkey_to_p2wpkh_addr
devtools/bip137-verifysignature.c:20
↓ 1 callers
Function
encode_r
common/bolt11.c:1216
↓ 1 callers
Function
encode_s
common/bolt11.c:1177
↓ 1 callers
Function
encode_x
common/bolt11.c:1165
↓ 1 callers
Function
encoding_add_short_channel_id
Marshal a single short_channel_id */
connectd/queries.c:37
↓ 1 callers
Function
encoding_add_timestamps
Marshal a single channel_update_timestamps */
connectd/queries.c:44
↓ 1 callers
Function
encoding_end
connectd/queries.c:50
↓ 1 callers
Function
encoding_end
gossipd/queries.c:42
↓ 1 callers
Function
encoding_start
BOLT #7: * * There are several messages which contain a long array of * `short_channel_id`s (called `encoded_short_ids`) so we include an encoding
connectd/queries.c:25
↓ 1 callers
Function
encrypt_hsm
Legacy function - only works with binary plain format */
tools/lightning-hsmtool.c:169
↓ 1 callers
Function
encrypted_decode
plugins/offers.c:522
↓ 1 callers
Function
end_stfu_mode
channeld/channeld.c:250
↓ 1 callers
Function
enqueue_cupdate
gossipd/gossmap_manage.c:132
↓ 1 callers
Function
enqueue_nannounce
gossipd/gossmap_manage.c:179
↓ 1 callers
Function
entering_recovery_mode
plugins/recover.c:157
↓ 1 callers
Method
enumerate_enum
(self, typename, variants)
contrib/msggen/msggen/gen/grpc/proto.py:104
↓ 1 callers
Method
enumerate_enum
(self, typename, variants)
contrib/msggen/msggen/gen/rpc/hook.py:89
↓ 1 callers
Method
enumerate_fields
Use the meta map to identify which number this field will get.
contrib/msggen/msggen/gen/grpc/proto.py:74
↓ 1 callers
Method
enumvar2number
Find an existing variant number of generate a new one. If we don't have a variant number yet we'll just take the largest one assigned
contrib/msggen/msggen/gen/grpc/proto.py:81
↓ 1 callers
Method
enumvar2number
Find an existing variant number of generate a new one. If we don't have a variant number yet we'll just take the largest one assigned
contrib/msggen/msggen/gen/rpc/hook.py:38
↓ 1 callers
Function
eprint
(*args, **kwargs)
devtools/sql-rewrite.py:12
↓ 1 callers
Function
error
Note: this can actually happen if a single-use offer is already * used at the same time between the check and now. */
plugins/offers_invreq_hook.c:166
↓ 1 callers
Function
error_blockheight
Extract blockheight from the error */
plugins/xpay/xpay.c:694
↓ 1 callers
Function
error_eq
wire/test/run-peer-wire.c:829
↓ 1 callers
Function
error_response
(id: Option<&str>, error: RpcError)
plugins/lsps-plugin/src/core/router.rs:171
↓ 1 callers
Function
escape_value
plugins/bkpr/report.c:390
↓ 1 callers
Function
establish_path_fail
plugins/fetchinvoice.c:609
↓ 1 callers
Function
example
common/test/run-bolt12-format-string-test.c:97
↓ 1 callers
Function
example_final
common/test/run-bolt12-format-string-test.c:102
↓ 1 callers
Function
exchange_commits
These helpers invoke the underlying full_channel API and then drive * the full commitment dance (the four steps of sending_commit -> * recv_revoke_a
tests/fuzz/fuzz-full_channel.c:57
↓ 1 callers
Function
exclude_pollfds
FIXME: We could do this once at set_exclusive time, and catch everywhere * else that we manipulate events. */
ccan/ccan/io/poll.c:342
↓ 1 callers
Function
exclusive_read_pattern_ok
Read-exclusive suppresses writes for the connection's whole life here * (unlike write-exclusive's EPIPE-idle case, read's EOF closes the * conn outr
ccan/ccan/io/test/run-47-exclusive-duplex.c:57
↓ 1 callers
Function
exclusive_write_pattern_ok
Once the write side idles, the read side correctly resumes: some * prefix of pure writes (">"), then whatever the peer wrote arrives in * "<...>"-ma
ccan/ccan/io/test/run-48-exclusive-duplex-write.c:65
↓ 1 callers
Function
execute_command
plugins/commando.c:274
↓ 1 callers
Function
execute_splice
plugins/spender/splice.c:1773
↓ 1 callers
Function
exhaust_channel
Spend all available capacity (10^6 - 1%) of channel
tests/test_pay.py:1805
↓ 1 callers
Function
expand_multichans
common/splice_script.c:1927
↓ 1 callers
Function
expect_count
common/test/run-tx_signatures_count.c:29
↓ 1 callers
Function
expired_ids
Get any invoice ids where invoice is >= expiry time and status */
wallet/invoices.c:156
↓ 1 callers
Function
expired_opening_fee_params
(secret: &[u8; 32])
plugins/lsps-plugin/src/core/lsps2/service.rs:179
↓ 1 callers
Function
expired_opening_fee_params
()
plugins/lsps-plugin/src/core/lsps2/htlc.rs:282
← previous
next →
5,001–5,100 of 16,782, ranked by callers