MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fromwire_secrets

Function fromwire_secrets

common/derive_basepoints.c:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void fromwire_secrets(const u8 **ptr, size_t *max, struct secrets *s)
21{
22 fromwire_privkey(ptr, max, &s->funding_privkey);
23 fromwire_secret(ptr, max, &s->revocation_basepoint_secret);
24 fromwire_secret(ptr, max, &s->payment_basepoint_secret);
25 fromwire_secret(ptr, max, &s->delayed_payment_basepoint_secret);
26 fromwire_secret(ptr, max, &s->htlc_basepoint_secret);
27}
28#else /* !DEVELOPER */
29/* Generate code refers to this, but should never be called! */
30void towire_secrets(u8 **pptr, const struct secrets *s)

Callers

nothing calls this directly

Calls 3

fromwire_privkeyFunction · 0.85
fromwire_secretFunction · 0.85
abortFunction · 0.85

Tested by

no test coverage detected