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

Function readx

gossipd/compactd.c:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27static size_t readx(int fd, void *p, size_t len)
28{
29 if (!read_all(fd, p, len))
30 err(1, "Could not read old gossip_store");
31 return len;
32}
33
34static size_t skipx(int fd, size_t len)
35{

Callers 2

copy_recordsFunction · 0.85
mainFunction · 0.85

Calls 2

read_allFunction · 0.85
errFunction · 0.85

Tested by

no test coverage detected