Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fmt_secret
Function
fmt_secret
bitcoin/privkey.c:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
}
15
16
char *fmt_secret(const tal_t *ctx, const struct secret *secret)
17
{
18
return tal_hexstr(ctx, secret, sizeof(*secret));
19
}
20
21
bool secret_eq_consttime(const struct secret *a, const struct secret *b)
22
{
Callers
15
guess_to_remote
Function · 0.85
derive_to_remote
Function · 0.85
handle_their_cheat
Function · 0.85
penalty_tx_create
Function · 0.85
check_current_dataloss_fields
Function · 0.85
main
Function · 0.85
peer_accepted_htlc
Function · 0.85
peer_got_revoke
Function · 0.85
enctlv_from_encmsg_raw
Function · 0.85
blindedpath_get_alias
Function · 0.85
onion_message_parse
Function · 0.85
main
Function · 0.85
Calls
1
tal_hexstr
Function · 0.85
Tested by
2
main
Function · 0.68
main
Function · 0.68