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
count_successful_txs
()
tests/test_closing.py:3130
↓ 1 callers
Function
count_trailing_zeroes
TODO(cdecker) Stolen from shachain, move to some appropriate location */
wallet/wallet.c:1153
↓ 1 callers
Function
crafted_bolt11
A parseable-but-junk-signed bolt11: createinvoice decodes without verifying the signature, so the 65 trailing bytes are filler; every
tests/test_invoices.py:1181
↓ 1 callers
Function
crashlog_activate
common/daemon.c:93
↓ 1 callers
Function
crc32_of_update
BOLT #7: * * The checksum of a `channel_update` is the CRC32C checksum as specified in * [RFC3720](https://tools.ietf.org/html/rfc3720#appendix-B.4
devtools/mkgossip.c:101
↓ 1 callers
Function
crc32c_init_hw
Initialize tables for shifting crcs. */
ccan/ccan/crc32c/crc32c.c:157
↓ 1 callers
Function
crc32c_init_sw_big
ccan/ccan/crc32c/crc32c.c:347
↓ 1 callers
Function
crc32c_init_sw_little
ccan/ccan/crc32c/crc32c.c:270
↓ 1 callers
Function
crc32c_shift
Apply the zeros operator table to crc. */
ccan/ccan/crc32c/crc32c.c:136
↓ 1 callers
Function
crc32c_sw_big
Compute a CRC-32C in software assuming a big-endian architecture, constructing the required tables if that hasn't already been done. */
ccan/ccan/crc32c/crc32c.c:375
↓ 1 callers
Function
crc32c_sw_little
Compute a CRC-32C in software assuming a little-endian architecture, constructing the required table if that hasn't already been done. */
ccan/ccan/crc32c/crc32c.c:297
↓ 1 callers
Function
crc32c_zeros
Take a length and build four lookup tables for applying the zeros operator for that length, byte-by-byte on the operand. */
ccan/ccan/crc32c/crc32c.c:122
↓ 1 callers
Function
crc32c_zeros_op
Construct an operator to apply len zeros to a crc. len must be a power of two. If len is not a power of two, then the result is the same as for t
ccan/ccan/crc32c/crc32c.c:85
↓ 1 callers
Function
create_anchor_details
lightningd/anchorspend.c:121
↓ 1 callers
Function
create_and_broadcast_anchor
lightningd/anchorspend.c:586
↓ 1 callers
Function
create_app
(test_config=None)
tests/rkls_github_canned_server.py:7
↓ 1 callers
Function
create_channel_announcement_dir
Once we know which way nodes go, it's easy to construct */
lightningd/gossip_generation.c:10
↓ 1 callers
Function
create_child
ccan/ccan/ptr_valid/ptr_valid.c:207
↓ 1 callers
Function
create_clients
This runs in the child. */
ccan/ccan/io/benchmarks/run-length-prefix.c:55
↓ 1 callers
Function
create_clients
This runs in the child. */
ccan/ccan/io/benchmarks/run-different-speed.c:49
↓ 1 callers
Function
create_cors_layer
(allowed_origins: &[String])
plugins/rest-plugin/src/options.rs:113
↓ 1 callers
Function
create_flow_reservations_verify
plugins/askrene/child/refine.c:124
↓ 1 callers
Function
create_hsm
hsmd/hsmd.c:319
↓ 1 callers
Function
create_nannounce
lightningd/gossip_generation.c:350
↓ 1 callers
Function
create_onion
plugins/renepay/routetracker.c:304
↓ 1 callers
Function
create_onion
plugins/xpay/xpay.c:1385
↓ 1 callers
Function
create_opaque_blob
ccan/ccan/list/test/helper.c:19
↓ 1 callers
Function
create_open_channel_msg
tests/fuzz/fuzz-open_channel.c:367
↓ 1 callers
Function
create_shell_command
Output shell command for the request example
tools/fromschema.py:318
↓ 1 callers
Function
createinvoice_done
We can fail to create the invoice if we've already done so. */
plugins/offers_invreq_hook.c:179
↓ 1 callers
Function
createproof_proofs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:3433
↓ 1 callers
Function
creates_new_rune
createrune without a rune makes a new one from our master secret */
lightningd/runes.c:965
↓ 1 callers
Function
critbit0_contains
ccan/ccan/strset/tools/cbspeed.c:67
↓ 1 callers
Function
critbit0_delete
ccan/ccan/strset/tools/cbspeed.c:234
↓ 1 callers
Function
critbit0_insert
ccan/ccan/strset/tools/cbspeed.c:106
↓ 1 callers
Function
cross_over_fail
tests/fuzz/bolt12.h:97
↓ 1 callers
Function
csum_matches
Extra sanity check (if it's cheap): does crc match? */
common/gossmap.c:804
↓ 1 callers
Function
csv_filename
plugins/bkpr/incomestmt.c:440
↓ 1 callers
Function
csv_list_fmts
plugins/bkpr/incomestmt.c:834
↓ 1 callers
Function
csv_match_token
plugins/bkpr/incomestmt.c:824
↓ 1 callers
Function
csv_print_income_events
plugins/bkpr/incomestmt.c:846
↓ 1 callers
Function
currency_chainmoves_wait
plugins/bkpr/bookkeeper.c:1899
↓ 1 callers
Function
currency_channelmoves_wait
plugins/bkpr/bookkeeper.c:1914
↓ 1 callers
Function
custommsg_completed
connectd/multiplex.c:1040
↓ 1 callers
Function
custommsg_notification_serialize
lightningd/notification.c:139
↓ 1 callers
Function
daemon_conn_sync_flush
common/daemon_conn.c:93
↓ 1 callers
Function
datastore_key_eq
wallet/datastore.c:26
↓ 1 callers
Method
datastoreusage
Returns the total bytes that are stored for under the given key or the root of the datastore. All descendants of the given key (or ro
contrib/pyln-client/pyln/client/lightning.py:575
↓ 1 callers
Function
db_bind_node_id_arr
db/bindings.c:164
↓ 1 callers
Function
db_bind_onionreply
db/bindings.c:253
↓ 1 callers
Function
db_bind_secret_arr
db/bindings.c:124
↓ 1 callers
Function
db_bind_tx
db/bindings.c:220
↓ 1 callers
Function
db_changes
db/utils.c:212
↓ 1 callers
Function
db_changes_add
db/utils.c:245
↓ 1 callers
Function
db_col_amount_msat_or_default
db/bindings.c:544
↓ 1 callers
Function
db_col_datastore_key
wallet/datastore.c:83
↓ 1 callers
Function
db_col_node_id_arr
We don't assume sizeof(struct node_id) == sizeof(struct node_id.k), * otherwise this would simply be a call to db_col_arr! * Thanks ARM! */
db/bindings.c:379
↓ 1 callers
Function
db_col_preimage
db/bindings.c:349
↓ 1 callers
Function
db_col_secret_arr
db/bindings.c:606
↓ 1 callers
Function
db_col_wireaddr
db/bindings.c:613
↓ 1 callers
Function
db_config_find
db/utils.c:278
↓ 1 callers
Function
db_data_version_incr
By making the update conditional on the current value we expect we * are implementing an optimistic lock: if the update results in * changes on the
db/exec.c:105
↓ 1 callers
Function
db_get_runes
Migration code needs db, and db does not have last_used_nsec yet */
wallet/wallet.c:6717
↓ 1 callers
Function
db_migrate
plugins/bkpr/test/run-recorder.c:229
↓ 1 callers
Function
db_need_transaction
db/exec.c:132
↓ 1 callers
Function
db_queries_find
db/utils.c:301
↓ 1 callers
Function
db_set_readonly
Generated stub for db_set_readonly */
lightningd/test/run-jsonrpc.c:21
↓ 1 callers
Function
db_setup
plugins/bkpr/test/run-recorder.c:242
↓ 1 callers
Function
db_sqlite3_changes_add
db/db_sqlite3.c:51
↓ 1 callers
Function
db_sqlite3_query
db/db_sqlite3.c:225
↓ 1 callers
Function
db_table_name
Remove 'list', turn - into _ in name */
plugins/sql.c:1699
↓ 1 callers
Function
db_warn
db/utils.c:328
↓ 1 callers
Function
debug_dump
common/splice_script.c:208
↓ 1 callers
Function
debugging
lightningd/subd.c:701
↓ 1 callers
Function
decision_to_response
(decision: HtlcDecision)
plugins/lsps-plugin/src/service.rs:203
↓ 1 callers
Method
decode
(&mut self, buf: &mut BytesMut)
cln-rpc/src/codec.rs:32
↓ 1 callers
Method
decode
(&mut self, buf: &mut BytesMut)
plugins/src/codec.rs:32
↓ 1 callers
Function
decode_8_chars
ccan/ccan/str/base32/base32.c:69
↓ 1 callers
Function
decode_channel_update_timestamps
common/decode_array.c:84
↓ 1 callers
Function
decode_extra2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1118
↓ 1 callers
Function
decode_fallbacks2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1125
↓ 1 callers
Function
decode_invoice_fallbacks2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1133
↓ 1 callers
Function
decode_invoice_paths2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1159
↓ 1 callers
Function
decode_invoice_paths_path2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1141
↓ 1 callers
Function
decode_invreq_paths2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1183
↓ 1 callers
Function
decode_invreq_paths_path2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1176
↓ 1 callers
Function
decode_lsps0_frame_hex
(hex_str: &str)
plugins/lsps-plugin/src/cln_adapters/hooks.rs:79
↓ 1 callers
Function
decode_offer_paths2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1200
↓ 1 callers
Function
decode_offer_paths_path2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1193
↓ 1 callers
Function
decode_onion
Sets current_node, *next_onion_packet, *shared_secret and *me, and decodes */
tests/plugins/channeld_fakenet.c:305
↓ 1 callers
Function
decode_payload
Helper to fetch data from payload as a valid hex buffer */
common/codex32.c:212
↓ 1 callers
Function
decode_restrictions2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1229
↓ 1 callers
Function
decode_scid_query_flags
common/decode_array.c:45
↓ 1 callers
Function
decode_tu64
Decode a BOLT #1 `tu64`, enforcing minimal form. Empty slice -> 0. Leading 0x00 or >8 bytes is invalid.
plugins/lsps-plugin/src/core/tlv.rs:315
↓ 1 callers
Function
decode_unknown_invoice_request_tlvs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1236
↓ 1 callers
Function
decode_unknown_invoice_tlvs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1244
↓ 1 callers
Function
decode_unknown_offer_tlvs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1252
↓ 1 callers
Function
decode_unknown_payer_proof_tlvs2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:1260
↓ 1 callers
Function
decodepay_routes2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:3475
↓ 1 callers
Function
decompress
devtools/onion.c:274
← previous
next →
4,801–4,900 of 16,782, ranked by callers