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

Function encode

tests/fuzz/fuzz-wire-node_announcement.c:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18};
19
20static void *encode(const tal_t *ctx, const struct node_announcement *s)
21{
22 return towire_node_announcement(ctx, &s->signature, s->features,
23 s->timestamp, &s->node_id, s->rgb_color,
24 s->alias, s->addresses, s->tlvs);
25}
26
27static struct node_announcement *decode(const tal_t *ctx, const void *p)
28{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected