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

Function fromwire_secrets

common/derive_basepoints.c:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void fromwire_secrets(const u8 **ptr, size_t *max, struct secrets *s)
20{
21 fromwire_privkey(ptr, max, &s->funding_privkey);
22 fromwire_secret(ptr, max, &s->revocation_basepoint_secret);
23 fromwire_secret(ptr, max, &s->payment_basepoint_secret);
24 fromwire_secret(ptr, max, &s->delayed_payment_basepoint_secret);
25 fromwire_secret(ptr, max, &s->htlc_basepoint_secret);
26}
27
28struct keys {
29 struct privkey f, r, h, p, d;

Callers

nothing calls this directly

Calls 2

fromwire_privkeyFunction · 0.85
fromwire_secretFunction · 0.85

Tested by

no test coverage detected