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
↓ 16 callers
Function
test_htlc
(amount_msat: u64, extra_tlvs: TlvStream)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:304
↓ 16 callers
Function
test_onion
(scid: ShortChannelId, payload: TlvStream)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:297
↓ 16 callers
Function
test_scid
()
plugins/lsps-plugin/src/core/lsps2/htlc.rs:261
↓ 16 callers
Method
to_vec
(self)
cln-rpc/src/primitives.rs:372
↓ 15 callers
Function
amount_msat_to_sat
common/amount.c:22
↓ 15 callers
Function
channel_feerate
common/initial_channel.c:185
↓ 15 callers
Function
channel_has
common/initial_channel.c:220
↓ 15 callers
Method
check
(self, service: model.Service)
contrib/msggen/msggen/checks.py:12
↓ 15 callers
Function
command_fail
common/test/run-param.c:43
↓ 15 callers
Function
db_column_blob
db/bindings.c:273
↓ 15 callers
Function
db_column_bytes
db/bindings.c:266
↓ 15 callers
Function
db_set_intvar
db/exec.c:60
↓ 15 callers
Function
direction
BOLT 7 direction: 0 means from lesser encoded id
tests/test_askrene.py:19
↓ 15 callers
Function
feature_is_set
common/features.c:328
↓ 15 callers
Function
fmt_bitcoin_blkid
bitcoin/block.c:248
↓ 15 callers
Function
fmt_secret
bitcoin/privkey.c:16
↓ 15 callers
Function
fromwire_u8
Generated stub for fromwire_u8 */
common/test/run-base64.c:76
↓ 15 callers
Method
get_unused_port
(self)
contrib/pyln-testing/pyln/testing/utils.py:1908
↓ 15 callers
Method
getpeer
Show peer with {peer_id}, if {level} is set, include {log}s.
contrib/pyln-testing/pyln/testing/grpc.py:110
↓ 15 callers
Function
gossmap_apply_localmods
Apply localmods to this map */
common/gossmap.c:1220
↓ 15 callers
Function
gossmap_refresh
common/gossmap.c:1361
↓ 15 callers
Function
hsmd_status_bad_request
hsmd/hsmd.c:656
↓ 15 callers
Function
htlc_owner
channeld/channeld_htlc.h:44
↓ 15 callers
Function
inject_peer_msg
connectd/multiplex.c:110
↓ 15 callers
Function
json_add_tok
common/json_stream.c:393
↓ 15 callers
Function
json_out_obj
plugins/libplugin.c:538
↓ 15 callers
Function
json_to_short_channel_id
common/json_parse.c:573
↓ 15 callers
Function
memeqzero
ccan/ccan/mem/mem.c:92
↓ 15 callers
Function
new_fee_states
common/fee_states.c:26
↓ 15 callers
Function
node_id_from_hexstr
Convert from hex string of SEC1 encoding */
common/node_id.c:43
↓ 15 callers
Function
open_err_fatal
openingd/dualopend.c:398
↓ 15 callers
Function
plugin_main
plugins/libplugin.c:2433
↓ 15 callers
Method
send
(&self, _peer: &PublicKey, _payload: &[u8])
plugins/lsps-plugin/src/core/transport.rs:169
↓ 15 callers
Function
siphash24_update
ccan/ccan/crypto/siphash24/siphash24.c:113
↓ 15 callers
Method
state
(&self)
plugins/src/lib.rs:1051
↓ 15 callers
Function
test_datastore_entry
(expected_payment_size: Option<Msat>)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:289
↓ 15 callers
Function
timemono_add
* timemono_add - add a relative to a monotonic time * @a: the monotonic time. * @b: a relative time. * * The times must not overflow, or the resul
ccan/ccan/time/time.h:513
↓ 15 callers
Function
update_example
Add example request, response and other details in json array for future use
tests/autogenerate-rpc-examples.py:398
↓ 15 callers
Function
utf8_check
Check for valid UTF-8 */
common/utils.c:173
↓ 15 callers
Method
with_buy_request
(self, entry: DatastoreEntry)
plugins/lsps-plugin/src/core/lsps2/htlc.rs:334
↓ 14 callers
Function
amount_sat_greater_eq
common/amount.c:458
↓ 14 callers
Function
bitcoin_tx_input_set_witness
bitcoin/tx.c:337
↓ 14 callers
Function
bolt11_decode
Decodes and checks signature; returns NULL on error. */
common/bolt11.c:980
↓ 14 callers
Function
channel_set_state
lightningd/channel.c:976
↓ 14 callers
Function
create_peer_id
()
plugins/lsps-plugin/src/core/lsps2/handler.rs:686
↓ 14 callers
Function
db_bind_amount_msat
db/bindings.c:235
↓ 14 callers
Function
db_col_sha256
db/bindings.c:573
↓ 14 callers
Method
dev_pay
Wrapper for rpc.dev_pay which suppresses the request schema
contrib/pyln-testing/pyln/testing/utils.py:1630
↓ 14 callers
Function
get_askrene
Useful plugin->askrene mapping */
plugins/askrene/askrene.h:42
↓ 14 callers
Function
gossmap_first_node
common/gossmap.c:1555
↓ 14 callers
Function
gossmap_max_node_idx
These values can change across calls to gossmap_check. */
common/gossmap.c:186
↓ 14 callers
Function
gossmap_next_node
common/gossmap.c:1560
↓ 14 callers
Function
hex_data_size
* hex_data_size - Calculate how many bytes of data in a hex string * @strlen: the length of the string (with or without NUL) * * Example: * const
ccan/ccan/str/hex/hex.h:69
↓ 14 callers
Function
hex_encode
ccan/ccan/str/hex/hex.c:51
↓ 14 callers
Function
hex_str_size
* hex_str_size - Calculate how big a nul-terminated hex string is * @bytes: bytes of data to represent * * Example: * unsigned char buf[] = { 0x1F
ccan/ccan/str/hex/hex.h:54
↓ 14 callers
Method
is_in_stderr
Look for `regex` in stderr.
contrib/pyln-testing/pyln/testing/utils.py:350
↓ 14 callers
Function
linearize_wtx
bitcoin/tx.c:440
↓ 14 callers
Function
map_be16
common/gossmap.c:137
↓ 14 callers
Function
memleak_ptr
common/memleak.c:88
↓ 14 callers
Method
msat
Returns the msat value as `u64`. Is the inner value of `Msat`.
plugins/lsps-plugin/src/proto/lsps0.rs:92
↓ 14 callers
Method
multifundchannel
Fund channels to an array of {destinations}, each entry of which is a dict of node {id} and {amount} to fund, and optionally
contrib/pyln-client/pyln/client/lightning.py:1098
↓ 14 callers
Function
new_error
common/splice_script.c:273
↓ 14 callers
Function
payment_cmd
Only root has a non-NULL cmd ptr */
plugins/libplugin-pay.c:73
↓ 14 callers
Function
peer_read
common/peer_io.c:18
↓ 14 callers
Function
plugin_feature_set
plugins/libplugin.c:417
↓ 14 callers
Function
psbt_finalize
bitcoin/psbt.c:779
↓ 14 callers
Method
splice_signed
Initiate a splice
contrib/pyln-client/pyln/client/lightning.py:1318
↓ 14 callers
Function
subkey_from_hmac
common/hmac.c:38
↓ 14 callers
Function
timers_expire
Returns an expired timer. */
ccan/ccan/timer/timer.c:340
↓ 14 callers
Function
towire_u32
wire/towire.c:30
↓ 14 callers
Method
unreserveinputs
Unreserve (or reduce reservation) on any UTXOs in this psbt were previously reserved.
contrib/pyln-client/pyln/client/lightning.py:1589
↓ 14 callers
Function
wally_tx_output_get_amount
FIXME(cdecker) Make the caller pass in a reference to amount_asset, and * return false if unintelligible/encrypted. (WARN UNUSED). */
bitcoin/tx.c:821
↓ 14 callers
Function
wire_sync_read
wire/wire_sync.c:22
↓ 13 callers
Function
amount_msat_min
min(a,b) and max(a,b) */
common/amount.h:176
↓ 13 callers
Function
amount_msat_ratio
common/amount.c:558
↓ 13 callers
Method
as_str
If the `Value` is a String, returns the associated str. Returns None otherwise.
plugins/src/options.rs:497
↓ 13 callers
Function
aux_command_done
plugins/libplugin.c:2669
↓ 13 callers
Function
channel_scid_or_local_alias
lightningd/channel.c:1303
↓ 13 callers
Function
channel_set_owner
lightningd/channel.c:21
↓ 13 callers
Function
channel_type_has
common/channel_type.c:76
↓ 13 callers
Function
channel_type_static_remotekey
BOLT #2: * Channel types are an explicit enumeration: for convenience of future * definitions they reuse even feature bits, but they are not an * a
common/channel_type.c:33
↓ 13 callers
Function
child_log
plugins/askrene/child/child_log.c:27
↓ 13 callers
Function
clone_psbt
bitcoin/psbt.c:37
↓ 13 callers
Function
coinmvt_current_time
This puts the coin movements in order */
common/coin_mvt.c:159
↓ 13 callers
Function
db_bind_talarr
db/bindings.c:258
↓ 13 callers
Method
execute
Execute a single statement with bound params. Placeholders: '?
contrib/pyln-testing/pyln/testing/db.py:54
↓ 13 callers
Function
fromwire_bigsize
common/bigsize.c:104
↓ 13 callers
Function
fromwire_u16
Generated stub for fromwire_u16 */
common/test/run-features.c:64
↓ 13 callers
Function
hsmd_status_failed
hsmd/hsmd.c:678
↓ 13 callers
Function
htlc_state_flags
common/htlc_state.c:163
↓ 13 callers
Function
is_v2
plugins/spender/multifundchannel.c:91
↓ 13 callers
Function
json_out_finished
ccan/ccan/json_out/json_out.c:347
↓ 13 callers
Function
json_to_number
common/json_parse.c:58
↓ 13 callers
Function
jsonrpc_request_end
lightningd/jsonrpc.c:1599
↓ 13 callers
Function
jsonrpc_request_sync
plugins/bkpr/test/run-recorder.c:467
↓ 13 callers
Method
kill
Kill process without giving it warning.
contrib/pyln-testing/pyln/testing/utils.py:281
↓ 13 callers
Method
listforwards
List all forwarded payments and their information matching forward {status}, {in_channel} and {out_channel}.
contrib/pyln-client/pyln/client/lightning.py:975
↓ 13 callers
Method
openchannel_bump
Initiate an RBF for an in-progress open
contrib/pyln-client/pyln/client/lightning.py:1240
↓ 13 callers
Function
parse_amount_sat
Valid strings: * [0-9]+ => satoshi. * [0-9]+sat => satoshi. * [0-9]+000msat => satoshi. * 0msat => 0 satoshi * [0-9]+.[0-9]{1,8}btc => satos
common/amount.c:234
↓ 13 callers
Method
plugin_stop
Stops a lightningd plugin, will fail if plugin is not dynamic.
contrib/pyln-client/pyln/client/lightning.py:1365
← previous
next →
401–500 of 16,249, ranked by callers