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

Function encode

tests/fuzz/fuzz-wire-peer_storage_retrieval.c:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9};
10
11static void *encode(const tal_t *ctx, const struct peer_storage_retrieval *s)
12{
13 return towire_peer_storage_retrieval(ctx, s->blob);
14}
15
16static struct peer_storage_retrieval *decode(const tal_t *ctx, const void *p)
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected