| 18 | }; |
| 19 | |
| 20 | static 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 | |
| 27 | static struct node_announcement *decode(const tal_t *ctx, const void *p) |
| 28 | { |
nothing calls this directly
no outgoing calls
no test coverage detected