MCPcopy 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
16char *fmt_secret(const tal_t *ctx, const struct secret *secret)
17{
18 return tal_hexstr(ctx, secret, sizeof(*secret));
19}
20
21bool secret_eq_consttime(const struct secret *a, const struct secret *b)
22{

Callers 15

guess_to_remoteFunction · 0.85
derive_to_remoteFunction · 0.85
handle_their_cheatFunction · 0.85
penalty_tx_createFunction · 0.85
mainFunction · 0.85
peer_accepted_htlcFunction · 0.85
peer_got_revokeFunction · 0.85
enctlv_from_encmsg_rawFunction · 0.85
blindedpath_get_aliasFunction · 0.85
onion_message_parseFunction · 0.85
mainFunction · 0.85

Calls 1

tal_hexstrFunction · 0.85

Tested by 2

mainFunction · 0.68
mainFunction · 0.68