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
handle_sign_message
~ lightningd asks us to sign a message. I tweeted the spec * in https://twitter.com/rusty_twit/status/1182102005914800128: * * @roasbeef & @bitcon
hsmd/libhsmd.c:708
↓ 1 callers
Function
handle_sign_mutual_close_tx
This is used by closingd to sign off on a mutual close tx. */
hsmd/libhsmd.c:1421
↓ 1 callers
Function
handle_sign_node_announcement
~ It's optional for nodes to send node_announcement, but it lets us set our * favourite color and cool alias! Plus other minor details like how to
hsmd/libhsmd.c:1268
↓ 1 callers
Function
handle_sign_option_will_fund_offer
~ lightningd asks us to sign a liquidity ad offer */
hsmd/libhsmd.c:789
↓ 1 callers
Function
handle_sign_penalty_to_us
~ Called from channeld: used by watchtower code. */
hsmd/libhsmd.c:1743
↓ 1 callers
Function
handle_sign_remote_commitment_tx
~ This is used by channeld to create signatures for the remote peer's * commitment transaction. It's functionally identical to signing our own, * b
hsmd/libhsmd.c:1650
↓ 1 callers
Function
handle_sign_remote_htlc_to_us
~ When called by onchaind */
hsmd/libhsmd.c:2054
↓ 1 callers
Function
handle_sign_remote_htlc_tx
~ This is used by channeld to create signatures for the remote peer's * HTLC transactions. */
hsmd/libhsmd.c:1591
↓ 1 callers
Function
handle_sign_splice_tx
This is used by channeld to sign the final splice tx. */
hsmd/libhsmd.c:1456
↓ 1 callers
Function
handle_sign_withdrawal_tx
~ lightningd asks us to sign a withdrawal; same as above but in theory * we can do more to check the previous case is valid. */
hsmd/libhsmd.c:1399
↓ 1 callers
Function
handle_spend_created
onchaind/onchaind.c:656
↓ 1 callers
Function
handle_splice_abort
lightningd/channel_control.c:327
↓ 1 callers
Function
handle_splice_cmd
plugins/spender/splice.c:2019
↓ 1 callers
Function
handle_splice_confirmed_init
When channeld finishes processing the `splice_init` command, this is called */
lightningd/channel_control.c:403
↓ 1 callers
Function
handle_splice_confirmed_signed
After channeld have all the signatures it sends the result to us here */
lightningd/channel_control.c:647
↓ 1 callers
Function
handle_splice_confirmed_update
Channeld sends us this in response to a user's `splice_update` request */
lightningd/channel_control.c:439
↓ 1 callers
Function
handle_splice_feerate_error
lightningd/channel_control.c:288
↓ 1 callers
Function
handle_splice_funding_error
lightningd/channel_control.c:230
↓ 1 callers
Function
handle_splice_init
User has begun a splice with `splice_init` command. Here we request entry * into STFU mode, when we get it, send `splice` to our peer-> * Later the
channeld/channeld.c:5128
↓ 1 callers
Function
handle_splice_lookup_tx
Channeld uses this to request the funding transaction for help building the * splice tx */
lightningd/channel_control.c:483
↓ 1 callers
Function
handle_splice_sending_sigs
lightningd/channel_control.c:777
↓ 1 callers
Function
handle_splice_state_error
lightningd/channel_control.c:265
↓ 1 callers
Function
handle_splice_stfu_success
This occurs once our 'stfu' transition was successful. */
channeld/channeld.c:5096
↓ 1 callers
Function
handle_stfu
channeld/channeld.c:330
↓ 1 callers
Function
handle_stfu_req
channeld/channeld.c:5234
↓ 1 callers
Function
handle_their_cheat
BOLT #5: * * If any node tries to cheat by broadcasting an outdated commitment * transaction (any previous commitment transaction besides the most
onchaind/onchaind.c:2781
↓ 1 callers
Function
handle_their_unilateral
onchaind/onchaind.c:3118
↓ 1 callers
Function
handle_unexpected_reestablish
channeld/channeld.c:3036
↓ 1 callers
Function
handle_unexpected_tx_sigs
channeld/channeld.c:3008
↓ 1 callers
Function
handle_unknown_commitment
onchaind/onchaind.c:3454
↓ 1 callers
Function
handle_update_inflight
lightningd/channel_control.c:986
↓ 1 callers
Function
handle_update_require_confirmed
lightningd/dual_open_control.c:3638
↓ 1 callers
Function
handle_validate_commitment_tx
~This stub implementation is overriden by fully validating signers * that need to independently verify the peer's signatures. */
hsmd/libhsmd.c:1913
↓ 1 callers
Function
handle_validate_inputs
lightningd/dual_open_control.c:3657
↓ 1 callers
Function
handle_validate_lease
lightningd/dual_open_control.c:2511
↓ 1 callers
Function
handle_validate_rbf
lightningd/dual_open_control.c:2549
↓ 1 callers
Function
handle_validate_revocation
This stub implementation is overriden by fully validating signers * that need to independently verify that the latest state is * commited. */
hsmd/libhsmd.c:2002
↓ 1 callers
Function
handle_version
lightningd/subd.c:459
↓ 1 callers
Function
handle_wallet_fund
Before calling, ensure `onchain_fee` is accounted for in `needed_funds`. * * If we need to fund from the onchain wallet this requires another pass s
plugins/spender/splice.c:1304
↓ 1 callers
Function
handle_wetrun
plugins/spender/splice.c:1264
↓ 1 callers
Function
handle_wireaddr_listen
Return true if it created socket successfully. If errstr is non-NULL, * allocate off ctx if return false, otherwise it implies it's OK to fail. */
connectd/connectd.c:1377
↓ 1 callers
Function
handshake_succeeded
connectd/handshake.c:355
↓ 1 callers
Function
has_all_subdaemons
Check if all subdaemons exist in specified directory. */
lightningd/lightningd.c:510
↓ 1 callers
Function
has_announced_channels
lightningd/channel_gossip.c:1472
↓ 1 callers
Function
has_commitments_secured
plugins/spender/multifundchannel.c:96
↓ 1 callers
Function
has_crash_log
(n)
tests/test_misc.py:2050
↓ 1 callers
Method
has_errors
(self)
contrib/pyln-testing/pyln/testing/fixtures.py:223
↓ 1 callers
Method
has_feature
(self, bit)
contrib/pyln-client/pyln/client/gossmap.py:225
↓ 1 callers
Method
has_feature
(self, bit)
contrib/pyln-client/pyln/client/gossmap.py:281
↓ 1 callers
Method
has_len_fields
(self)
tools/generate-wire.py:168
↓ 1 callers
Function
has_lightning_prefix
common/bolt11.c:729
↓ 1 callers
Function
has_members
Does this sub have any properties to print?
tools/fromschema.py:220
↓ 1 callers
Function
has_normal_channels
(l1, l2)
tests/test_connection.py:1657
↓ 1 callers
Function
has_table_desc
plugins/sql.c:307
↓ 1 callers
Method
has_tor
Checks if a node has one or more TOR addresses
contrib/pyln-client/pyln/client/gossmap.py:359
↓ 1 callers
Function
hash
Clashy hash */
ccan/ccan/htable/test/run-clash.c:8
↓ 1 callers
Function
hash
We use the number divided by two as the hash (for lots of collisions). */
ccan/ccan/htable/test/run-size.c:11
↓ 1 callers
Function
hash
ccan/ccan/htable/test/run-extra.c:3
↓ 1 callers
Function
hash
ccan/ccan/htable/test/run-init-sized-alloc-fail.c:19
↓ 1 callers
Function
hash
ccan/ccan/htable/test/run-allocator.c:28
↓ 1 callers
Function
hash
ccan/ccan/htable/test/run-copy.c:9
↓ 1 callers
Function
hash_scid
bitcoin/short_channel_id.h:20
↓ 1 callers
Function
hash_uintptr
ccan/ccan/htable/tools/density.c:19
↓ 1 callers
Function
hashfn
ccan/ccan/intmap/benchmark/speed.c:53
↓ 1 callers
Function
have_binary
(name)
tests/fixtures.py:92
↓ 1 callers
Function
have_channels
lightningd/jsonrpc.c:227
↓ 1 callers
Function
have_empty_encrypted_queue
Do we have nothing in queue? */
connectd/multiplex.c:479
↓ 1 callers
Function
have_same_data_version
Check if both sqlite3 databases have a data_version variable, * *and* are the same. */
db/db_sqlite3.c:62
↓ 1 callers
Function
have_they_signed_inflight
channeld/channeld.c:1878
↓ 1 callers
Function
heapify
Establish the heap condition for the indices 0 to N (inclusive). */
ccan/ccan/asort/asort.c:158
↓ 1 callers
Function
heapsort_r
A non-recursive heapsort with worst-case performance of O(nlog n) and worst-case space complexity of O(1). It sorts the array starting at BASE
ccan/ccan/asort/asort.c:195
↓ 1 callers
Function
help_help2py
(m)
contrib/pyln-testing/pyln/testing/grpc2py.py:2721
↓ 1 callers
Function
hexchar
ccan/ccan/str/hex/hex.c:42
↓ 1 callers
Function
hexeq
bitcoin/test/run-tx-encode.c:24
↓ 1 callers
Function
hkdf_two_keys
common/cryptomsg.c:11
↓ 1 callers
Function
hmac
common/hmac.c:27
↓ 1 callers
Function
hook_callable
lightningd/plugin_hook.c:313
↓ 1 callers
Function
hook_extract_shutdown_script
lightningd/dual_open_control.c:367
↓ 1 callers
Function
hook_fallback
(hookname: &str)
plugins/src/lib.rs:875
↓ 1 callers
Function
hook_gives_failmsg
Returns magic value to send generic incorrect_or_unknown_payment_details */
lightningd/invoice.c:224
↓ 1 callers
Function
hook_start
lightningd/plugin_hook.c:222
↓ 1 callers
Method
hook_typed
Add a hook subscription for `hookname` with typed request and response. The request is deserialized from JSON into `Req` and the response is serialize
plugins/src/lib.rs:236
↓ 1 callers
Function
hop_append
hop has size prepended, so this isn't a simple "append" */
plugins/xpay/onion_budget.c:16
↓ 1 callers
Function
hop_to_scidd
plugins/renepay/route.h:136
↓ 1 callers
Function
hsm_channel_secret_base
~ This secret is the basis for all per-channel secrets: the per-channel seeds * will be generated by mixing in the dbid and the peer node_id. */
hsmd/libhsmd.c:298
↓ 1 callers
Function
hsm_channel_secret_base
devtools/checkchannels.c:17
↓ 1 callers
Function
hsm_get_global_fd
lightningd/hsm_control.c:47
↓ 1 callers
Function
hsm_get_per_commitment_point
onchaind/onchaind.c:588
↓ 1 callers
Function
hsm_init
lightningd/hsm_control.c:82
↓ 1 callers
Function
hsm_is_capable
Is this capability supported by the HSM? (So far, always a message * number) */
common/hsm_capable.c:7
↓ 1 callers
Function
hsm_key_for_utxo
This gets the bitcoin private key needed to spend from our wallet */
hsmd/libhsmd.c:530
↓ 1 callers
Function
hsm_per_commitment_point
openingd/dualopend.c:3978
↓ 1 callers
Function
hsm_sign_b12_invoice
lightningd/invoice.c:482
↓ 1 callers
Function
hsmd_client_new_main
hsmd/libhsmd.c:58
↓ 1 callers
Function
hsmd_client_new_peer
hsmd/libhsmd.c:68
↓ 1 callers
Function
hsmd_deinit
hsmd/libhsmd.c:2601
↓ 1 callers
Function
hsmd_handle_client_message
hsmd/libhsmd.c:2188
↓ 1 callers
Function
ht_max_deleted
Clean deleted if we're full, and more than 12.5% deleted */
ccan/ccan/htable/htable.c:102
↓ 1 callers
Function
htable_first_
ccan/ccan/htable/htable.c:199
↓ 1 callers
Function
htable_firstval_
ccan/ccan/htable/htable.c:185
← previous
next →
5,801–5,900 of 16,782, ranked by callers