Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
static 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
34
static size_t skipx(int fd, size_t len)
35
{
Callers
2
copy_records
Function · 0.85
main
Function · 0.85
Calls
2
read_all
Function · 0.85
err
Function · 0.85
Tested by
no test coverage detected