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

Function towire_secret

bitcoin/privkey.c:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void towire_secret(u8 **pptr, const struct secret *secret)
32{
33 towire(pptr, secret->data, sizeof(secret->data));
34}
35
36void fromwire_secret(const u8 **cursor, size_t *max, struct secret *secret)
37{

Callers 5

towire_privkeyFunction · 0.85
towire_added_htlcFunction · 0.85
towire_secretsFunction · 0.85

Calls 1

towireFunction · 0.50

Tested by

no test coverage detected